mirror of
https://github.com/RubyMetric/chsrc
synced 2025-06-27 23:18:30 +08:00
Use 4 spaces for JSON
This commit is contained in:
parent
789240dd2f
commit
21527184b6
@ -17,3 +17,7 @@ indent_style = tab
|
|||||||
|
|
||||||
[*.md]
|
[*.md]
|
||||||
trim_trailing_whitespace = true
|
trim_trailing_whitespace = true
|
||||||
|
|
||||||
|
# 使用 VS Code 生成文件的默认格式
|
||||||
|
[*.json]
|
||||||
|
indent_size = 4
|
||||||
|
60
.vscode/launch.json
vendored
60
.vscode/launch.json
vendored
@ -1,34 +1,34 @@
|
|||||||
{
|
{
|
||||||
"version": "0.2.0",
|
"version": "0.2.0",
|
||||||
"configurations": [
|
"configurations": [
|
||||||
{
|
|
||||||
"name": "开始Debug",
|
|
||||||
"type": "cppdbg",
|
|
||||||
"request": "launch",
|
|
||||||
"program": "${workspaceFolder}/chsrc-debug",
|
|
||||||
"args": [
|
|
||||||
"get",
|
|
||||||
"python"
|
|
||||||
],
|
|
||||||
"preLaunchTask": "构建 debug 版 chsrc",
|
|
||||||
"stopAtEntry": true,
|
|
||||||
"cwd": "${fileDirname}",
|
|
||||||
"environment": [],
|
|
||||||
"externalConsole": false,
|
|
||||||
"MIMode": "gdb",
|
|
||||||
// "miDebuggerPath": "/path/to/gdb",
|
|
||||||
"setupCommands": [
|
|
||||||
{
|
{
|
||||||
"description": "Enable pretty-printing for gdb",
|
"name": "开始Debug",
|
||||||
"text": "-enable-pretty-printing",
|
"type": "cppdbg",
|
||||||
"ignoreFailures": true
|
"request": "launch",
|
||||||
},
|
"program": "${workspaceFolder}/chsrc-debug",
|
||||||
{
|
"args": [
|
||||||
"description": "Set Disassembly Flavor to Intel",
|
"get",
|
||||||
"text": "-gdb-set disassembly-flavor intel",
|
"python"
|
||||||
"ignoreFailures": true
|
],
|
||||||
|
"preLaunchTask": "构建 debug 版 chsrc",
|
||||||
|
"stopAtEntry": true,
|
||||||
|
"cwd": "${fileDirname}",
|
||||||
|
"environment": [],
|
||||||
|
"externalConsole": false,
|
||||||
|
"MIMode": "gdb",
|
||||||
|
// "miDebuggerPath": "/path/to/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
|
||||||
|
}
|
||||||
|
]
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user