Visual Studio Code for Python
Thu Sep 13 2018
Obviously, the first step in trying out VSCode yourself is to download it.
I like to manage my software packages with Homebrew on my Mac, so I'll do that here:
brew cask install visual-studio-code
Now, let's add some support for Python by adding an extension. Just tap
Shift+Command+x (or click the fifth icon from the top on the left most panel) to show the "Extensions: Marketplace". Search for "python" and the first result should be the extension from Microsoft. Just install that and reload.
The extension not only provides syntax highlighting, it also allows you to manage which version of Python you use with different repos or directories. I switch between different versions of Python throughout the day and it definitely helps that the linter knows which version of Python I'm coding in.