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

Auto-Import does not work for multi-root workspace #84

Closed marcelh-gh closed 6 years ago

marcelh-gh commented 6 years ago

Hi, are there any prerequisites? Even in a super simple new multi-root workspace with just two files in two root folders (one export, the other with the supposed import) it does not work for me. Cheers, Marcel

marcelh-gh commented 6 years ago

TypeScript 2.7.2 VS Code 1.21.0 Auto-Import 1.5.3

marcelh-gh commented 6 years ago

@soates Hi, my assumption is that 'multi-root workspace' ready means that Auto-Import searches for imports in all root folders of a workspace. Is that correct? Thanks, Marcel

alphacat2018 commented 4 years ago

@marcelh-gh hey, I have exactly the same problem here. Have you found the solution? Thanks.