Skip to content

Commit 9137ecc

Browse files
committed
feat: configure vs code recommended extensions
1 parent ab591ae commit 9137ecc

File tree

2 files changed

+53
-60
lines changed

2 files changed

+53
-60
lines changed

.vscode/extensions.json

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"recommendations": [
3+
"vadimcn.vscode-lldb",
4+
"rust-lang.rust-analyzer",
5+
"serayuzgur.crates"
6+
]
7+
}

.vscode/launch.json

Lines changed: 46 additions & 60 deletions
Original file line numberDiff line numberDiff line change
@@ -1,64 +1,50 @@
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-
"configurations": [
7-
{
8-
"type": "lldb",
9-
"request": "launch",
10-
"name": "Debug unit tests in executable 'aoc'",
11-
"cargo": {
12-
"args": [
13-
"test",
14-
"--no-run",
15-
"--bin=aoc",
16-
"--package=aoc"
17-
],
18-
"filter": {
19-
"name": "aoc",
20-
"kind": "bin"
21-
}
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+
"configurations": [
7+
{
8+
"type": "lldb",
9+
"request": "launch",
10+
"name": "Debug unit tests in executable 'aoc'",
11+
"cargo": {
12+
"args": ["test", "--no-run", "--bin=aoc", "--package=aoc"],
13+
"filter": {
14+
"name": "aoc",
15+
"kind": "bin"
16+
}
17+
},
18+
"args": [],
19+
"cwd": "${workspaceFolder}"
2220
},
23-
"args": [],
24-
"cwd": "${workspaceFolder}"
25-
},
26-
{
27-
"type": "lldb",
28-
"request": "launch",
29-
"name": "Debug executable 'aoc'",
30-
"cargo": {
31-
"args": [
32-
"build",
33-
"--bin=aoc",
34-
"--package=aoc"
35-
],
36-
"filter": {
37-
"name": "aoc",
38-
"kind": "bin"
39-
}
40-
},
41-
"args": ["1"],
42-
"cwd": "${workspaceFolder}"
43-
},
44-
{
45-
"type": "lldb",
46-
"request": "launch",
47-
"name": "Debug unit tests in library 'aoc'",
48-
"cargo": {
49-
"args": [
50-
"test",
51-
"--no-run",
52-
"--lib",
53-
"--package=aoc"
54-
],
55-
"filter": {
56-
"name": "aoc",
57-
"kind": "lib"
58-
}
21+
{
22+
"type": "lldb",
23+
"request": "launch",
24+
"name": "Debug executable 'aoc'",
25+
"cargo": {
26+
"args": ["build", "--bin=aoc", "--package=aoc"],
27+
"filter": {
28+
"name": "aoc",
29+
"kind": "bin"
30+
}
31+
},
32+
"args": ["1"],
33+
"cwd": "${workspaceFolder}"
5934
},
60-
"args": [],
61-
"cwd": "${workspaceFolder}"
62-
}
63-
]
35+
{
36+
"type": "lldb",
37+
"request": "launch",
38+
"name": "Debug unit tests in library 'aoc'",
39+
"cargo": {
40+
"args": ["test", "--no-run", "--lib", "--package=aoc"],
41+
"filter": {
42+
"name": "aoc",
43+
"kind": "lib"
44+
}
45+
},
46+
"args": [],
47+
"cwd": "${workspaceFolder}"
48+
}
49+
]
6450
}

0 commit comments

Comments
 (0)