-
Notifications
You must be signed in to change notification settings - Fork 29.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 busy building symbols and stops the auto complete from working #14848
Comments
Not quite sure who is the owner but see @joaomoreno had perf fix for #1923 so assign to him first. |
The problem that was in the previous issue has not reappeared, the big test file loads all the intellisense symbols quickly. I did some profiling and it seems that for the most part VSCode just hangs idle |
It would be great to know which extension you refer to. This is very likely an issue for that extension. |
@joaomoreno The C/C++ microsoft extension and the Don Jayamanne Python extension both get stuck loading symbols, used on the same project |
Do they get stuck also when used exclusively? Disable one, try the other. And vice versa. |
@joaomoreno Yes they do get stuck when installed exclusively. Regardless of having just the C++ or just Python extension the auto complete/symbol building is stuck. However with 1.7 the building of the symbols still takes years, but the symbols are no longer lost on each editor change. |
@jrieken Any thoughts on this? |
@DIMITARTASEV When you say |
I'm sorry for not being more clear, by I had the same problem yesterday on a small project as well, just a few files, with the same two extensions (both installed at the same time and each one individually) |
This seems to be less of an issue in Windows now, as on Windows all the symbols are usually kept after being built (even though that still takes a while). On Ubuntu 14.04 however the issue persists and the symbols keep being lost, making the default visual studio auto complete unusable |
@DIMITARTASEV Is it possible to show us a screencast recording of the behaviour you observe? |
I'll try and have a screencast done and up over the weekend at the latest! |
The C++ extension works on Windows now, it takes a bit to build symbols, but afterwards they are kept. The Python extension doesn't finish building symbols, leaving me to think that the issue is related to the extensions. On Linux both extensions fail to build the symbols and block any auto-complete until that has happened (if it ever finishes). I'm closing this issue until I have a recording so I can show you the behaviour. |
If anyone happens upon a similar problem, look into your extensions and find if they have specific directories to be Setting those up could help them process your project faster. Watch out for including big directories as they might just parse them recursively (the C/C++ extension), in that case it's better to specify the specific folders containing the C/C++ files. In the Python extension, you can exclude those big directories from being parsed. Hope that helps. |
Hello, I've been having issues with using an extension that builds symbols. I can replicate the issue with both the official C++ and Python extensions.
Some info about the project:
Regardless of extension, the auto complete is stuck on
Loading...
most of the time, I imagine that is because the symbols are being built? The symbols also seem to be lost on editor change, resulting in another ~30sec symbol building.However Reloading the window from the command prompt actually refreshes all the symbols and auto complete and builds/loads them in nearly instantly.. until the editor is changed again.
I am not sure whether this is an extension specific issue, however getting exactly the same problem with 2 completely different extension leads me to believe that there could be a deeper problem in VSCode.
I'll provide any additional info you want if I can.
Steps to Reproduce:
The text was updated successfully, but these errors were encountered: