Add snippets
This commit is contained in:
parent
e462372892
commit
6c3ead7d65
2 changed files with 18 additions and 2 deletions
|
|
@ -4,3 +4,5 @@ snippet O0 Pragma to disable optimizations
|
|||
|
||||
#pragma GCC pop_options
|
||||
|
||||
snippet assertm Assert with a message
|
||||
assert(${condition} && "${message}");
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
snippet launch template of dap_config.json
|
||||
snippet dap_cpp template of dap_config.json
|
||||
{
|
||||
"version": "0.2.0",
|
||||
"configurations": [
|
||||
|
|
@ -7,7 +7,21 @@ snippet launch template of dap_config.json
|
|||
"request": "launch",
|
||||
"name": "Launch",
|
||||
"program": "./${exe}",
|
||||
"args": [],
|
||||
"args": []
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
snippet dap_python template of dap_config.json
|
||||
{
|
||||
"version": "0.2.0",
|
||||
"configurations": [
|
||||
{
|
||||
"type": "debugpy",
|
||||
"request": "launch",
|
||||
"name": "Launch",
|
||||
"program": "./${file}",
|
||||
"args": []
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue