-
Notifications
You must be signed in to change notification settings - Fork 13.2k
Closed
Labels
Needs InvestigationThis issue needs a team member to investigate its status.This issue needs a team member to investigate its status.
Milestone
Description
When you Alt-Enter on an unimported name, VSCode will offer to add the import if it can. In a monorepo situation, you'll likely have TypeScript aliases pointing to the thing you want to import from. VSCode lists these aliases, which is great, but it also lists the arbitrarily long possible relative import paths.
I know this is a small request, but VSCode should prioritize the shortest import path / the aliased path with regards to sorting the items in the context menu. That way the aliased import can be added by hitting enter at that context menu. It's a small quality-of-life issue that I run into hundreds of times a day it feels like.
Thanks so much for considering this request.
Metadata
Metadata
Assignees
Labels
Needs InvestigationThis issue needs a team member to investigate its status.This issue needs a team member to investigate its status.