Skip to content
Draft
Show file tree
Hide file tree
Changes from 19 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
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
77 changes: 77 additions & 0 deletions wpilib-utility-standalone/projectcreator.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,77 @@
<!DOCTYPE html>
Comment thread
cswilson252 marked this conversation as resolved.
Outdated
<html>

<head>
<title>WPILib Project Create</title>
<script>
const exports = require('./out/projectcreator.js');
const validators = require('./out/validators.js');
</script>

<style>
.error {
color: red;
border-color: red;
border-width: 2px;
}
body {
color: white;
background-color: #2e2c29;
}
</style>
</head>

<body>
<img src="./wpilib-generic.svg" height="75" />

<h1>Welcome to WPILib New Project Creator</h1>

<select id="projectTypeSelect" style="display: initial" onchange="exports.selectProjectType();">
<option value="base">Select a project type</option>
<option value="template">Templates</option>
<option value="example">Examples</option>
</select>

<select id="languageSelect" style="display: initial" disabled onchange="exports.selectLanguage();">
<option value="base">Select a project language</option>
<option value="cpp">C++</option>
<option value='java'>Java</option>
</select>

<select id="projectBaseSelect" style="display: initial" disabled onchange="exports.selectRobotBase();">
<option value="base">Select a project base</option>
</select>

<br/>
<br/> <span STYLE="font-weight:bold">Base Folder.</span> <span>Select a base folder to place the new project into.</span>
<br/>
<input id="projectFolder" type="text" style="width: 100%; margin-top: 10px; margin-bottom: 10px" />
<br/>
<button onclick="exports.projectSelectButtonClick();">Select a new project folder</button>
<br/> <span data-i18n-trans STYLE="font-weight:bold">Create a new folder?</span>
<input id="newFolderCB" type="checkbox" checked/>
<br/>
<span>This creates a new folder at <i>Base Folder\Project Name</i>. Highly recommended to be checked. Otherwise the folder will be placed at <i>Base Folder</i> and not utilize the Project Name</span>
<br/>
<div id="projectnamediv" class="error" STYLE="font-weight:bold">Project Name</div>
<input id="projectName" class="error" oninput="validators.validateProject(document.getElementById('projectName'), document.getElementById('projectnamediv'));" type="text" style="width: 100%; margin-top: 10px; margin-bottom: 10px"
/>
<br/>
<div id="teamnumberdiv" class="error" STYLE="font-weight:bold">Team Number</div>
<input id="teamNumber" class="error" oninput="validators.validateTeamNumber(document.getElementById('teamNumber'), document.getElementById('teamnumberdiv'));" type="text" style="width: 100%; margin-top: 10px; margin-bottom: 10px"
/>
<br/>
<div id="desktopdiv">
<span STYLE="font-weight:bold">(C++) Enable Desktop Support</span>
<input id="desktopCB" type="checkbox" />
<br/>
<span data-i18n-trans data-i18n-key="hintDesktopSupport">
This is needed for simulation and unit testing support, however there are some cases where this will do
some unexpected things during build. In addition, not all vendor libraries support desktop.
This option can be set with the command "WPILib: Set Desktop Support" for C++ projects at any time.
</span>
</div>
<br/>

<button id="generateProject" onclick="exports.generateProjectButtonClick()">Generate Project</button>
</body>