Skip to content

Install Visual Studio Code

Visual Studio Code is a versatile, user-friendly source code editor that supports extensions for multiple languages, including C#, C++ and python. Follow these steps to install Visual Studio Code on WSL and set up the necessary extensions.

Install Visual Studio Code

Download Visual Studio Code, and run the installer.

Installing Extensions for Development

After setting up Visual Studio Code, enhance your development environment by adding essential extensions for C#, C++, and Python. These extensions provide robust tools for coding, debugging, and code intelligence, making your setup complete for SplashKit projects.

WSL Extension

Method 1: Via the Extensions Website

Install the WSL extension directly from the Visual Studio Marketplace:

WSL Extension

Method 2: Via the Command Line

You can also install the WSL extension directly from the terminal:

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

Method 3: Within Visual Studio Code

To add the WSL extension within Visual Studio Code:

  1. Open the Extensions view by pressing Ctrl+Shift+X.
  2. Search for “WSL” and click Install.

Adding WSL extension in Visual Studio Code

C# Extensions

Method 1: Via the Extensions Website

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

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

Method 2: Via the Command Line

You can also install these C# extensions directly from the 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 3: Within Visual Studio Code

To add these extensions within Visual Studio Code:

  1. Open the Extensions view by pressing Ctrl+Shift+X.
  2. Search for “C# Microsoft” and the top 3 extensions listed above should appear. Click Install for each. If they don’t then search for them individually.

Adding C# extensions in Visual Studio Code

C++ Extensions

Method 1: Via the Extensions Website

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

C++ Extension Pack

Method 2: Via the Command Line

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

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

Method 3: Within Visual Studio Code

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

  1. Open the Extensions view (Ctrl+Shift+X).
  2. Search for “C++ Extension Pack” and click Install.

Adding C++ extensions in Visual Studio Code

Python Extensions

Method 1: Via the Extensions Website

For Python support, install the Python Extension Pack from the Visual Studio Marketplace:

Python Extension Pack

Method 2: Via the Command Line

To install the Python Extension Pack directly from the terminal:

Terminal window
code --install-extension donjayamanne.python-extension-pack

Method 3: Within Visual Studio Code

To install the Python extensions within Visual Studio Code:

  1. Open the Extensions view (Ctrl+Shift+X).
  2. Search for “Python Extension Pack” and click Install.

Adding Python extensions in Visual Studio Code