-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Support dynamic changes of search paths in language server #2395
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
Can you provide more details on repro and what is expected? Thanks |
Sorry, I think I talked too fast. The path for one of the packages I keep in my I think this can be closed, although it would be nice if changes to |
Ah, that is true. LS needs to be restarted when search paths change (Reload Window command is sufficient). I will rename the issue instead. |
This is actually the behaviour I am currently seeing. |
Hello, Is it possible to make this dynamic behaviour not only for searching for paths in the settings, but also for checking for any changes in tha packages specified by This behaviour is normal in the namespace of the project (it checks any changes in the current package and updates dynamically), is it possible to extend this functionality to the packages defined in the Or just have some command to "refresh" the informations for selected packages, since the reloading whole vscode takes too long? I hope I made myself clear, feel free to ask any additional questions if you didn't understand me what I've meant exactly. Thank you very much |
Should be addressed by microsoft/python-language-server#1492 |
Closing as this has been resolved upstream. |
Environment data
Actual behavior
I have a list of Python packages that are not installed in
site-packages
underpython.autoComplete.extraPaths
. Jedi uses those paths to provide completions. The new LS does not seem to recognise them. I also get IntelliSense linter warnings when importing those packages, which doesn't happen with Jedi.Expected behavior
The LS should treat the packages under
python.autoComplete.extraPaths
as if they were normally installed libraries.The text was updated successfully, but these errors were encountered: