Skip to content

Settings "python.autoComplete.extraPaths" does not look into internal folders unless specifically specified #6551

@r-bit-rry

Description

@r-bit-rry

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).

for example this is what I specify that works, it is configured in the workspace settings json:
"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"]

using latest daily python language server version 0.3.22 and vscode 1.36.1

Metadata

Metadata

Assignees

No one assigned

    Labels

    area-intellisenseLSP-related functionality: auto-complete, docstrings, navigation, refactoring, etc.feature-requestRequest for new features or functionality

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions