{
"window.zoomLevel": 1, //窗口.缩放级别
"editor.tabSize": "4", //工作台主题颜色
"typescript.updateImportsOnFileMove.enabled": "always",
"breadcrumbs.enabled": false, // 开启 vscode 文件路径导航
// "tslint.autoFixOnSave": true, // #每次保存的时候将代码按tslint格式进行修复
"eslint.autoFixOnSave": true, // #每次保存的时候将代码按eslint格式进行修复
// "prettier.semi": false,//prettier 设置语句末尾不加分号
"prettier.singleQuote": true, // prettier 设置强制单引号
//"vetur.format.defaultFormatter.js": "vscode-typescript", // #让vue中的js按编辑器自带的ts格式进行格式化
//"window.enableMenuBarMnemonics": false,
//"liveServer.settings.donotShowInfoMsg": true,
"workbench.colorCustomizations": { // 颜色设置
// "foreground": "#75a478",
"editor.background": "#C7EDCC",
// "editor.background": "#c1d8ac",
"sideBar.background": "#FAF9DE",
"terminal.background": "#EAEAEF",
"editor.selectionHighlightBackground": "#dd6b4e",
},
"editor.fontLigatures": null,
"editor.suggestSelection": "first",
//"vsintellicode.modify.editor.suggestSelection": "automaticallyOverrodeDefaultValue",
//"editor.autoIndent": "keep",
"editor.wordWrap": "wordWrapColumn",
"editor.acceptSuggestionOnEnter": "off",
"editor.insertSpaces": true,
"editor.lineNumbers": "on",
"editor.rulers": [120],
"workbench.colorTheme": "Visual Studio Light",
/* "[markdown]": {
"editor.formatOnSave": false,
"editor.wordWrap": "on",
"editor.renderWhitespace": "all",
"editor.acceptSuggestionOnEnter": "off"
},*/
/*"editor.formatOnType": false,
"editor.formatOnSave": false,*/
"C_Cpp.clang_format_style": "{ BasedOnStyle: LLVM,IndentWidth: 4, TabWidth: 4,}",
"editor.wordWrap": "off",
"diffEditor.wordWrap": "off",
"cmake.configureOnOpen": true,
/*"C_Cpp.clang_format_fallbackStyle": "{ BasedOnStyle: Google,}",*/
/*"C_Cpp.vcFormat.wrap.preserveBlocks": "never",
"vim.textwidth": 120,
"C_Cpp.vcFormat.newLine.beforeOpenBrace.namespace":"newLine",
"C_Cpp.vcFormat.newLine.beforeOpenBrace.type":"newLine",
"C_Cpp.vcFormat.newLine.beforeOpenBrace.function":"newLine",
"C_Cpp.vcFormat.newLine.beforeOpenBrace.block":"newLine",
"C_Cpp.vcFormat.newLine.beforeOpenBrace.lambda":"newLine",
"C_Cpp.vcFormat.newLine.scopeBracesOnSeparateLines":true,
"C_Cpp.vcFormat.newLine.closeBraceSameLine.emptyType":true,
"C_Cpp.vcFormat.newLine.closeBraceSameLine.emptyFunction":true,
"C_Cpp.vcFormat.newLine.beforeCatch":true,
"C_Cpp.vcFormat.newLine.beforeElse":true,
"C_Cpp.vcFormat.newLine.beforeWhileInDoWhile": true,*/
}
快捷键
https://code.visualstudio.com/shortcuts/keyboard-shortcuts-windows.pdf
https://code.visualstudio.com/shortcuts/keyboard-shortcuts-linux.pdf