Importing a VEX AIM Project into VS Code

A VEXcode AIM Python project saved from VEXcode AIM can be imported into Visual Studio Code (VS Code) to continue coding it.

Import a VEXcode AIM Project

The Visual Studio Code interface with the Welcome tab open. The VEX Extension icon in the sidebar is highlighted in red.

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.

The VEX Extension panel in Visual Studio Code showing Project Actions. The Import Project button is highlighted in red.

Select Import Project underneath PROJECT ACTIONS.

A file browser window titled Import Project with a VEXcode project file named VEXcode Project.aimpython selected and highlighted in red.

Navigate to the VEXcode AIM Python project you want to open and select the folder. A Windows file browser is shown here for reference.

The project import screen showing the Project Name field filled with VEXcode Project.aimpython. A red warning message below the field indicates the name contains special characters.

By default, the project name will match the file name. If the file name contains special characters, you'll need to rename it.

The import project setup screen in Visual Studio Code showing the Project Name and Description fields. The Description field is empty and highlighted in red.

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.

The same import screen with all fields filled in and the Import button in the bottom-right corner highlighted in red.

Select Import.

The Explorer panel in Visual Studio Code showing the folder structure of a project named AIM_PROJECT. Inside the src folder, the main.py file is displayed and highlighted in red, indicating it is selected for editing.

Select the main.py file within the src folder.

The final project workspace open in Visual Studio Code. The Explorer shows AIM_PROJECT with a main.py file open in the editor, containing sample code that prints Hello AIM to the robot screen.

You can now continue coding the VEXcode AIM Python project in VS Code.

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

Last Updated: