-
Notifications
You must be signed in to change notification settings - Fork 2
Development Environment Setup
So you want to know about how to set up the development environment for Team 3128's code, would you Narwhals?
I suppose I can
Teach you a thing or two.
If you're all about steam and brass All you need to start is tea and a flask...
Anyway, carry out the following steps to get your personal computer ready for writing and deploying robot code.
Visual Studio Code is a lightweight, customizable, Electron-based, and open-source text editor from Microsoft. The only things that sets it apart from a normal text editor, besides the obvious project-oriented nature of managing files, is the native Gradle and Maven support and IntelliSense, which is basically syntax highlighting and "smart" method, class, object, and variable autocomplete. It works relatively well as an IDE and is really easy to use; more importantly, it's fast and cross-platform. Because of this, we switched from Eclipse to VSCode in the 2019 season (actually, it's because the official IDE was switched from Eclipse to VSCode, so here we are).
Install Visual Studio Code. Go to https://code.visualstudio.com/download, download the installer for you operating system, open the installer, and follow the on-screen instructions to install the IDE.
VSCode allows for the addition of extensions, which is how the bare-bones IDE can get support for a whole host of languages and cool features.
Our robot code is developed in Java, so we need to install the Java extensions.
- Go to the extensions panel by clicking the fifth button from the top on the left sidebar
- Search for
Java Extension Pack
- Click the green
Install
button, and wait for the installation to finish - When it appears, click the blue
Refresh
button
We also need to install the WPILib extension that gives us shortcuts for doing various tasks, including building and deploying our robot code.
- Download the
.vsix
from https://github.com/wpilibsuite/vscode-wpilib/releases (download the topmost one) - Navigate to the Extension panel in VSCode
- Click the menu button on the top right of the extension list
- Click the
Install from VSIX...
option near the bottom of the menu - Select the
.vsix
you just downloaded from WPILib's GitHub page - Wait for the extension to install
- Click the blue
Reload Now
button on the bottom right of the screen and wait for VSCode to restart.
And that's it! Your computer is now ready to develop robot code. To start working in one of our libraries or to make a new project, check out Working on Robot Code.
Getting Started Guides:
Student
Mentor
Technical Resources:
Mechanical
Controls
Strategy
Fundraising
Team Policy:
Member Contract
Attendance/Workshop Hours