Configuring Visual Studio Code¶
Warning
This page is out of date, you can find more up-to-date information here:
tom-howard.github.io/ros/software/on-campus/vscode
Visual Studio Code (or 'VS Code', for short) should be installed on all the University of Sheffield Managed Desktop Computers in the Diamond Computer Rooms. This is a great Integrated Development Environment (IDE) that we'll use extensively alongside WSL-ROS. We first need to make sure it's set up correctly though, so follow the steps below now to install the "Remote - WSL" VS Code extension, in preparation for later.
Tip
You should only ever need to do this bit once: the configurations should be saved to your user profile, and should be carried over to any other University Desktop Computer that you log into!
-
Click the Windows Start Menu button:
-
Type
"vscode"
and the Visual Studio Code application shortcut should then appear in the list:Click on it to launch the application.
-
In the left-hand toolbar click the "Extensions" icon (or use the
Ctrl+Shift+X
keyboard shortcut): -
In the search bar (where is says "Search Extensions in Marketplace") type
"wsl"
, find the "WSL" extension in the list and then click the blue "Install" button next to it:Once installed, you should see a page similar to the one below:
On this page, it should state that
"This extension is enabled globally"
(as shown in red), and you should also see a green icon with two arrows in the bottom left-hand corner of the application window. -
You can close down VS Code now, we'll launch it again when we need it.