Skip to content

Commit de37ace

Browse files
authored
config(launchjson): update presentation with groupings (#5553)
1 parent d99e791 commit de37ace

File tree

3 files changed

+75
-15
lines changed

3 files changed

+75
-15
lines changed

packages/amazonq/.vscode/launch.json

Lines changed: 25 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,11 @@
2323
"envFile": "${workspaceFolder}/.local.env",
2424
"outFiles": ["${workspaceFolder}/dist/**/*.js", "${workspaceFolder}/../core/dist/**/*.js"],
2525
"preLaunchTask": "watch",
26-
"postDebugTask": "terminate"
26+
"postDebugTask": "terminate",
27+
"presentation": {
28+
"group": "1_Extension",
29+
"order": 2
30+
}
2731
},
2832
{
2933
/** Handles the entire process of building and running the toolkit extension in the browser. **/
@@ -44,7 +48,11 @@
4448
**/
4549
"resolveSourceMapLocations": ["!**/node_modules/**", "!**/vs/**", "!**/extensions/**"],
4650
"preLaunchTask": "webRun",
47-
"postDebugTask": "webRunTerminate"
51+
"postDebugTask": "webRunTerminate",
52+
"presentation": {
53+
"group": "1_Extension",
54+
"order": 4
55+
}
4856
},
4957
{
5058
"name": "Extension Tests",
@@ -62,7 +70,11 @@
6270
"AWS_TOOLKIT_AUTOMATION": "local"
6371
},
6472
"outFiles": ["${workspaceFolder}/dist/**/*.js", "${workspaceFolder}/../core/dist/**/*.js"],
65-
"preLaunchTask": "watch"
73+
"preLaunchTask": "watch",
74+
"presentation": {
75+
"group": "3_ExtensionTests",
76+
"order": 2
77+
}
6678
},
6779
{
6880
"name": "Extension Tests (current file)",
@@ -81,7 +93,11 @@
8193
"AWS_TOOLKIT_AUTOMATION": "local"
8294
},
8395
"outFiles": ["${workspaceFolder}/dist/**/*.js", "${workspaceFolder}/../core/dist/**/*.js"],
84-
"preLaunchTask": "watch"
96+
"preLaunchTask": "watch",
97+
"presentation": {
98+
"group": "2_ExtensionTestsCurrentFile",
99+
"order": 2
100+
}
85101
},
86102
{
87103
"name": "E2E Test (current file)",
@@ -100,7 +116,11 @@
100116
"AWS_TOOLKIT_AUTOMATION": "local"
101117
},
102118
"outFiles": ["${workspaceFolder}/dist/**/*.js", "${workspaceFolder}/../core/dist/**/*.js"],
103-
"preLaunchTask": "watch"
119+
"preLaunchTask": "watch",
120+
"presentation": {
121+
"group": "4_E2ETestCurrentFile",
122+
"order": 2
123+
}
104124
}
105125
]
106126
}

packages/core/.vscode/launch.json

Lines changed: 35 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,11 @@
2121
"AWS_TOOLKIT_AUTOMATION": "local"
2222
},
2323
"outFiles": ["${workspaceFolder}/dist/**/*.js"],
24-
"preLaunchTask": "build"
24+
"preLaunchTask": "build",
25+
"presentation": {
26+
"group": "3_ExtensionTests",
27+
"order": 1
28+
}
2529
},
2630
{
2731
"name": "Extension Tests (current file)",
@@ -40,7 +44,11 @@
4044
"AWS_TOOLKIT_AUTOMATION": "local"
4145
},
4246
"outFiles": ["${workspaceFolder}/dist/**/*.js"],
43-
"preLaunchTask": "build"
47+
"preLaunchTask": "build",
48+
"presentation": {
49+
"group": "2_ExtensionTestsCurrentFile",
50+
"order": 1
51+
}
4452
},
4553
{
4654
"name": "Extension Tests (web)",
@@ -55,7 +63,11 @@
5563
"${workspaceRoot}/dist/src/testFixtures/workspaceFolder"
5664
],
5765
"outFiles": ["${workspaceFolder}/dist/src/**/*.js"],
58-
"preLaunchTask": "testsBuildWatch"
66+
"preLaunchTask": "testsBuildWatch",
67+
"presentation": {
68+
"group": "3_ExtensionTests",
69+
"order": 3
70+
}
5971
},
6072
{
6173
"name": "Integration Tests",
@@ -73,7 +85,11 @@
7385
"AWS_TOOLKIT_AUTOMATION": "local"
7486
},
7587
"outFiles": ["${workspaceFolder}/dist/**/*.js"],
76-
"preLaunchTask": "build"
88+
"preLaunchTask": "build",
89+
"presentation": {
90+
"group": "6_IntegrationTests",
91+
"order": 1
92+
}
7793
},
7894
{
7995
"name": "Integration Tests (current file)",
@@ -92,7 +108,11 @@
92108
"AWS_TOOLKIT_AUTOMATION": "local"
93109
},
94110
"outFiles": ["${workspaceFolder}/dist/**/*.js"],
95-
"preLaunchTask": "build"
111+
"preLaunchTask": "build",
112+
"presentation": {
113+
"group": "5_IntegrationTestsCurrentFile",
114+
"order": 1
115+
}
96116
},
97117
{
98118
"name": "E2E Test (current file)",
@@ -111,15 +131,23 @@
111131
"AWS_TOOLKIT_AUTOMATION": "local"
112132
},
113133
"outFiles": ["${workspaceFolder}/dist/**/*.js"],
114-
"preLaunchTask": "build"
134+
"preLaunchTask": "build",
135+
"presentation": {
136+
"group": "4_E2ETestCurrentFile",
137+
"order": 1
138+
}
115139
},
116140
{
117141
"name": "Test Lint",
118142
"type": "node",
119143
"request": "launch",
120144
"program": "${workspaceFolder}/scripts/lint/testLint.ts",
121145
"outFiles": ["${workspaceFolder}/dist/**/*.js"],
122-
"preLaunchTask": "build"
146+
"preLaunchTask": "build",
147+
"presentation": {
148+
"group": "7_TestLint",
149+
"order": 1
150+
}
123151
}
124152
// ---- We do not need the following currently, and we want to reduce clutter. Re-enable if necessary ----
125153
// {

packages/toolkit/.vscode/launch.json

Lines changed: 15 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,11 @@
2323
"envFile": "${workspaceFolder}/.local.env",
2424
"outFiles": ["${workspaceFolder}/dist/**/*.js", "${workspaceFolder}/../core/dist/**/*.js"],
2525
"preLaunchTask": "extensionInit",
26-
"postDebugTask": "extensionTerminate"
26+
"postDebugTask": "extensionTerminate",
27+
"presentation": {
28+
"group": "1_Extension",
29+
"order": 1
30+
}
2731
},
2832
{
2933
/** Handles the entire process of building and running the toolkit extension in the browser. **/
@@ -44,15 +48,23 @@
4448
**/
4549
"resolveSourceMapLocations": ["!**/node_modules/**", "!**/vs/**", "!**/extensions/**"],
4650
"preLaunchTask": "webRun",
47-
"postDebugTask": "webRunTerminate"
51+
"postDebugTask": "webRunTerminate",
52+
"presentation": {
53+
"group": "1_Extension",
54+
"order": 3
55+
}
4856
},
4957
{
5058
"name": "Test Lint",
5159
"type": "node",
5260
"request": "launch",
5361
"program": "${workspaceFolder}/scripts/lint/testLint.ts",
5462
"outFiles": ["${workspaceFolder}/dist/**/*.js"],
55-
"preLaunchTask": "${defaultBuildTask}"
63+
"preLaunchTask": "${defaultBuildTask}",
64+
"presentation": {
65+
"group": "7_TestLint",
66+
"order": 3
67+
}
5668
}
5769
// ---- We do not need the following currently, and we want to reduce clutter. Re-enable if necessary ----
5870
// {

0 commit comments

Comments
 (0)