Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
32 commits
Select commit Hold shift + click to select a range
8ddad19
Update copyright year to 2025 (#820)
sciencewhiz Nov 26, 2025
538df0c
Check for WPILib project before running most commands (#819)
sciencewhiz Nov 26, 2025
ffd2bda
Move source backup in jar to backup directory (#826)
sciencewhiz Dec 31, 2025
f63028f
Update copyright to 2026 (#830)
sciencewhiz Jan 2, 2026
3243b41
Remove duplicate source included in jar (#831)
sciencewhiz Jan 2, 2026
c47a582
Update frcYear to 2026 (#829)
sciencewhiz Jan 2, 2026
39780e3
Fix error message about building code not in project (#825)
sciencewhiz Jan 2, 2026
264d6c7
Revert "Revert "Clarify that Enable Desktop Support switch is CPP only""
cswilson252 Jan 9, 2026
0a04965
vscommands output is redundant
cswilson252 Jan 9, 2026
2e44ff9
(empty commit)
cswilson252 Jan 9, 2026
20f8a06
actually revert string change
cswilson252 Jan 9, 2026
a1f0d19
Revert "Fix error message about building code not in project (#825)"
cswilson252 Jan 11, 2026
ce5bbad
Revert "Update frcYear to 2026 (#829)"
cswilson252 Jan 11, 2026
3279cc9
Revert "Remove duplicate source included in jar (#831)"
cswilson252 Jan 11, 2026
e070638
Revert "Update copyright to 2026 (#830)"
cswilson252 Jan 11, 2026
5054e6d
Revert "Move source backup in jar to backup directory (#826)"
cswilson252 Jan 11, 2026
dc8e4ed
Revert "Check for WPILib project before running most commands (#819)"
cswilson252 Jan 11, 2026
f6cc8d0
Revert "Update copyright year to 2025 (#820)"
cswilson252 Jan 11, 2026
348a773
Update copyright year to 2026 on 2027 branch
cswilson252 Jan 11, 2026
2a41016
Add Project creator warning to TS instead
cswilson252 Jan 11, 2026
c910873
lint by hand
cswilson252 Jan 11, 2026
4115f31
actually lint by hand
cswilson252 Jan 11, 2026
cbb5149
lint more
cswilson252 Jan 11, 2026
8470c91
me when i have a hair on my clothes (get it because linting)
cswilson252 Jan 11, 2026
e383c45
update everything except tooltip
cswilson252 Jan 22, 2026
70222a7
rm / package-lock
cswilson252 Jan 22, 2026
f2d7e66
disable checkbox on non-cpp selection
cswilson252 Jan 22, 2026
11fdc89
lint
cswilson252 Jan 22, 2026
4a456f0
Make desktop support checkbox a const
cswilson252 Feb 11, 2026
3390af8
Update vscode-wpilib/src/webviews/pages/projectcreatorpage.ts
cswilson252 Feb 19, 2026
591089d
Add checkbox event listener
cswilson252 Feb 22, 2026
535bbd6
lint
cswilson252 Feb 22, 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
2 changes: 1 addition & 1 deletion LICENSE.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Copyright (c) 2009-2024 FIRST and other WPILib contributors
Copyright (c) 2009-2026 FIRST and other WPILib contributors
All rights reserved.

Redistribution and use in source and binary forms, with or without
Expand Down
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,9 @@ Once you have the project open in VS Code, there are 5 debugging targets set up.
- `Extension` Will launch the extension to debug
- `Extension Tests` Will launch the extension tests

In addition, each project has a `compile` and a `lint` npm command. These will compile and lint their respective projects. Please run these before submitting any PR, as CI will check these. In addition, VS Code's lint does not detect the same lint errors as running lint manually would.
In addition, `vscode-wpilib` has a `compile` and a `lint` npm command. This will compile and lint the project's files. Please run these commands before submitting a PR!

**Note: VSCode's built-in linter will not detect all linters used in this project, and `npm run compile` and `npm run lint` should be used instead.**

## Testing

Expand Down
2 changes: 1 addition & 1 deletion vscode-wpilib/package-lock.json
Comment thread
cswilson252 marked this conversation as resolved.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 0 additions & 3 deletions vscode-wpilib/resources/gradle/java/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -47,9 +47,6 @@ def deployArtifact = deploy.targets.systemcore.artifacts.frcJava
// performance.
wpi.java.debugJni = false

// Set this to true to enable desktop support.
def includeDesktopSupport = false

// Defining my dependencies. In this case, WPILib (+ friends), and vendor libraries.
// Also defines JUnit 5.
dependencies {
Expand Down
3 changes: 0 additions & 3 deletions vscode-wpilib/resources/gradle/javaromi/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,6 @@ java {

def ROBOT_MAIN_CLASS = "###ROBOTCLASSREPLACE###"

// Set this to true to enable desktop support.
def includeDesktopSupport = true

// Defining my dependencies. In this case, WPILib (+ friends), and vendor libraries.
// Also defines JUnit 5.
dependencies {
Expand Down
3 changes: 0 additions & 3 deletions vscode-wpilib/resources/gradle/javaxrp/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,6 @@ java {

def ROBOT_MAIN_CLASS = "###ROBOTCLASSREPLACE###"

// Set this to true to enable desktop support.
def includeDesktopSupport = true

// Defining my dependencies. In this case, WPILib (+ friends), and vendor libraries.
// Also defines JUnit 5.
dependencies {
Expand Down
10 changes: 9 additions & 1 deletion vscode-wpilib/src/webviews/pages/projectcreatorpage.ts
Original file line number Diff line number Diff line change
Expand Up @@ -311,8 +311,16 @@
},
type: 'base',
});
});

validateStep2();
const desktopCb = document.getElementById('desktopCB') as HTMLInputElement;
desktopCb.addEventListener('change', () => {
if (languageSelect.value !== 'cpp') {
desktopCb.disabled = true;
desktopCb.title = 'Desktop Support can only be enabled for C++ projects!';
} else if (languageSelect.value == 'cpp') {

Check warning on line 321 in vscode-wpilib/src/webviews/pages/projectcreatorpage.ts

View workflow job for this annotation

GitHub Actions / Build - VSIX

Expected '===' and instead saw '=='

Check warning on line 321 in vscode-wpilib/src/webviews/pages/projectcreatorpage.ts

View workflow job for this annotation

GitHub Actions / Build - VSIX

Expected '===' and instead saw '=='
validateStep2();
}
Comment thread
cswilson252 marked this conversation as resolved.
Comment on lines +314 to +323
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Checkbox event listener is the wrong way to do this, go back to the language event listener. And the branch still isn't updated. You need to reenable the checkbox when it's C++.

});

const baseSelect = document.getElementById('base-select') as HTMLSelectElement;
Expand Down