forked from DonJayamanne/pythonVSCode
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Closed
Description
Environment data
- VS Code version: Version: 1.27.2
- Extension version (available under the Extensions sidebar): XXX
- OS and version: ubuntu 16.04 LTS
- Python version (& distribution if applicable, e.g. Anaconda): Python 2.7.12
Actual behavior
paths in python.autoComplete.extraPaths does not work
Expected behavior
paths in python.autoComplete.extraPaths will behave same as adding the folder to sys.path
Steps to reproduce:
Create a ~/Desktop/extras folder.
Create a file named foobar.py in that folder containing def spam(): pass
Set python.autoComplete.extraPaths to point to the extras folder
import foobar; foobar. should have spam in its completion list.
getting [pylint] E0401:Unable to import extra and there is no completion.
I installed the latest VScode version , following this commit : #1471
still does not work.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels