Intro to FRC Programming - Romi
  • INTRODUCTION
    • Overview
    • Important Links
  • πŸ’½Setup
    • Setting up the Romi's Software
    • Downloading Essential Tools
    • APCS vs FRC
  • How To Code in VSC
    • VSC- Intro
    • A Tour Through VSC
    • Creating a Regular Java Project
  • Intro to Java
    • What is Java?
    • Beginning Steps
    • 🟩Fundimentals of Java
      • Variables
      • Operations
      • Methods
      • Comments
      • If Statements and Conditions
      • Boolean Zen
      • Loops
      • Challenge- Create a Box House
    • 🟨Advanced Concepts
      • Objects
      • Scanners
      • Null Objects
      • Arrays
      • Errors
      • For-Each Loops
    • πŸŸ₯Object Oriented Programming
      • Basics of OOP
      • Instance Classes
      • Static Classes
  • πŸ•‘Romi Curriculum- Timed Base
    • Romi Curriculum- Introduction
    • Creating a WPILIB Project
    • Running Your Code
    • The Robot Class
    • Subsystems
      • RomiDrivetrain
    • Cool stuff i will rename this category later
      • Spark Motors
      • PIDs
      • External Controllers
      • Encoders
  • πŸ–₯️Romi Curriculum- Command Based
    • Command Based Code
    • RobotContainer
    • Commands
    • CommandScheduler
  • UNRELATED IMPORTANT CODING KNOWLEDGE
    • Constants
  • SAMPLE CODE
    • Tank Drive Example
      • RobotContainer
      • TankDriveSubsystem
      • MoveRobotCommand
    • Worktop Systems Sample Java Code
      • Belt Elevator Sample Code
      • Rotating Arm Sample Code
Powered by GitBook
On this page
  1. How To Code in VSC

A Tour Through VSC

PreviousVSC- IntroNextCreating a Regular Java Project

Last updated 2 months ago

Welcome to VSC! If you open the app, it should look something like this (aside from the blue arrow)

Now, let's talk about the thing the blue arrow is pointing to. This icon opens up VSC's Command Palette, a list of different commands and stuff that you'll find to be incredibly helpful.

To make code, we first need a project. A project is just a collection of related files that are compiled and run for something.

Creating a WPILIB Project

Go to the aforementioned Command Palette and click on the icon. You should see this menu popup:

Find "Create a new project" and click on it. Once you click on it, you'll see this logo.

We can't just use a regular project eitherβ€” we need a WPILIB one! (If you want to use VSC outside of FRC Programming-related stuff, check out this tutorial to create a regular Java project: . This addon already comes with Java + all its related stuff)

link
Drawing