后退 ctrl+q
前进 ctrl+w
{
"files.associations": {
"iostream": "cpp",
"ostream": "cpp",
"cstdio": "cpp",
"*.tcc": "cpp",
"cmath": "cpp",
"random": "cpp",
"vector": "cpp",
"deque": "cpp",
"forward_list": "cpp",
"list": "cpp",
"string": "cpp",
"unordered_map": "cpp",
"unordered_set": "cpp",
"system_error": "cpp",
"algorithm": "cpp"
},
"files.autoGuessEncoding": true,
"files.encoding": "gb2312",
"astyle.additional_languages": [
"c",
"cpp",
],
"astyle.cmd_options": [
"--style=java",//Kernighan&Ritchie 风格格式和缩进
"--indent=spaces=4",//缩进4个空格
"--convert-tabs",
"--align-pointer=name",
"--align-reference=name",
"--keep-one-line-statements",
"--pad-header",
"--pad-oper",//操作符两端插入一个空格
],
"code-runner.runInTerminal": true,
"code-runner.clearPreviousOutput": true,
"code-runner.saveFileBeforeRun": true,
"code-runner.executorMapByGlob": {
"*.js": "node",
"*.py": "python3"
},
"code-runner.preserveFocus": false,
"workbench.editor.enablePreview": false,
}
终端字体调整:https://blog.csdn.net/chenghai37/article/details/81417293
Consolas, 'Courier New', monospace