-
Notifications
You must be signed in to change notification settings - Fork 12.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
No auto imports in new JavaScript file #36611
Comments
There are a lot of overlapping reasons why this is happening:
|
Maybe support a lookup file on both JS and TS repositories? So that VSCode can just scan an installed repo for say definitions.js or definitions.ts which would be a function/class list which would point to a file where that function/class resides for loading on demand both the comment if available and the function/class name & params it takes if not? This would become a file that sits at repo root with package.json and npm.ignore etc My aftc-modules package is just JS at the moment no TS version available (yet) but I'm not sure how to remedy this to work for VSCode other than to manually still get the include working. RE: VSCode remembering the include when open in another file. |
@DarceyLloyd you can add a |
TS Template added by @mjbvz
TypeScript Version: 3.8.0-dev.20200201
Search Terms
Steps to Reproduce:
I've also posted on, to see if it's something other than VSCode:
https://stackoverflow.com/questions/60063424/vscode-autoimport-setup-configuration-enhancement
The text was updated successfully, but these errors were encountered: