Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
26 commits
Select commit Hold shift + click to select a range
265e76b
Update vscode-overview.mdx
TheMysteriousD Jul 29, 2026
0199fd7
Create vscode-overview
TheMysteriousD Jul 29, 2026
6cb8ea2
Delete public/learning-course/getting-started/vscode-overview
TheMysteriousD Jul 29, 2026
8e7cf06
Create Idk
TheMysteriousD Jul 29, 2026
42fd00e
Add files via upload
TheMysteriousD Jul 29, 2026
86fc42f
Delete public/learning-course/getting-started/vscode-overview/Idk
TheMysteriousD Jul 29, 2026
c1d47fa
Update vscode-overview.mdx
TheMysteriousD Jul 29, 2026
0507a17
Update vscode-overview.mdx
TheMysteriousD Jul 29, 2026
1d820aa
Webp
TheMysteriousD Jul 29, 2026
ee5d737
Delete public/learning-course/getting-started/vscode-overview/IMG_015…
TheMysteriousD Jul 29, 2026
1d3d96f
Delete public/learning-course/getting-started/vscode-overview/IMG_015…
TheMysteriousD Jul 29, 2026
a144a98
Update vscode-overview.mdx
TheMysteriousD Jul 29, 2026
1ec6876
Update src/content/docs/learning-course/getting-started/vscode-overvi…
TheMysteriousD Jul 29, 2026
35157e7
fix CI error
httphypixelnet Jul 29, 2026
9203e10
Merge pull request #1 from httphypixelnet/vscode-overview
TheMysteriousD Jul 29, 2026
1029e98
Update src/content/docs/learning-course/getting-started/vscode-overvi…
TheMysteriousD Jul 30, 2026
6771302
Update src/content/docs/learning-course/getting-started/vscode-overvi…
TheMysteriousD Jul 30, 2026
8d11078
Update src/content/docs/learning-course/getting-started/vscode-overvi…
TheMysteriousD Jul 30, 2026
fa8a146
Update src/content/docs/learning-course/getting-started/vscode-overvi…
TheMysteriousD Jul 30, 2026
5e07a6b
Update src/content/docs/learning-course/getting-started/vscode-overvi…
TheMysteriousD Jul 30, 2026
f62b16d
Update src/content/docs/learning-course/getting-started/vscode-overvi…
TheMysteriousD Jul 30, 2026
ccff1ce
Update src/content/docs/learning-course/getting-started/vscode-overvi…
TheMysteriousD Jul 30, 2026
dbc2559
Update src/content/docs/learning-course/getting-started/vscode-overvi…
TheMysteriousD Jul 30, 2026
21ccd4f
fix paths
httphypixelnet Jul 30, 2026
1500308
Merge pull request #2 from httphypixelnet/vscode-overview
TheMysteriousD Jul 30, 2026
392d311
Update vscode-overview.mdx
TheMysteriousD Jul 30, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
@@ -1,8 +1,98 @@
---
title: VS Code Overview
description: Coming soon!
description: Overview of the VS Code program and interface for using WPILib.
prev: learning-course/learning-course/getting-started/required-tools
next: learning-course/learning-course/getting-started/forking-and-cloning
---

Coming soon!
## What Is VS Code

Visual Studio Code (VS Code) is a free and open source code editor created by Microsoft.
It's available on Windows, macOS, and Linux and can support virtually every programming language through available extensions on its Extension Marketplace.
Some main features include IntelliSense which is a code completion tool and it allows for you to quickly look at documentation for a specific command.
It also has integrated Git support which lets you stage, commit, push, pull, and view diffs from the Source Control panel without leaving the editor.

---

## Welcome Screen

<ContentFigure
width="564"
height="300"
alt="VS Code welcome screen (credit: WPILib docs)"
src="/learning-course/getting-started/vscode-overview/IMG_0156.webp"
/>

When you first open up VS Code, you are greeted with a welcome screen that has a few options.
It lets you quickly customize settings and also lets you watch some tutorial videos.
It also has options to create a file, open a file, open a project, and clone a Git repository.

---

## Navigating the Interface

VS Code's layout is categorized into a few key regions:

- The **Activity Bar** which is in the far left, consists of vertical icons which can be used to switch between the major views (Explorer, Search, Source Control, Run & Debug, Extensions).
- Next, the **Side Bar** which is next to the activity bar shows details for the selected view (for example: file tree in Explorer).
- After that, the **Editor** is the center area.
The editor is star of the show and it is where you can view and edit files.
- Next, the **Panel** is at the bottom of the screen.
It has four main views, which are the Terminal, Problems, Output and Debug Console.
- Finally, the **Command Palette** is accesed through `Ctrl+Shift+P` / `Cmd+Shift+P` and it allows for you to search and run any command in VS Code.

<ContentFigure
width="564"
height="300"
alt="VS Code interface"
src="/learning-course/getting-started/vscode-overview/IMG_0157.webp"
/>

**Useful keyboard shortcuts:**

- `Ctrl+P` / `Cmd+P` is Quick Open which allows you to open any file by name
- `Ctrl+Shift+P` / `Cmd+Shift+P` opens the Command Palette
- `` Ctrl+` `` allows you to quickly open and close the integrated terminal
- `Ctrl+B` / `Cmd+B` allows you to toggle sidebar visibility
- `Ctrl+Tab` allows for you switch between the open editors

---

## Saving and Opening Files

### Opening Files

- **Open a single file:** `File > Open File...` or `Ctrl+O` / `Cmd+O`
- **Open a folder/project:** `File > Open Folder...` or `Ctrl+K Ctrl+O` / `Cmd+K Cmd+O`
- **Quickly open a file:** `Ctrl+P` / `Cmd+P`, then start typing the filename
- **Reopen a recently closed file:** `Ctrl+Shift+T` / `Cmd+Shift+T`

### Saving Files

- **Save current file:** `Ctrl+S` / `Cmd+S`
- **Save as (new name/location):** `Ctrl+Shift+S` / `Cmd+Shift+S`
- **Save all open files:** `Ctrl+K S` / `Cmd+K S`

<Aside type="tip">**Auto Save:** can be enabled via `File > Auto Save` which saves your work automatically after a pause, making it way harder to lose your work. </Aside>

A dot on a file's tab indicates **unsaved changes**; it turns into an "X" (close icon) once the file is saved.

---

## WPILib VS Code

For FRC, you use a separate version of VS Code developed by WPILib which is part of the WPILib installer.
If you already have VS Code installed on your computer, the WPILib VS Code installs seperately with the WPILib extension already installed and some settings changed.

### WPILib Commands

One key feature of WPILib VS Code and the WPILib extension is the commands available that are specific to FRC, such as **Build** which lets you compile the robot code and check for errors on-device, and **Deploy** which builds the code and sends it over the network connection with the robot to Systemcore.

<ContentFigure
width="564"
height="300"
alt="WPILib Commands"
src="/learning-course/getting-started/vscode-overview/IMG_0155.webp"
/>

To access the WPILib commands, which are shows in the large red box on the screenshot, you can either open the command palette using the keyboard shortcut `Ctrl+Shift+P` / `Cmd+Shift+P`, or by clicking the WPILib logo in the top right corner, where the arrow is pointing to on the screenshot.