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.

menu python toolspython environments


Comments

Popular posts from this blog

python - TypeError: start must be a integer -

html - How can i make an element from a bottom stacking context stays in front of another higher stacking context? -

html - href attribute breaking an element -