{
// =============================================================================================
"[markdown]": {
"editor.acceptSuggestionOnEnter": "off", // 是否回车接受建议
"editor.detectIndentation": false, // 是否检测文件tab,tab使用space替代时需要将其关闭
"editor.formatOnSave": false,
"editor.insertSpaces": true, //tab转为space
// 控制是否在键入时自动显示建议
"editor.quickSuggestions": {
"comments": true,
"other": true,
"strings": true
},
"editor.renderControlCharacters": true, //显示控制字符
"editor.renderWhitespace": "all", //显示space
"editor.snippetSuggestions": "top",
"editor.tabCompletion": "on", // tab补全
"editor.tabSize": 4 // tab对应的空格数
},
"[properties]": {
"editor.detectIndentation": false, // 是否检测文件tab,tab使用space替代时需要将其关闭
"editor.insertSpaces": true, //tab转为space
"editor.rulers": [
30,
80,
120
],
"editor.tabSize": 4 // tab对应的空格数
},
"[python]": {
"editor.defaultFormatter": "ms-python.python",
"editor.rulers": [
80,
100,
120,
150
]
},
// ==================================== [插件]C/C++ =============================================
"C_Cpp.clang_format_fallbackStyle": "{ BasedOnStyle: LLVM, IndentWidth: 4 }",
"C_Cpp.intelliSenseCacheSize": 0,
"C_Cpp.vcFormat.newLine.beforeElse": false,
"C_Cpp.vcFormat.newLine.beforeOpenBrace.block": "sameLine",
"C_Cpp.vcFormat.newLine.beforeOpenBrace.function": "sameLine",
"C_Cpp.vcFormat.newLine.closeBraceSameLine.emptyFunction": true,
"C_Cpp.vcFormat.newLine.closeBraceSameLine.emptyType": true,
"C_Cpp.vcFormat.space.afterCastCloseParenthesis": true,
"C_Cpp.vcFormat.space.beforeFunctionOpenParenthesis": "insert",
"C_Cpp.vcFormat.space.beforeInitializerListOpenBrace": true,
"C_Cpp.vcFormat.space.beforeLambdaOpenParenthesis": true,
"C_Cpp.vcFormat.space.betweenEmptyLambdaBrackets": true,
"C_Cpp.vcFormat.space.betweenEmptyParameterListParentheses": true,
// ================================ [插件]CodeRunner ============================================
// ![删除]
// =============================================================================================
"debug.console.fontSize": 20,
"editor.acceptSuggestionOnEnter": "off",
"editor.bracketPairColorization.enabled": true,
VSCode json 配置备份
于 2022-08-11 14:40:32 首次发布