Getting started with Visual Studio Code

In this tutorial, we walk you through setting up Visual Studio Code and give an overview of the basic features.

Linux users: Make sure you have the correct multimedia codecs installed for your Linux distribution. For example, on Ubuntu, you may need to install ubuntu-restricted-extras to get the necessary codecs to play the videos.

Here's the next video we recommend: Code Editing in Visual Studio Code

Pick another video from the list: Introductory Videos

Video outline

  • Download and install VS Code.
  • Create a new file.
    • File > New File (⌘N (Windows, Linux Ctrl+N))
  • Save a file.
    • File > Save (⌘S (Windows, Linux Ctrl+S))
  • Open the Command Palette.
    • View > Command Palette... (⇧⌘P (Windows, Linux Ctrl+Shift+P))
  • See an overview of the user interface.
    • Help: User Interface Overview in the Command Palette.
  • Install support for your favorite programming language from the Extensions view.
    • View > Extensions (⇧⌘X (Windows, Linux Ctrl+Shift+X))
  • Change your keyboard shortcuts and easily migrate from other editors using keymap extensions.
    • File > Preferences > Migrate Keyboard Shortcuts from...
    • Code > Preferences > Migrate Keyboard Shortcuts from... on macOS
  • Open the Keyboard Shortcuts editor.
    • File > Preferences > Keyboard Shortcuts (⌘K ⌘S (Windows, Linux Ctrl+K Ctrl+S))
    • Code > Preferences > Keyboard Shortcuts on macOS
  • Printable keyboard cheat sheet.
    • Help > Keyboard Shortcuts Reference (⌘K ⌘R (Windows, Linux Ctrl+K Ctrl+R))
  • Customize your editor with color themes.
    • File > Preferences > Color Theme (⌘K ⌘T (Windows, Linux Ctrl+K Ctrl+T))
    • Code > Preferences > Color Theme on macOS
  • Show all commands.
    • Help > Show All Commands (⇧⌘P (Windows, Linux Ctrl+Shift+P))
  • Explore VS Code features in the Interactive Editor Playground.
    • Help > Editor Playground

Next video

  • User Interface - View the documentation for VS Code.
  • Setup Overview - Documentation for getting up and running with VS Code, including platform specific setup.
  • Keyboard Shortcuts - Customize your own shortcuts, download a reference sheet, or install a Keymap extension.
  • Keybinding extensions - Install a Keymap extension to bring the keybindings from your previous editor to VS Code.