Skip to content

Prefer local auto-imports over those from external modules #61617

Open
@shoooe

Description

@shoooe

Does this issue occur when all extensions are disabled?: Yes

  • VS Code Version: 1.99.3 (commit: 17baf841131aa23349f217ca7c570c76ee87b957)
  • OS Version: Darwin arm64 23.6.0

Steps to Reproduce:

  1. Have a file named ./components/anchor.tsx that exports a Anchor component
  2. Install lucide-react as well
  3. Write <Anchor /> in any file
  4. Click "Quick fix" icon
  5. Notice auto import prefers lucide-react over local Button

Seems to be a regression of a regression. Related issue here: microsoft/vscode#42104

Image

Metadata

Metadata

Assignees

Labels

Needs InvestigationThis issue needs a team member to investigate its status.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions