Skip to content

Set up my VS Code Extensions

Visual Studio Code has an extensive library of Extensions that let you add improved functionality for languages, debuggers, and tools to support your development workflow.
Using extensions in VS Code will make it easier and faster to code with whatever language or tools you are using.

C# Language Extensions

For C# code, we recommended that you install the C#, C# Dev Kit and IntelliCode for C# Dev Kit extensions using one of the methods below:

Method 1: Via the Command Line

You can install these C# extensions directly from your terminal by running:

Terminal window
code --install-extension ms-dotnettools.csharp
code --install-extension ms-dotnettools.csdevkit
code --install-extension ms-dotnettools.vscodeintellicode-csharp

Method 2: Within Visual Studio Code

To add these extensions within Visual Studio Code:

  1. Open Visual Studio Code and click on the Extensions tab in the left panel (shown in the purple box in the image below).
  2. Type “C#” in the Search bar at the top (shown in the blue box).
  3. Click “Install” for each of the extensions listed (shown in the green box).

Visual Studio Code window showing recommended extensions for C#

Image not subject to The Programmer’s Field Guide CC BY-NC-ND 4.0 License

Method 3: Via the Extensions Website

Install the following C# extensions directly from the Visual Studio Marketplace:

C# C# Dev Kit Intellicode for C# Dev Kit

C++ Language Extensions

For C++ code, we recommended that you install the C/C++ Extension Pack extension using one of the methods below:

Method 1: Via the Command Line

To install the C++ Extension Pack directly from your terminal:

Terminal window
code --install-extension ms-vscode.cpptools-extension-pack

Method 2: Within Visual Studio Code

To add the C++ extension within Visual Studio Code:

  1. Open Visual Studio Code and click on the Extensions tab in the left panel (shown in the purple box in the image below).
  2. Type “C++” in the Search bar at the top (shown in the blue box).
  3. Click “Install” for the “C/C++” extensions (shown in the green box).
  4. (Optional) Click “Install” for any other extensions you want to install (shown in the orange box).

Visual Studio Code window showing recommended extensions for C++

Image not subject to The Programmer’s Field Guide CC BY-NC-ND 4.0 License

Method 3: Via the Extensions Website

Install the C++ Extension Pack for comprehensive C++ support:

C++ Extension Pack

Using WSL on Windows

If you are using the Windows (WSL) setup guide, you will also need to install the WSL extension using one of the methods below:

Method 1: Via the Command Line

You can install the WSL extension directly from the terminal:

Terminal window
code --install-extension ms-vscode-remote.remote-wsl

Method 2: Within Visual Studio Code

To add the WSL extension within Visual Studio Code:

  1. Open Visual Studio Code and click on the Extensions tab in the left panel (shown in the purple box in the image below).
  2. Type “WSL” in the Search bar at the top (shown in the blue box).
  3. Click “Install” for the “WSL” extension (shown in the yellow box).

Visual Studio Code window showing recommended extensions for WSL

Image not subject to The Programmer’s Field Guide CC BY-NC-ND 4.0 License

Method 3: Via the Extensions Website

Install the WSL extension directly from the Visual Studio Marketplace:

WSL Extension