Skip to content

Commit 35d4b0a

Browse files
committed
More clean up for commons-vscode
Signed-off-by: BoykoAlex <alex.boyko@broadcom.com>
1 parent 444b0da commit 35d4b0a

File tree

7 files changed

+9
-6
lines changed

7 files changed

+9
-6
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
**/.idea
55
**/*.iml
66
**/*.versionsBackup
7+
**/.cursorrules
78

89
# Mobile Tools for Java (J2ME)
910
.mtj.tmp/

vscode-extensions/commons-vscode/src/launch-util.ts

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -154,8 +154,6 @@ async function findJdtEmbeddedJRE(): Promise<string | undefined> {
154154
}
155155
}
156156

157-
const JAVA_25_VERSION = 25;
158-
159157
function hashString(value: string): string {
160158
return Crypto.createHash('sha256').update(value).digest('hex').substring(0, 12);
161159
}
@@ -170,9 +168,9 @@ async function prepareCdsArgs(options: ActivatorOptions, context: ExtensionConte
170168
return { cdsArgs: [] };
171169
}
172170

173-
if (jvm.getMajorVersion() < JAVA_25_VERSION) {
171+
if (jvm.getMajorVersion() < 25) {
174172
window.showInformationMessage(
175-
'Spring Boot Language Server: CDS is enabled but requires Java 25 or later. ' +
173+
'Spring Boot Language Server: CDS is enabled but requires Java 25+. ' +
176174
`Current Java version is ${jvm.getMajorVersion()}. Starting without CDS.`
177175
);
178176
return { cdsArgs: [] };

vscode-extensions/vscode-bosh/.vscodeignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ out/**
3131

3232
# Extensions
3333
.gitignore
34+
.cursorrules
3435
**/*.map
3536

3637
# Temporary, include after legal approval

vscode-extensions/vscode-concourse/.vscodeignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ out/**
3131

3232
# Extensions
3333
.gitignore
34+
.cursorrules
3435
**/*.map
3536

3637
# Temporary, include after legal approval

vscode-extensions/vscode-manifest-yaml/.vscodeignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ out/**
3333

3434
# Extensions
3535
.gitignore
36+
.cursorrules
3637
**/*.map
3738

3839
# Temporary, include after legal approval

vscode-extensions/vscode-spring-boot/.vscodeignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# IDE configs
22
.vscode/**
33
.idea/**
4-
*.iml
4+
x*.iml
55
javaconfig.json
66
classpath.txt
77
tsconfig.json
@@ -30,6 +30,7 @@ out/**
3030

3131
# Extensions
3232
.gitignore
33+
.cursorrules
3334
**/*.map
3435

3536
# Temporary, include after legal approval

vscode-extensions/vscode-spring-boot/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -533,7 +533,7 @@
533533
"spring-boot.ls.cds.enabled": {
534534
"type": "boolean",
535535
"default": false,
536-
"description": "Enable Class Data Sharing (AOT Cache) for faster Language Server startup. Requires Java 25 or later."
536+
"description": "Enable Class Data Sharing (AOT Cache) for faster Language Server startup. Requires Java 25+."
537537
}
538538
}
539539
},

0 commit comments

Comments
 (0)