Skip to content

python.autoComplete.extraPaths does not appear to be working #1462

@brettcannon

Description

@brettcannon

Environment data

  • VS Code version: insiders
  • Extension version (available under the Extensions sidebar): master
  • OS and version: Windows 10
  • Python version (& distribution if applicable, e.g. Anaconda): CPython 3.7.0b3
  • Type of virtual environment used (N/A | venv | virtualenv | conda | ...): venv
  • Relevant/affected Python packages and their versions: N/A

Actual behavior

No auto-complete for a file only found through python.autoComplete.extraPaths

Expected behavior

Auto-complete.

Steps to reproduce:

  1. Create a ~/Desktop/extras folder.
  2. Create a file named foobar.py in that folder containing def spam(): pass
  3. Set python.autoComplete.extraPaths to point to the extras folder
  4. import foobar; foobar. should have spam in its completion list.

Logs

Output for Python in the Output panel (ViewOutput, change the drop-down the upper-right of the Output panel to Python)

None

Output from Console under the Developer Tools panel (toggle Developer Tools on under Help)

None

Metadata

Metadata

Assignees

No one assigned

    Labels

    area-intellisenseLSP-related functionality: auto-complete, docstrings, navigation, refactoring, etc.bugIssue identified by VS Code Team member as probable bug

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions