Creating a Regular Java Project
Last updated
Last updated
If everything has gone to plan and you open the VSC app, you'll get greeted with this screen.
After you do a little bit of customization, you should be greeted by a screen like this. Go to the X button on the top right, and look at the three buttons below it.
Notice how the leftmost one is more colorful than the restβ and is suspiciously similar to WPILIB VSC's shortcut icon. This is the Command Palette. This opens a list of commands that you'll grow to love. Let's open it!
In the search bar, delete the >WPILib and enter >Java. This switches the recommended options from robot-related commands to just general Java commands.
Now, click Java: Create a Java Project. A Java project is a collection of files that lets you modify and run code in VSC. We'll use one to create most of our code.
After you click the button, you'll be greeted by a list of build tools as shown below. These are for pretty advanced and specialized coding, so click No build tools. After you click this, you just set a project location for your project.
Now, you'll be asked to select a file location for your project, and after that, you'll have to do a bit of setup. Fill these out with whatever.
Good jobβ you've created a Java Project! Now, on the list of expandable stuff under "Explorer", open src
and then App.Java.