python - SublimeCodeIntel does not recognize project .codeintel/config -
i can ~/.codeintel/config
file (in home directory) read , can delete db
force sublimecodeintel re-read it. however, when try use <project_root>/.codeintel/config
(in project root) sublimecodeintel not build new db / seem read files.
the sublimecodeintel project @ github says
configuration files (~/.codeintel/config or project_root/.codeintel/config). configurations optional.
this holding me because using different versions of python system , in projects. modules available 1 not available in another, , happen modules i'd use. figure out how sublimecodeintel read .codeintel/config
in project root successfully?
so what's this?
had same problem turned out simpl misconfiguration
opened project in st, picked project
-> save project as...
turn directory st project directory. (i saved .sublime-project file in same directory preference)
then created .codeintel/config folder in same directory following content:
{ "python": { "python": 'venv/bin/python', "pythonextrapaths": ['venv/lib/python2.7/site-packages',] } }
(venv
project's virtual env). codeintel indexing virtual environment, giving me definition lookups , using python binary in venv.
using st3 , latest codeintel.
Comments
Post a Comment