question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Settings "python.autoComplete.extraPaths" support GLOB wildcard

See original GitHub issue

We 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:closed
  • Created 4 years ago
  • Comments:7 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
jakebaileycommented, Jun 24, 2019

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

0reactions
luabudcommented, Jul 2, 2019

Thanks for the suggestion but we’re not going to do this for now

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found