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"]
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"]