NuclleaR / vscode-extension-auto-import

Automatically finds, parses and provides code actions and code completion for all available imports. Works with JavaScript and TypeScript.
MIT License
31 stars 14 forks source link

imports are being added with \ instead of / for path separator #31

Open gregveres opened 4 years ago

gregveres commented 4 years ago

I just installed this plug and the first time I used it, it added this import:

import { AppearanceService } from 'src\api\Services\AppearanceController';

notice the wrong kind of path separators. I am running on windows, but those separators need to be /, not . I don't see a config option to change that. I must have done something wrong when I installed it or something. I would have thought that everybody would be pointing this out.

gregveres commented 4 years ago

Never mind. I see that this extension has been abandoned and that VS code supports this natively now. I uninstalled this extension and noticed that auto import works as expected.