Skip to content

Commit e0bb4d5

Browse files
committed
chore: update launch configuration presentation to default to compound config
1 parent 04fa4f0 commit e0bb4d5

File tree

1 file changed

+23
-9
lines changed

1 file changed

+23
-9
lines changed

.vscode/launch.json

Lines changed: 23 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,17 @@
11
// A launch configuration that compiles the extension and then opens it inside a new window
22
{
33
"version": "0.2.0",
4+
"compounds": [
5+
{
6+
"name": "Launch Client and Attach to Server",
7+
"configurations": ["Launch Client", "Attach to Language Server"],
8+
"stopAll": true,
9+
"presentation": {
10+
"group": "launch",
11+
"order": 1
12+
}
13+
}
14+
],
415
"configurations": [
516
{
617
"type": "extensionHost",
@@ -13,15 +24,21 @@
1324
],
1425
"outFiles": ["${workspaceRoot}/dist/**/*.js"],
1526
"autoAttachChildProcesses": true,
16-
"preLaunchTask": "build-affected"
27+
"preLaunchTask": "build-affected",
28+
"presentation": {
29+
"group": "launch"
30+
}
1731
},
1832
{
1933
"name": "Attach to Language Server",
2034
"type": "node",
2135
"request": "attach",
2236
"outFiles": ["${workspaceRoot}/dist/**/*.js"],
2337
"sourceMaps": true,
24-
"restart": true
38+
"restart": true,
39+
"presentation": {
40+
"group": "launch"
41+
}
2542
},
2643
{
2744
"name": "Language Server E2E Test",
@@ -33,13 +50,10 @@
3350
"--extensionTestsPath=${workspaceRoot}/client/out/test/index",
3451
"${workspaceRoot}/client/testFixture"
3552
],
36-
"outFiles": ["${workspaceRoot}/client/out/test/**/*.js"]
37-
}
38-
],
39-
"compounds": [
40-
{
41-
"name": "Launch Client and Attach to Server",
42-
"configurations": ["Launch Client", "Attach to Language Server"]
53+
"outFiles": ["${workspaceRoot}/client/out/test/**/*.js"],
54+
"presentation": {
55+
"group": "test"
56+
}
4357
}
4458
]
4559
}

0 commit comments

Comments
 (0)