Skip to content

The typescript source.addMissingImports code action always using type keyword and doesn't respect the settings: preferTypeOnlyAutoImport #272479

@hansyulian

Description

@hansyulian

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

  • VS Code Version: 1.105.1
  • OS Version: Windows 11 25H2

Steps to Reproduce:

  1. Just make one of the import gone
  2. Then use the command to auto import
  3. It always import with type no matter what and doesn't respect the setting

Metadata

Metadata

Assignees

Labels

bugIssue identified by VS Code Team member as probable bughelp wantedIssues identified as good community contribution opportunitiesinsiders-releasedPatch has been released in VS Code InsiderstypescriptTypescript support issues

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions