-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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 under Jedi is very slow when virtualenv folder is present in workspace folder on Windows #3074
Comments
You should be able to exclude files using the We're also working to upgrade Jedi in #2667 which may help in this situation. |
Did you open the virtual environment as your workspace folder? Basically the entire team works with having a virtual environment locally in the workspace folder and we have not noticed a specific slow-down or performance issue. |
Because we have not heard back with the information we requested, we are closing this issue for now. If you are able to provide the info later on then we will be happy to re-open this issue to pick up where we left off. |
Environment data
Actual behavior
Intellisense is very slow, waiting like 30s for autocompletion on class method, etc., when virtualenv (python -m venv ve) is created in workspace folder.
The symptomps are very similar to #1810
Expected behavior
Intellisense works with reasonable response time.
Note: I have verified that when I create virtualenv outside the workspace folder and set
python.pythonPath
accordingly, it is reasonably fast.Steps to reproduce:
Ensure Jedi is enabled in User Settings.
Create virtualenv in the workspace folder.
python -m venv ve
Set virtualenv's Python in
python.pythonPath
.Try to get autocompletion on anything, like dictionary method, in a small script (270 LOC in my case).
Note
A nice workaround / solution would be some setting for Jedi to skip selected folders for intellisense
/ autocomplete analysis.
The text was updated successfully, but these errors were encountered: