Skip to content

Commit 3e35c08

Browse files
committed
refactor: clean up formatting in launch.json for better readability
1 parent 41dda56 commit 3e35c08

File tree

1 file changed

+72
-75
lines changed

1 file changed

+72
-75
lines changed

.vscode/launch.json

Lines changed: 72 additions & 75 deletions
Original file line numberDiff line numberDiff line change
@@ -1,81 +1,78 @@
11
{
2-
// Use IntelliSense to learn about possible attributes.
3-
// Hover to view descriptions of existing attributes.
4-
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
5-
"version": "0.2.0",
6-
"inputs": [
2+
// Use IntelliSense to learn about possible attributes.
3+
// Hover to view descriptions of existing attributes.
4+
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
5+
"version": "0.2.0",
6+
"inputs": [
7+
{
8+
"id": "tag",
9+
"description": "Enter the tag to run",
10+
"type": "pickString",
11+
"options": [
12+
"@smoke",
13+
"@rule1 or @smoke",
14+
"@keyword-asterisk",
15+
"@result:UNDEFINED",
16+
"@result:FAILED",
17+
"@fail_feature"
18+
]
19+
},
20+
{
21+
"id": "features",
22+
"description": "Enter the tag to run",
23+
"type": "pickString",
24+
"options": [
25+
"cucumber_cpp/example/features",
26+
"cucumber_cpp/acceptance_test/features"
27+
]
28+
}
29+
],
30+
"configurations": [
31+
{
32+
"name": "Debug Test",
33+
"type": "cppdbg",
34+
"request": "launch",
35+
"program": "${command:cmake.launchTargetPath}",
36+
"stopAtEntry": false,
37+
"cwd": "${workspaceFolder}",
38+
"environment": [],
39+
"externalConsole": false,
40+
"MIMode": "gdb",
41+
"setupCommands": [
742
{
8-
"id": "tag",
9-
"description": "Enter the tag to run",
10-
"type": "pickString",
11-
"options": [
12-
"@smoke",
13-
"@rule1 or @smoke",
14-
"@keyword-asterisk",
15-
"@result:UNDEFINED",
16-
"@result:FAILED",
17-
"@fail_feature"
18-
]
19-
},
20-
{
21-
"id": "features",
22-
"description": "Enter the tag to run",
23-
"type": "pickString",
24-
"options": [
25-
"cucumber_cpp/example/features",
26-
"cucumber_cpp/acceptance_test/features"
27-
]
43+
"description": "Enable pretty-printing for gdb",
44+
"text": "-enable-pretty-printing",
45+
"ignoreFailures": true
2846
}
29-
],
30-
"configurations": [
31-
{
32-
"name": "Debug Test",
33-
"type": "cppdbg",
34-
"request": "launch",
35-
"program": "${command:cmake.launchTargetPath}",
36-
"stopAtEntry": false,
37-
"cwd": "${workspaceFolder}",
38-
"environment": [],
39-
"externalConsole": false,
40-
"MIMode": "gdb",
41-
"setupCommands": [
42-
{
43-
"description": "Enable pretty-printing for gdb",
44-
"text": "-enable-pretty-printing",
45-
"ignoreFailures": true
46-
}
47-
]
48-
},
47+
]
48+
},
49+
{
50+
"name": "(gdb) Launch",
51+
"type": "cppdbg",
52+
"request": "launch",
53+
"program": "${command:cmake.launchTargetPath}",
54+
"args": [
55+
"run",
56+
"--feature",
57+
"${input:features}",
58+
"--report",
59+
"console",
60+
"junit-xml",
61+
"--tag",
62+
"${input:tag}"
63+
],
64+
"stopAtEntry": false,
65+
"cwd": "${workspaceFolder}",
66+
"environment": [],
67+
"externalConsole": false,
68+
"MIMode": "gdb",
69+
"setupCommands": [
4970
{
50-
"name": "(gdb) Launch",
51-
"type": "cppdbg",
52-
"request": "launch",
53-
"program": "${command:cmake.launchTargetPath}",
54-
"args": [
55-
"run",
56-
"--feature",
57-
"${input:features}",
58-
"--report",
59-
"console",
60-
"junit-xml",
61-
// "--com",
62-
// "COMx",
63-
// "--nordic",
64-
"--tag",
65-
"${input:tag}"
66-
],
67-
"stopAtEntry": false,
68-
"cwd": "${workspaceFolder}",
69-
"environment": [],
70-
"externalConsole": false,
71-
"MIMode": "gdb",
72-
"setupCommands": [
73-
{
74-
"description": "Enable pretty-printing for gdb",
75-
"text": "-enable-pretty-printing",
76-
"ignoreFailures": true
77-
}
78-
]
71+
"description": "Enable pretty-printing for gdb",
72+
"text": "-enable-pretty-printing",
73+
"ignoreFailures": true
7974
}
80-
]
75+
]
76+
}
77+
]
8178
}

0 commit comments

Comments
 (0)