vscode配置

{
    "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

Visual Studio Code Key Bindings 

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 1
    评论
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值