feat: configure vs code recommended extensions
This commit is contained in:
parent
ab591ae1e9
commit
9137ecc126
2 changed files with 53 additions and 60 deletions
7
.vscode/extensions.json
vendored
Normal file
7
.vscode/extensions.json
vendored
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
{
|
||||||
|
"recommendations": [
|
||||||
|
"vadimcn.vscode-lldb",
|
||||||
|
"rust-lang.rust-analyzer",
|
||||||
|
"serayuzgur.crates"
|
||||||
|
]
|
||||||
|
}
|
106
.vscode/launch.json
vendored
106
.vscode/launch.json
vendored
|
@ -1,64 +1,50 @@
|
||||||
{
|
{
|
||||||
// Use IntelliSense to learn about possible attributes.
|
// Use IntelliSense to learn about possible attributes.
|
||||||
// Hover to view descriptions of existing attributes.
|
// Hover to view descriptions of existing attributes.
|
||||||
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
|
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
|
||||||
"version": "0.2.0",
|
"version": "0.2.0",
|
||||||
"configurations": [
|
"configurations": [
|
||||||
{
|
{
|
||||||
"type": "lldb",
|
"type": "lldb",
|
||||||
"request": "launch",
|
"request": "launch",
|
||||||
"name": "Debug unit tests in executable 'aoc'",
|
"name": "Debug unit tests in executable 'aoc'",
|
||||||
"cargo": {
|
"cargo": {
|
||||||
"args": [
|
"args": ["test", "--no-run", "--bin=aoc", "--package=aoc"],
|
||||||
"test",
|
"filter": {
|
||||||
"--no-run",
|
"name": "aoc",
|
||||||
"--bin=aoc",
|
"kind": "bin"
|
||||||
"--package=aoc"
|
}
|
||||||
],
|
},
|
||||||
"filter": {
|
"args": [],
|
||||||
"name": "aoc",
|
"cwd": "${workspaceFolder}"
|
||||||
"kind": "bin"
|
|
||||||
}
|
|
||||||
},
|
},
|
||||||
"args": [],
|
{
|
||||||
"cwd": "${workspaceFolder}"
|
"type": "lldb",
|
||||||
},
|
"request": "launch",
|
||||||
{
|
"name": "Debug executable 'aoc'",
|
||||||
"type": "lldb",
|
"cargo": {
|
||||||
"request": "launch",
|
"args": ["build", "--bin=aoc", "--package=aoc"],
|
||||||
"name": "Debug executable 'aoc'",
|
"filter": {
|
||||||
"cargo": {
|
"name": "aoc",
|
||||||
"args": [
|
"kind": "bin"
|
||||||
"build",
|
}
|
||||||
"--bin=aoc",
|
},
|
||||||
"--package=aoc"
|
"args": ["1"],
|
||||||
],
|
"cwd": "${workspaceFolder}"
|
||||||
"filter": {
|
},
|
||||||
"name": "aoc",
|
{
|
||||||
"kind": "bin"
|
"type": "lldb",
|
||||||
|
"request": "launch",
|
||||||
|
"name": "Debug unit tests in library 'aoc'",
|
||||||
|
"cargo": {
|
||||||
|
"args": ["test", "--no-run", "--lib", "--package=aoc"],
|
||||||
|
"filter": {
|
||||||
|
"name": "aoc",
|
||||||
|
"kind": "lib"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"args": [],
|
||||||
|
"cwd": "${workspaceFolder}"
|
||||||
}
|
}
|
||||||
},
|
]
|
||||||
"args": ["1"],
|
|
||||||
"cwd": "${workspaceFolder}"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"type": "lldb",
|
|
||||||
"request": "launch",
|
|
||||||
"name": "Debug unit tests in library 'aoc'",
|
|
||||||
"cargo": {
|
|
||||||
"args": [
|
|
||||||
"test",
|
|
||||||
"--no-run",
|
|
||||||
"--lib",
|
|
||||||
"--package=aoc"
|
|
||||||
],
|
|
||||||
"filter": {
|
|
||||||
"name": "aoc",
|
|
||||||
"kind": "lib"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"args": [],
|
|
||||||
"cwd": "${workspaceFolder}"
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue