-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathJava.code-workspace
More file actions
39 lines (39 loc) · 952 Bytes
/
Java.code-workspace
File metadata and controls
39 lines (39 loc) · 952 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
{
"folders": [
{
"path": "Java"
}
],
"settings": {
// This sample targets Java 21 (LTS). Configure a JDK 21 in VS Code (Java: Configure Java Runtime)
// or set JAVA_HOME to a JDK 21 path and restart VS Code.
//
// Simplest setup for non-Java folks: set JAVA_HOME once, and let VS Code use it.
"java.configuration.runtimes": [
{
"name": "JavaSE-21",
"path": "${env:JAVA_HOME}",
"default": true
}
],
"java.configuration.updateBuildConfiguration": "automatic",
"java.debug.settings.forceBuildBeforeLaunch": true
},
"launch": {
"version": "0.2.0",
"configurations": [
{
"name": "Java: Debug sample",
"type": "java",
"request": "launch",
"mainClass": "com.example.CosmosDBManagement",
"cwd": "${workspaceFolder}"
}
]
},
"extensions": {
"recommendations": [
"vscjava.vscode-java-pack"
]
}
}