-
Notifications
You must be signed in to change notification settings - Fork 29.8k
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
Intellisense Extremely Slow #53541
Comments
Seeing this after updating from 1.24.1 to 1.25.0 on Mac. Downgrading to 1.24.1 fixes it. |
I have same issue after updating to 1.25.0 on Mac. |
I have same issue after updating to 1.25.0 on Window. Try to downgrade VSCode |
Using VS Code insiders, 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
|
Same behaviour here. Intellisense is fast immediately after restart, but after a while (30 minutes or so, maybe less) I always have to press Windows 10 |
Same here on Windows 10, v1.25.1. Co-workers experiencing the same thing. Possibly the same issue, but it also hangs when we press F12 (Go to definition) in our Typescript project. Takes anywhere up to 30s to find. I'm going to try downgrading to 1.24.1 until this is resolved as 1.25.1 is unusable at the moment. (For anyone else struggling to find the 1.24.1 Windows x64 download). From Logs:
Not sure if relevant, but every time I open a file in the editor, the logs say that ~661 files are affected. I'm not sure if this is normal? |
I can confirm this, however in my project it's 1171 files. And as far as I can see it's not just once per file … I opened my project workspace, opened one file and then CTRL+clicked on a class to navigate to another file. Here's the complete log file: The project I used is this one: https://github.com/luchsamapparat/cfha-client Another thing I've noticed: I have these performance issues in all my Angular projects, however another Node.js project is as fast as it can get. Also: All my colleagues experience the same performance issues (at least the Windows users). And disabling all extensions didn't help. |
We are experiencing extremely slow intellisense in our projects (Angular projects). Steps to reproduce:
This slows down our development immensely. Following lines always appear in the
What I find irritating is that Typescript scans Also notice the The whole process took over 10 seconds and that is after I freshly restarted VSCode. I am running on VSCode - Insiders build as well as |
Is there anything else I can provide to investigate this issue? I see a lot of other Performance issues being closed due to inactivity/missing feedback from the original poster. However, I have this problem since at least the last 2 major releases and it is the same for a couple of colleagues of mine. |
@luchsamapparat What TS version are you using? That log you uploaded is using TypeScript 2.7.2. Do you see this when using TypeScript 3.0.1? |
@mjbvz Here's an updated tsserver.log für TS 3.0.1. It does not feel significantly faster. It still takes way to long to even CTRL+Click on symbols defined in the same file. Thanks for looking into this |
@joostme and @luchsamapparat can you both please open new issues against typescript with those server logs: https://github.com/Microsoft/TypeScript/issues/new?template=Bug_report.md From the logs, I see that initial project load takes ~20 second and don't think this caused by VS Code |
@mjbvz I am now more confused than ever. It appears, that there are several causes for the performance issues. In my initial post, I said that the problem also persists when deactivating all extensions. Now, with the latest VS Code as well as TypeScript version, the initial load time is indeed still slow. However, after that all further code navigation is severely slowed down by the Angular Language Service. When deactivating that extension, it's as fast as it has been months ago. I'll open a bug report against typescript regarding the initial load time, and one against the Angular Language Service regarding the other performance issues. Thanks for your assistance 👍 |
@bladnman Does what @luchsamapparat describe also cover your original issue? |
This issue has been closed automatically because it needs more information and has not had recent activity. See also our issue reporting guidelines. Happy Coding! |
disabling heavy extensions solves problem for me. |
In an angular project context, for me too deactivation of the extension
=> Did you do it? i don't see any issue linked to this github issue. Can you reference it please? i may try to fix the extension my self. edit: i found this issue we can use it i guess angular/vscode-ng-language-service#44 |
Steps to Reproduce:
Does this issue occur when all extensions are disabled?: Yes
I have seen many other issues here opened about this problem but they all seem to get closed in some way or another. I cannot be the only one experiencing the broken-ness of Intellisense.
I am working in a JavaScript project that is not small on a very strong machine. When I first launch VSC if I let the editor rest a bit (perhaps index reading, not sure) then Intellisense works very well. After a bit of work in the editor (sometimes immediately but often a few minutes of bliss) the dreaded
loading...
indicator is all I get. I can wait from anywhere between 30s and 90s and the window does eventually appear. It's worth saying this is not progressive -- meaning once it goes south it never takes less than 30s.During this time there are not other large processes running to spike the CPU. This seems to really be within VSC itself.
It is also worth noting that there are times when if I let it complete it's loading cycle it starts working at normal speed again for a bit. This usually does not last long (2m) but it does happen.
I am willing to get the "intelli" part disabled if at least macros and auto-complete for local values worked. Any way to limit what it was trying to look through to present the feature.
The text was updated successfully, but these errors were encountered: