A VEX AIR project in Visual Studio Code (VS Code) can be created using a template, either blank or from one of the provided examples. Follow the steps below to create a new project.
Creating a VEX AIR Project
Open VS Code on your computer and select the VEX icon in the Activity Bar.
If the VEX icon isn’t visible, make sure the VEX Extension is installed. For installation steps, see the instructions here.
Select New Project underneath PROJECT ACTIONS.
Select AIR from the list of available platforms.
Select a project template to use.
Enter a name in the Project Name field. Special characters are not allowed.
Note: This name will be used for the project’s top-level folder and will also appear on the VEX AIR Drone Controller's screen after the project is downloaded.
You can optionally add a description in the Description field. This can be used to summarize the project’s purpose or any important notes.
If you want to save the project somewhere other than the default folder, select Browse to choose a location on your computer.
Note: The default project location can be adjusted in the VEX Extension’s global settings.
Select Create.
Select the main.py file from the file explorer.
You can now start coding a VEX AIR project in VS Code.
For a guide on how to download and run a VS Code project, go here.