auto import with tsconfig alias paths to node_modules #51058
Labels
Domain: Auto-import
Experience Enhancement
Noncontroversial enhancements
Help Wanted
You can do this
Suggestion
An idea for TypeScript
Milestone
Does this issue occur when all extensions are disabled?: Yes
1.71.2
Windows 11
Steps to Reproduce:
Configure a tsconfig.json which has alias paths to node_modules
Try to import an existing file under the alias in node_modules
The autocomplete would prefer to use the
my-library
as a package instead of the shorter alias path, for example it would suggest:But it will not suggest:
although that alias works perfectly fine when adding it manually.
The text was updated successfully, but these errors were encountered: