Skip to content

Commit 5f70b30

Browse files
committed
Merge remote-tracking branch 'origin/2027' into ui-improvements-2-electric-boogaloo
1 parent 25b288b commit 5f70b30

File tree

11 files changed

+8959
-236
lines changed

11 files changed

+8959
-236
lines changed

.github/workflows/gradle-wrapper-validation.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,4 @@ jobs:
77
runs-on: ubuntu-latest
88
steps:
99
- uses: actions/checkout@v4
10-
- uses: gradle/wrapper-validation-action@v2
10+
- uses: gradle/actions/wrapper-validation@v4

vscode-wpilib/package-lock.json

Lines changed: 8922 additions & 220 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

vscode-wpilib/package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@
9999
],
100100
"configuration": {
101101
"type": "object",
102-
"title": "WPILib configuration",
102+
"title": "WPILib",
103103
"properties": {
104104
"wpilib.additionalGradleArguments": {
105105
"type": "string",
@@ -450,6 +450,7 @@
450450
],
451451
"view/title": [
452452
{
453+
"when": "view.wpilib.dependencyView.visible",
453454
"command": "wpilib.refreshVendordeps",
454455
"group": "navigation"
455456
}

vscode-wpilib/resources/gradle/java/.vscode/settings.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,5 +56,6 @@
5656
"edu.wpi.first.math.proto.*",
5757
"edu.wpi.first.math.**.proto.*",
5858
"edu.wpi.first.math.**.struct.*",
59-
]
59+
],
60+
"java.dependency.enableDependencyCheckup": false
6061
}

vscode-wpilib/resources/gradle/java/build.gradle

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,8 @@ deploy {
4343

4444
def deployArtifact = deploy.targets.systemcore.artifacts.frcJava
4545

46-
// Set to true to use debug for JNI.
46+
// Set to true to use debug for all targets including JNI, which will drastically impact
47+
// performance.
4748
wpi.java.debugJni = false
4849

4950
// Set this to true to enable desktop support.

vscode-wpilib/resources/gradle/javadt/.vscode/settings.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,5 +38,6 @@
3838
"org.mockito.ArgumentMatchers.*",
3939
"org.mockito.Answers.*",
4040
"edu.wpi.first.units.Units.*"
41-
]
41+
],
42+
"java.dependency.enableDependencyCheckup": false
4243
}

vscode-wpilib/resources/gradle/javaromi/.vscode/settings.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,5 +57,6 @@
5757
"edu.wpi.first.math.proto.*",
5858
"edu.wpi.first.math.**.proto.*",
5959
"edu.wpi.first.math.**.struct.*",
60-
]
60+
],
61+
"java.dependency.enableDependencyCheckup": false
6162
}

vscode-wpilib/resources/gradle/javaxrp/.vscode/settings.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,5 +57,6 @@
5757
"edu.wpi.first.math.proto.*",
5858
"edu.wpi.first.math.**.proto.*",
5959
"edu.wpi.first.math.**.struct.*",
60-
]
60+
],
61+
"java.dependency.enableDependencyCheckup": false
6162
}

vscode-wpilib/resources/webviews/help.html

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
<!doctype html>
22
<html>
3+
34
<head>
45
<title>WPILib Help</title>
56
<meta charset="UTF-8" />
@@ -15,13 +16,20 @@ <h1 class="project-title">WPILib Help</h1>
1516

1617
<div class="project-row">
1718
<p>
18-
Welcome to WPILib Help! To open this window again, open the Command Palette (F1 or
19+
Welcome to WPILib Help! Thank you for alpha testing the Systemcore and 2027 WPILib. Please see
20+
<a href="https://github.com/wpilibsuite/SystemcoreTesting/">
21+
https://github.com/wpilibsuite/SystemcoreTesting/</a>
22+
for the expectations for testing and to provide your feedback.
23+
</p>
24+
25+
<p>
26+
To open this window again, open the Command Palette (F1 or
1927
View->Command Palette), and select
2028
<b>Open WPILib Help.</b>
2129
</p>
2230
<p>
2331
For more help, see
24-
<a href="https://docs.wpilib.org/en/stable">the WPILib documentation.</a>
32+
<a href="https://docs.wpilib.org/en/2027">the 2027 WPILib documentation.</a>
2533
</p>
2634
</div>
2735

@@ -79,4 +87,5 @@ <h2 class="project-subtitle">Setting Up Your Workspace</h2>
7987
});
8088
</script>
8189
</body>
82-
</html>
90+
91+
</html>

vscode-wpilib/src/builtintools.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ class VbsToolRunner implements IToolRunner {
2929
public async runTool(): Promise<boolean> {
3030
const wp = await this.preferences.getFirstOrSelectedWorkspace();
3131
return new Promise<boolean>((resolve, _reject) => {
32-
let cmd = getIsWindows() ? `wscript.exe ${this.toolScript}` : `sh ${this.toolScript}`;
32+
let cmd = `${this.toolScript}`;
3333

3434
if (wp !== undefined) {
3535
const toolStoreFolder = path.join(wp.uri.fsPath, `.${this.name}`);
@@ -61,13 +61,13 @@ export class BuiltinTools {
6161
const isWindows = getIsWindows();
6262
for (const ht of homeTools.tools) {
6363
if (isWindows) {
64-
const toolPath = path.join(homeTools.dir, ht.name + '.vbs');
64+
const toolPath = path.join(homeTools.dir, ht.name + '.exe');
6565
if (await existsAsync(toolPath)) {
6666
// Tool exists, add it
6767
toolApi.addTool(new VbsToolRunner(toolPath, ht.name, api.getPreferencesAPI()));
6868
}
6969
} else {
70-
const toolPath = path.join(homeTools.dir, ht.name + '.sh');
70+
const toolPath = path.join(homeTools.dir, ht.name);
7171
if (await existsAsync(toolPath)) {
7272
// Tool exists, add it
7373
toolApi.addTool(new VbsToolRunner(toolPath, ht.name, api.getPreferencesAPI()));

0 commit comments

Comments
 (0)