-
Notifications
You must be signed in to change notification settings - Fork 31k
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
Resolving modules and Intellisense Autocompletion pretty slow #27539
Comments
Maybe it is, because our Project has about 550 Files in 120 Folders? (excluding all folders mentioned above) |
We have a similar problem as well. We have ~900 folders with ~3900 files. Here is the tsconfig.json we are using:
I often see "Loading..." while module path is being resolved. Even when path is resolved (displayed as tooltip/quickinfo), |
To investigate what is causing this slowdown, please try collecting the typescript server log:
Each request to the tsserver should have timing information. Look for the
|
Thanks for the response! Made the server log executing only the issued problem. The here is my logfile. thanks for taking time for it :) |
I'm getting a similar effect with only 2 files in the project, one of which is a module that exports a big array, and the second file imports this module. At first after Code starts everything is fine, but then autocompletion becomes increasingly slow. This project and the logs can be found here. Might be a good isolated illustration of the issue. vscode: 1.13.0-insider f977399 |
I was trying to debug typescript server over the weekend but oss version didn't load builtin extensions nor let me install chrome debugger to debug typescript server. Is there an argument I need to pass in to enable extensions in dev? |
This issue was moved to microsoft/TypeScript#16329 |
Resolving modules and Intellisense Autocompletion in our Project takes a long time...
Maybe this problem is a result of using absolute paths.
Here is our
jsconfig.json
of the project:Can i somehow debug which directories VSCode is resolving to find my correct file.
And is there maybe a way to cache this resolved pathy specific for this IDE on my Client... to make the IDE not search my Filesystem every time - or do you plan on make this in the future
The text was updated successfully, but these errors were encountered: