Creating a Project

To create a robot project in WPILib VS Code, follow the steps listed below.

First, click the WPILib icon in the top right corner of WPILib VS Code and search for “Create a new project” in the command palette.

Then you should see the “New Project Creator Window”

  1. Project Type: This is the type of the project. Select “Template”.
  2. Language: This is the programming language of the project. We always use “C++”.
  3. Project Base: This is template that the project will be based on. We use “Timed Robot”.
  4. Base Folder: The folder on the computer where the project will be stored (ex. Documents folder).
  5. Project Name: The name of the project (ex. Homer or thunderbot2023).
  6. Create a New Folder: Select this if you want it to create a new folder named Project Name in the Base Folder (You usually do).
  7. Team Number: The team number (1511 unless you’re a traitor).
  8. Enable Desktop Support: This is for simulating the robot code on your computer. I’ve never used it, and you probably won’t either, so just leave it unchecked unless you’re feeling adventurous. (I’ve seen this break some builds because not every library works with desktop support).

Once all the fields have been configured, click “Generate Project” and the project will be created. VS Code should then prompt you to open the project.


Rolling Thunder Programming Subteam - The Greatest Subteam on 1511