soates / Auto-Import

vscode extension that will automatically finds, parses and provides code actions for all available imports. Only currently works with files in your folder and TypeScript.
MIT License
165 stars 62 forks source link

Always picks first option #28

Open jgoz opened 8 years ago

jgoz commented 8 years ago

VSCode 1.7.0, Auto Import 1.2.2, Windows 10

When multiple options are available for imports, the first one will be inserted regardless of which one you pick.

soates commented 8 years ago

That sucks, ill take a look into it!

thanks for reporting :)

danielbarla commented 8 years ago

Great work on the extension. I can confirm that this problem exists on version 1.2.2 of the extension (with VSCode 1.7.2). Unfortunately it seems that with the current Ionic 2 templates, it's almost always a duplicate class from a /tmp/ folder which shows up, meaning that almost every import needs to be fixed by hand. (Still less work than typing it by hand! :))