add .vscode/

This commit is contained in:
Florian Lüke 2024-12-25 18:28:28 +01:00
parent f2c36fec77
commit ba54b5ff19
3 changed files with 65 additions and 1 deletions

1
.gitignore vendored
View file

@ -6,6 +6,5 @@ CMakeLists.txt.user*
compile_commands.json
**/*.swo
**/*.swp
.vscode/
.venv
*.pyc

59
.vscode/launch.json vendored Normal file
View file

@ -0,0 +1,59 @@
{
// 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": [
{
"name": "mana_auto_replay",
"type": "cppdbg",
"request": "launch",
"program": "${workspaceFolder}/build/mana_auto_replay",
"args": ["~/Documents/is690-9Li_3H_run094_241020_124254_part001.zip"],
"stopAtEntry": false,
"cwd": "${fileDirname}",
"environment": [],
"externalConsole": false,
"MIMode": "gdb",
"setupCommands": [
{
"description": "Enable pretty-printing for gdb",
"text": "-enable-pretty-printing",
"ignoreFailures": true
},
{
"description": "Set Disassembly Flavor to Intel",
"text": "-gdb-set disassembly-flavor intel",
"ignoreFailures": true
}
]
},
{
"name": "(gdb) mvlc-mini-daq",
"type": "cppdbg",
"request": "launch",
"program": "${workspaceFolder}/build/mvlc-mini-daq",
"args": [
"--no-listfile",
"~/Documents/mvme-workspaces/dev-workspace/mtdc_001.yaml"
],
"stopAtEntry": false,
"cwd": "${workspaceFolder}/build",
"environment": [],
"externalConsole": false,
"MIMode": "gdb",
"setupCommands": [
{
"description": "Enable pretty-printing for gdb",
"text": "-enable-pretty-printing",
"ignoreFailures": true
},
{
"description": "Set Disassembly Flavor to Intel",
"text": "-gdb-set disassembly-flavor intel",
"ignoreFailures": true
}
]
}
]
}

6
.vscode/settings.json vendored Normal file
View file

@ -0,0 +1,6 @@
{
"python.analysis.extraPaths": [
"./build"
],
"editor.formatOnSave": true
}