VSCode settings (#31582)
* base config * add launch.json * little more * cleanup * fix --------- Co-authored-by: Justin Newberry <jnewberry0502@gmail.com>pull/31585/head
parent
995250ae49
commit
96ce470b73
5 changed files with 71 additions and 2 deletions
@ -0,0 +1,7 @@ |
||||
{ |
||||
"recommendations": [ |
||||
"ms-python.python", |
||||
"ms-vscode.cpptools", |
||||
"elagil.pre-commit-helper", |
||||
] |
||||
} |
@ -0,0 +1,47 @@ |
||||
{ |
||||
"version": "0.2.0", |
||||
"inputs": [ |
||||
{ |
||||
"id": "python_process", |
||||
"type": "pickString", |
||||
"description": "Select the process to debug", |
||||
"options": [ |
||||
"selfdrive/controls/controlsd.py", |
||||
"selfdrive/navd/navd.py", |
||||
"system/timed/timed.py", |
||||
"tools/sim/run_bridge.py" |
||||
] |
||||
}, |
||||
{ |
||||
"id": "cpp_process", |
||||
"type": "pickString", |
||||
"description": "Select the process to debug", |
||||
"options": [ |
||||
"selfdrive/ui/ui" |
||||
] |
||||
}, |
||||
{ |
||||
"id": "args", |
||||
"description": "Arguments to pass to the process", |
||||
"type": "promptString" |
||||
} |
||||
], |
||||
"configurations": [ |
||||
{ |
||||
"name": "Python: openpilot Process", |
||||
"type": "debugpy", |
||||
"request": "launch", |
||||
"program": "${input:python_process}", |
||||
"console": "integratedTerminal", |
||||
"justMyCode": true, |
||||
"args": "${input:args}" |
||||
}, |
||||
{ |
||||
"name": "C++: openpilot Process", |
||||
"type": "cppdbg", |
||||
"request": "launch", |
||||
"program": "${workspaceFolder}/${input:cpp_process}", |
||||
"cwd": "${workspaceFolder}", |
||||
} |
||||
] |
||||
} |
@ -0,0 +1,16 @@ |
||||
{ |
||||
"editor.tabSize": 2, |
||||
"editor.insertSpaces": true, |
||||
"editor.renderWhitespace": "trailing", |
||||
"files.trimTrailingWhitespace": true, |
||||
"search.exclude": { |
||||
"**/.git": true, |
||||
"**/.venv": true, |
||||
"**/__pycache__": true |
||||
}, |
||||
"files.exclude": { |
||||
"**/.git": true, |
||||
"**/.venv": true, |
||||
"**/__pycache__": true |
||||
} |
||||
} |
Loading…
Reference in new issue