Support dynamic changes of search paths in language server
See original GitHub issueEnvironment data
- VS Code version: 1.27.0-insiders
- Extension version (available under the Extensions sidebar): 2018.8.0-alpha
- OS and version: 10.14
- Python version (& distribution if applicable, e.g. Anaconda): 3.7.0
- Type of virtual environment used (N/A | venv | virtualenv | conda | …): N/A
- Relevant/affected Python packages and their versions: N/A
Actual behavior
I have a list of Python packages that are not installed in site-packages
under python.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.
Issue Analytics
- State:
- Created 5 years ago
- Reactions:1
- Comments:7
Top Results From Across the Web
Language Server Protocol Specification - 3.17
This document describes the 3.17.x version of the language server protocol. ... that a client needs to support is 'i' to specify a...
Read more >VSCode JSON Language Server - GitHub
The JSON language server supports requests on documents of language id json and jsonc . json documents are parsed and validated following the...
Read more >Language Server Extension Guide - Visual Studio Code
Learn how to create Language Servers to provide rich language features in Visual Studio Code.
Read more >Extending a client with the language server protocol
There is currently no support for binary documents. So, we can only use the LSP with text-based files. Hence the name text documents....
Read more >Directory and Search Path Preferences
This section describes the preferences for directories and search paths. ... searches for include files and programs written in the IDL language (.pro...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Ah, that is true. LS needs to be restarted when search paths change (Reload Window command is sufficient). I will rename the issue instead.
Closing as this has been resolved upstream.