To develop software on VEX IQ 2nd Generation, EXP, and V5 platforms 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.
- Click on the Extension icon in the VS Code Activity Bar.
- Type “VEX Robotics” in the Search Bar. The VEX Robotics Extension will appear in the Side Bar below. Click the Install button next to the VEX Robotics Extension to start the installation. Wait for the installation to finish.
- 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.
- Type “C/C++” in the Search Bar. The Microsoft C/C++ Extension will appear in the Side Bar below. Click the Install button next to the C/C++ Extension from Microsoft to start the installation. Wait for the installation to finish.
- Once the installation is complete, the Installing button will be replaced with a Manage Gear button.
- Type “Python” in the Search Bar. The Microsoft Python Extension will appear in the Side Bar below. Click the Install button next to the Python Extension from Microsoft to start the installation. Wait for the installation to finish.
- 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.