Skip to main content

Visual Studio Code

🦉 Note

Visual Studio Code is different from just Visual Studio.

Installation​

This is straightforward, download and install Visual Studio Code from this link: https://code.visualstudio.com/.

just make sure your get the right installer for your operating system and device architecture (32-bit vs 64-bit) and for mac (intel-based or Apple Silicon)

Extensions you should install​

The following is a list of recommended extensions that will help tremendously in this class:

  • Python
    • This offers IntelliSense (Pylance), Linting, Debugging (multi-threaded, remote), code formatting, refactoring, unit tests, and more.
  • Python Environment Manager
    • This will allow you to view and manage Python environments. Since we'll have multiple virtual env. throughtout the semester, this will make things so much easier.
  • Jupyter
    • This is an extension pack that comes with 4 extensions to support interactivity and different other actions with Jupyter Notebook on Visual Studio Code

How to use Jupyter Notebook in VSCode?​

This is one of the FAQ(s). Check it the response here


Common Errors and Issues​

Some of the command line tools I installed, don't seem to be accessible from VSCode integrated Terminal. The fix is simpler than you think. Close VSCode and Open it again. Closing the integrated terminal window and opening a new instance of it doesn't work on Windows. You have to shut the whole application down.

I want Git Bash to be my default integrated terminal in Visual Studio Code