-
Notifications
You must be signed in to change notification settings - Fork 12.5k
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
vscode enters into "Initializing JS/TS Language Services" loop in our repo #53574
Comments
I tried the insider build (1.77.0-insider) with all extensions disabled now; when I open a JS file it enters "the loop". The loop eats up the memory VS Code version: Code - Insiders 1.77.0-insider (b9226e1ccc11625bcb42b55efb795e07ee533bb0, 2023-03-24T18:37:48.499Z) System Info
A/B Experiments
|
Please try collecting the TS Server log:
Look through that log file for errors or stack traces. If you can share the log, I can also take a look to see if anything stands out
|
thanks, I am enabling the verbose logging and will provide the output |
vscode enters into "Initializing JS/TS Language Services" loop in our repo and this slows things down and I am reloading the window or restarting the TS server every 15 minutes or so
Does this issue occur when all extensions are disabled?: Yes
Steps to Reproduce:
Unfortunately, it is not possible to provide a way for you to reproduce this issue as it requires a big monorepo as we have and I can't share our repo as it would mean exposing the client's IP.
However, I'd be more than happy to share non IP info on our repo that would lead us to find the cause of this issue. Here is some initial info;
Here is our tsconfig files;
<repo-root>/tsconfig.base.json
: this file includes the base settings, the other tsconfig files extend this config file.<repo-root>/tsconfig.json
: this is the root tsconfig file that extends tsconfig.base.json and references the lib tsconfig filesin each library we have;
<library-root>/tsconfig.json
: extendstsconfig.base.json
and references<library-root>/tsconfig.json
and<library-root>/tsconfig.spec.json
and sometimes tsconfig file in the /.storybook folder<library-root>/tsconfig.lib.json
: includes the actual source files and excludes the files that are supposed to be included by other tsconfig.json files within the library<library-root>/tsconfig.spec.json
: includes the test files and excludes the files that are supposed to be included by the other tsconfig.json files within the libraryIf you wish to see some diagnostic outputs or logs, please direct me to them so I can share them with you
The text was updated successfully, but these errors were encountered: