Visual Studio How to add Python module to Intellisense -
how add custom python module visual studio intellisense code completion tool?
situation: working on python module references module have saved in /mypython/foo.py.
if start type foo.somedef intellisense recognize accessing module , suggest code completion.
visual studio's intellisense recognize custom python modules after have been placed in "site-packages" folder under "lib" folder in python's directory.
for example: /python27/lib/site-packages/mypython
inside of folder "mypython", put plain text file called "__init__.py". otherwise intellisense not recognize package.
you may have click "refresh db" under python environments tab.
Comments
Post a Comment