Settings "python.autoComplete.extraPaths" support GLOB wildcard
See original GitHub issueWe use a local eggs folder for each projects which stores all the dependencies for that project. However when I specify the path to this eggs folder, autocomplete does not recognize the underlying packages folders (unless I specify each one manually). This can be solved by GLOB pattern/wildcard support.
for example this is what I specify that works:
"python.autoComplete.extraPaths": [ "${workspaceFolder}/src", "${workspaceFolder}/eggs/pycparser-2.19-py2.7.egg", "${workspaceFolder}/eggs/asn1crypto-0.24.0-py2.7.egg", "${workspaceFolder}/eggs/ipaddress-1.0.22-py2.7.egg"]
And this doesn’t work:
"python.autoComplete.extraPaths": [ "${workspaceFolder}/src", "${workspaceFolder}/eggs"]
Issue Analytics
- State:
- Created 4 years ago
- Comments:7 (4 by maintainers)
Top Results From Across the Web
VSCode settings for Pylance - Stack Overflow
Pylance uses python.analysis.extraPaths as opposed to python.autoComplete.extraPaths . { "python.analysis.extraPaths": [ "*.lib" ] }.
Read more >Path Autocomplete - Visual Studio Marketplace
Provides path completion for visual studio code. demo gif. Features. it supports relative paths (starting with ./); it supports absolute path to ...
Read more >Full Listing of Options and Their Descriptions - Flake8
Show a description of how to use Flake8 and its options. ... This option supports syntax similar to --exclude such that glob patterns...
Read more >ca6cf1064ba46aa94a1a50f141c...
Atftpd also support multicast protocol knowed as mtftp, defined in the PXE ... control groups. https://pypi.python.org/pypi/cgroup-utils/0.6 GPLv2 VMware, ...
Read more >Read Bash programming from scratch | Leanpub
Z3 computer uses two input devices in parallel for supporting programs. ... A glob pattern is a search query that contains wildcard characters....
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
No, they’re import roots, glob patterns wouldn’t make sense. This issue doesn’t actually mention globs anywhere but the title and the poster said that it was fixed in a comment: https://github.com/microsoft/python-language-server/pull/1183#issuecomment-504731707
Thanks for the suggestion but we’re not going to do this for now