How to enable intellisense for python in Visual Studio Code with anaconda3?
<p>I've been using Visual Studio Community for a few months now, but the sluggishness and project-based interface is not to my liking and having seen that Visual Studio Code has a python extension, I decided to try Code again.</p>

<p>There are two problems with Code, that if possible to solve I'd promote it to my main editor.</p>

<p>First is intellisense. I have downloaded the <a href="https://marketplace.visualstudio.com/items?itemName=donjayamanne.python" rel="noreferrer">python</a> extension for Code, which promises intellisense. However, outside of the core python packages (like "math") intellisense is not working. I've tried to set up the extra environment variable as described in the link, but that didn't work either.</p>

<p>After this I re-crated an anaconda environment, just in case. Each anaconda environment basically operates as a separate python install and has the modules like "scipy" etc under Lib/site-packages to properly be able to reference them.</p>

<p>As you might guess, intellisense for VS Code still isn't working. Maybe there's a way to refresh its database like for VS Community but I couldn't find it.</p>

<p>My second issue is lack of auto-indentation for python, which wasn't the case when I first installed Code some 6 months ago. The issue was present 2-3 months ago, I hoped it was fixed by now but apparently not. There's nothing new written about it on the Internets either.</p>

<p>How do I get VS Code to work well for me with python?</p>