You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Pylance is taking a lot of time to analyze the code, and I am getting notifications to raise the issue, which redirects me here. I am using vscode (Version: 1.93.1) on a remote Linux cluster. The yml file for conda environments is attached as well (It is in the .txt format since uploading a .yml file was not allowed).environment.txt
Expected behavior
Till last month, the pylance has been working great, and I have had no issues. However, after some extension updates, the behavior is very slow and takes a long time to analyze even a few lines of code. The logs presented are for a small code with less than 100 lines of code, but this behavior is consistent across different conda environments (with different Python versions) and different files.
I tried reinstalling the vscode and the extension, but it did not resolve anything. Apologies if I am something trivial.
Thanks for reaching out. Since you started experiencing slow operations after recent updates, this could be related to the new language server mode setting we introduced recently. The default mode for this setting is default, and you can find the default settings for each mode here.
Based on the logs you provided, it seems analyzing file:///home/darve/apoorv1/DA4Dunes/Core/Utils.py is taking long time. Did you also see the long operation in previous versions? If not, it is possible that some settings were enabled, which triggers more in-depth analysis.
Environment data
Code Snippet
Repro Steps
Expected behavior
Till last month, the pylance has been working great, and I have had no issues. However, after some extension updates, the behavior is very slow and takes a long time to analyze even a few lines of code. The logs presented are for a small code with less than 100 lines of code, but this behavior is consistent across different conda environments (with different Python versions) and different files.
I tried reinstalling the vscode and the extension, but it did not resolve anything. Apologies if I am something trivial.
Actual behavior
XXX
Logs
The text was updated successfully, but these errors were encountered: