Vscode 用户区的settings.json文件

{
    "editor.fontWeight": 800,
    "editor.fontSize": 18,
    "C_Cpp.clang_format_fallbackStyle": "WebKit", //如果使用样式 "file" 调用 clang 格式但是找不到 .clang 格式文件,则使用预定义的样式的名称作为回退
    "C_Cpp.clang_format_path": "D:\\Program Files\\LLVM\\bin\\clang-format.exe", //clang 格式可执行文件的完整路径
    "settingsSync.ignoredSettings": [
        "-C_Cpp.clang_format_path" //配置在同步时需要忽略的设置
    ], //若项目目录下有.clang-format,则定会调用。然后更改.clang-format中的BreakBeforeBraces:	Webkit为Allman元素,则格式全部更改。
    // "window.zoomLevel": -1, //窗口的缩放级别
    "workbench.colorTheme": "Default Light+", //工作台主题颜色
    "workbench.colorCustomizations": { // 颜色设置
        "editor.background": "#C7EDCC",
        "sideBar.background": "#FAF9DE",
        "terminal.background": "#EAEAEF"
    },
    "editor.renderControlCharacters": true,
    "http.proxySupport": "off",
    "editor.formatOnPaste": true, //粘贴的时候格式化
    "editor.formatOnSave": true, //保存的时候格式化
    "editor.codeActionsOnSave": {
        "source.fixAll": true,
        "source.organizeImports": true // import 导入排序
    },
    "editor.wordWrapColumn": 120, //一行最多120个字符
    "workbench.statusBar.visible": true,
    "remote.SSH.showLoginTerminal": true,
    "workbench.activityBar.visible": true,
    "workbench.sideBar.location": "left",
    "explorer.confirmDelete": false,
    "diffEditor.ignoreTrimWhitespace": false,
    "terminal.integrated.automationShell.windows": "D:\\Program Files\\Git\\bin\\bash.exe",
    "terminal.integrated.profiles.windows": {
        "Git-Bash": {
            "path": "D:\\Program Files\\Git\\bin\\bash.exe"
        }
    },
    "terminal.integrated.defaultProfile.windows": "Git-Bash",
    "files.autoGuessEncoding": true, //打开文件时,猜测字符集编码
    "git.path": "D:\\Program Files\\Git\\bin\\git.exe",
    /**/
    "editor.minimap.enabled": true,
    "C_Cpp.autocomplete": "Default",
    "[cpp]": {
        "editor.wordBasedSuggestions": true
    },
    "[c]": {
        "editor.wordBasedSuggestions": true
    }
}
  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 1
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值