feat: configure vs code recommended extensions

This commit is contained in:
Felix Spöttel 2022-11-25 13:45:53 +00:00
parent ab591ae1e9
commit 9137ecc126
2 changed files with 53 additions and 60 deletions

7
.vscode/extensions.json vendored Normal file
View File

@ -0,0 +1,7 @@
{
"recommendations": [
"vadimcn.vscode-lldb",
"rust-lang.rust-analyzer",
"serayuzgur.crates"
]
}

106
.vscode/launch.json vendored
View File

@ -1,64 +1,50 @@
{
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"type": "lldb",
"request": "launch",
"name": "Debug unit tests in executable 'aoc'",
"cargo": {
"args": [
"test",
"--no-run",
"--bin=aoc",
"--package=aoc"
],
"filter": {
"name": "aoc",
"kind": "bin"
}
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"type": "lldb",
"request": "launch",
"name": "Debug unit tests in executable 'aoc'",
"cargo": {
"args": ["test", "--no-run", "--bin=aoc", "--package=aoc"],
"filter": {
"name": "aoc",
"kind": "bin"
}
},
"args": [],
"cwd": "${workspaceFolder}"
},
"args": [],
"cwd": "${workspaceFolder}"
},
{
"type": "lldb",
"request": "launch",
"name": "Debug executable 'aoc'",
"cargo": {
"args": [
"build",
"--bin=aoc",
"--package=aoc"
],
"filter": {
"name": "aoc",
"kind": "bin"
{
"type": "lldb",
"request": "launch",
"name": "Debug executable 'aoc'",
"cargo": {
"args": ["build", "--bin=aoc", "--package=aoc"],
"filter": {
"name": "aoc",
"kind": "bin"
}
},
"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}"
}
},
"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}"
}
]
]
}