VS Code Installation Guide for IQ (2nd generation) on a Windows Device

Visual Studio Code (VS Code) is a free code editor that runs on the Windows, macOS, and Linux operating systems. This article is an overview of installing Visual Studio Code and the VEX Visual Studio Code Extension for Windows.

Installing VS Code

image17.png

Open an internet browser and navigate to https://code.visualstudio.com/, the homepage of the VS Code Website. Select the 'Download for Windows' button to start to download the VS Code installer for Windows. Wait for the download to finish.

image9.png

Once the download is complete, open File Explorer by selecting the File Explorer icon on the taskbar, or by typing in “File Explorer” in the Windows Search bar and selecting the File Explorer App, or by pressing the Windows logo key + E on the keyboard.

image7.png

Find the VS Code installer in the Downloads folder by selecting 'Downloads' under Quick access. Select the VS Code installer file to start the installation.

image12.png

Accept the License Agreement and select 'Next.'

image21.png

Set the installation location for Visual Studio Code on the computer. Accept the default location for installation by selecting 'Next.'

image20.png

Create a Start Menu Folder for Visual Studio Code. Accept the default setting by selecting 'Next.'

image6.png

Configure installation. Select the additional tasks to perform while installing VS Code and select 'Next.'

image11.png

Confirm the installation options, then select 'Install' to start the installation.

image4.png

The installation will proceed.

image8.png

Once the installation is complete, click Finish to exit the installation and launch Visual Studio Code (by default).

image13.png

The VS Code is installed and launched on the computer.

For helpful information about how to install VS Code for Windows, please see the article, Visual Studio Code on Windows, on the VS Code Website.

Installing the VEX Extension, C/C++ Extension, and Python Extension

To develop software using the VEX platform in VS Code, we need to install the VEX Extension, which supports C/C++ and Python programming languages. To enable Intellisense/Linting for both C/C++ and Python, the C/C++ Extension and the Python Extension will need to be installed. The VEX VS Code Extension will set up VEX projects to work with these extensions automatically.

image19.png

Select the Extension icon in the VS Code Activity Bar.

image14.png

Type “VEX Robotics” in the Search Bar. The VEX Robotics Extension will appear in the Side Bar below. Select the Install button next to the VEX Robotics Extension to start the installation. Wait for the installation to finish.

image18.png

Once the installation is complete, the Installing button will be replaced with a Manage Gear button, both the VEX Robotics Extension and the VEX Robotics Feedback Extension will be installed, and the VEX icon will appear in the VS Code Activity Bar.

image16.png

Type “C/C++” in the Search Bar. The Microsoft C/C++ Extension will appear in the Side Bar below. Select the Install button next to the C/C++ Extension from Microsoft to start the installation. Wait for the installation to finish.

image1.png

Once the installation is complete, the Installing button will be replaced with a Manage Gear button.

image10.png

Type “Python” in the Search Bar. The Microsoft Python Extension will appear in the Side Bar below. Select the Install button next to the Python Extension from Microsoft to start the installation. Wait for the installation to finish.

image15.png

Once the installation is complete, the Installing button will be replaced with a Manage Gear button

The VEX Extension, the VEX Robotics Feedback Extension, the C/C++ Extension, and the Python Extension are installed and can be found under the 'INSTALLED' category in the Side Bar. For helpful information about how to find, install, and manage VS Code extensions from the Visual Studio Code Marketplace, please see this article on the VS Code Website.

For more information, help, and tips, check out the many resources at VEX Professional Development Plus

Last Updated: