-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Ensure language server is not blocked on discovery in the first session #18671
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
Comments
Friendly ping on when this might be slated for development? My team of 200 hits this every morning and at lunch when we come back to our IDEs |
Unfortunately we haven't been able to prioritize it yet partly as it didn't get enough upvotes. Does the VSIXs provided in #18200 serve as a workaround? |
It'll have much more chances of being prioritized yes.
You can follow https://stackoverflow.com/a/63831525/8152786 to stop auto-updates for the Python extension. |
|
#18647 received enough upvotes as well and could work for you. |
This is now only a problem the first time a scope is opened, so could be an issue for the 1d users. |
Sorry for the delay in getting back to you. Running v2022.9.11681004, I still have the same problem as I originally reported, the "Discovering Python Interpreters" with a spinning icon runs and during this time no language features are available (such as click to go to definition or syntax highlighting). Like before, the output terminal has logs like |
Do you have Jupyter extension installed? Note that still needs to be disabled. |
Ah! Amazing I disabled Jupyter extension and now it is instant, thanks! |
If discovery takes a long time (#18200), it seems language server is not started until it has finished, even though it is not "blocked" on discovery NodeJS-wise. This prevents users from using the most basic features like the indexer, so they can't click through functions, variable definitions, etc.
In #18200 the user is blocked for about 15 mins, files are also on a shared network drive.
As language server activations takes less time, I think we can afford to postpone triggering discovery until after it has started. FYI @kimadeline as you're working on the new design to activate/deactivate language servers 🙂
cc/ @karthiknadig
The text was updated successfully, but these errors were encountered: