VS Code配置

{
  "google-translate.switchFunctionTranslation": true,
  "commentTranslate.targetLanguage": "zh-CN",
  "commentTranslate.multiLineMerge": true,
  "translateVariable.baiduAppid": "20220422001184920",
  "translateVariable.baiduKey": "1PXdnLwAqtqxQjFxfcnu",
  "EnglishChineseDictionary.enableHover": true,
  "merge-conflict.diffViewPosition": "Beside",
  "oneDarkPro.vivid": true,
  "editor.formatOnSave": true,
  "qtConfigure.qtDir": "d:\\Qt\\Qt5.14.0",
  "cmake.cmakePath": "cmake.exe",
  "explorer.confirmDelete": false,
  "explorer.confirmDragAndDrop": false,
  "files.autoSave": "afterDelay",
  "cmake.buildTask": true,
  "qttools.creator": "C:\\Qt6.0\\Tools\\QtCreator\\bin\\qtcreator.exe",
  "files.encoding": "utf8",
  "better-comments.highlightPlainText": true,
  "better-comments.tags": [
    {
      "tag": "TODO",
      "color": "#FF8C00",
      "strikethrough": false,
      "underline": false,
      "backgroundColor": "transparent",
      "bold": false,
      "italic": false
    },
    {
      "tag": "!",
      "color": "#FF2D00",
      "strikethrough": false,
      "underline": false,
      "backgroundColor": "transparent",
      "bold": false,
      "italic": false
    },
    {
      "tag": "?",
      "color": "#3498DB",
      "strikethrough": false,
      "underline": false,
      "backgroundColor": "transparent",
      "bold": false,
      "italic": false
    },
    {
      "tag": "//",
      "color": "#474747",
      "strikethrough": true,
      "underline": false,
      "backgroundColor": "transparent",
      "bold": false,
      "italic": false
    },
    {
      "tag": "todo",
      "color": "#FF8C00",
      "strikethrough": false,
      "underline": false,
      "backgroundColor": "transparent",
      "bold": false,
      "italic": false
    },
    {
      "tag": "*",
      "color": "#98C379",
      "strikethrough": false,
      "underline": false,
      "backgroundColor": "transparent",
      "bold": false,
      "italic": false
    }
  ],
  "doxdocgen.generic.authorName": "shijiaobing",
  "doxdocgen.generic.authorEmail": "shijb@guideir.com",
  "git.confirmSync": false,
  "betterAlign.alignAfterTypeEnter": true,
  "editor.rulers": [
    1200
  ],
  "editor.fontSize": 14,
  "editor.wordWrap": "wordWrapColumn",
  "editor.wordWrapColumn": 1200,
  "remote.SSH.remotePlatform": {
    "192.168.226.131": "linux"
  },
  "editor.mouseWheelZoom": true,
  "editor.suggest.shareSuggestSelections": true,
  "debug.console.acceptSuggestionOnEnter": "on",
  "editor.acceptSuggestionOnEnter": "smart",
  "C_Cpp.errorSquiggles": "enabled",
  "editor.minimap.maxColumn": 2000,
  "git.autofetch": true,
  "cmake.pinnedCommands": [
    "workbench.action.tasks.configureTaskRunner",
    "workbench.action.tasks.runTask"
  ],
  "workbench.iconTheme": "material-icon-theme",
  "[json]": {
    "editor.defaultFormatter": "vscode.json-language-features"
  },
  "C_Cpp.intelliSenseEngine": "disabled",
  "vsicons.dontShowNewVersionMessage": true,
  "marscode.codeCompletionPro": {
    "enableCodeCompletionPro": true
  },
  "clangd.path": "D:\\clangd-windows-18.1.3\\clangd_18.1.3\\bin\\clangd.exe",
  "cmake.showOptionsMovedNotification": false,
  "clangd.onConfigChanged": "restart",
  "editor.minimap.autohide": true,
  "cpp.creator.headerFileContentPreset": "#ifndef _{{*CLASSNAMEUPPER*}}_H_\n#define _{{*CLASSNAMEUPPER*}}_H_\n\nclass {{*CLASSNAME*}}\n{\npublic:\n    {{*CLASSNAME*}}();\n    ~{{*CLASSNAME*}}();\n\nprivate:\n\n};\n\n#endif //! _{{*CLASSNAMEUPPER*}}_H_",
  "cpp.creator.headerFileNamePreset": "{{*CLASSNAMELOWER*}}.h",
  "cpp.creator.sourceFileNamePreset": "{{*CLASSNAMELOWER*}}.cpp",
  "C_Cpp.default.cppStandard": "c++17",
  "workbench.colorTheme": "Default Dark+",
  "editor.tabSize": 6,
  // "editor.fontFamily": "\"Consolas, 'Courier New', monospace, 新宋体\"",Fira Code
  "editor.fontFamily": "新宋体",
  "editor.fontLigatures": true,
  "editor.fontWeight": "600",
  "gnuGlobal.encoding": "utf-8",
  "editor.tokenColorCustomizations": {
    "keywords": {
      "fontStyle": "italic bold",
      "foreground": "#ff028d",
    },
    "strings": {
      "fontStyle": "italic bold",
      "foreground": "#ff00f2",
    },
    "numbers": {
      "fontStyle": "bold",
      "foreground": "#ff00f2",
    },
    "functions": {
      "fontStyle": "italic bold",
      "foreground": "#79ee19"
    },
    // "variables": {
    //   "fontStyle": "italic bold",
    //   "foreground": "#f5f108"
    // },
    // "types": {
    //   "fontStyle": "italic bold",
    //   "foreground": "#eb735e"
    // },
    "comments": {
      "fontStyle": "italic",
      "foreground": "#7eda3352"
    },
  },
  "editor.semanticTokenColorCustomizations": {
    "enabled": true,
    "rules": {
      "namespace": "#ff0000", //命名空间
      "macro": { //宏定义
        "fontStyle": "italic bold",
        "foreground": "#ff00f2"
      },
      "function": { //函数
        "fontStyle": "italic bold",
        "foreground": "#79ee19",
      },
      "variable.global": { //全局变量
        "foreground": "#ff00f2",
      },
      "variable.local": { //局部变量
        "foreground": "#6e81ee",
      },
      "property": { //类成员变量
        "foreground": "#ffbe0a",
      },
      "*.static": { //静态成员变量
        "foreground": "#ff00f2",
      },
      "class": { //类
        "foreground": "#00ff4c",
      },
      "enum": { //枚举
        "foreground": "#ff00f2",
      },
      "enumMember": {
        "foreground": "#ff00f2",
      },
      "struct": { //结构体
        "foreground": "#ff00f2",
      },
      "*.global": { //全局的
        "foreground": "#ff00f2",
      },
      "*.local": { //局部的
        "foreground": "#6e81ee",
      },
      "parameter": { //函数参数
        "foreground": "#d9ff00",
      },
      "templateType": { //函数参数
        "foreground": "#ff0000",
      },
      "customLiteral": {
        "fontStyle": "italic bold",
        "foreground": "#f8fc0c"
      },
      "memberOperatorOverload": {
        "fontStyle": "italic bold",
        "foreground": "#09f399"
      },
      "operatorOverload": {
        "fontStyle": "italic bold",
        "foreground": "#09f399"
      },
      "operator": {
        "fontStyle": "italic bold",
        "foreground": "#09f399"
      },
      "cliProperty": {
        "fontStyle": "italic bold",
        "foreground": "#f8fc0c"
      },
      "cliParameter": {
        "fontStyle": "italic bold",
        "foreground": "#f8fc0c"
      },
      "method": {
        "fontStyle": "italic bold",
        "foreground": "#00e6f7"
      },
      "typeParameter": {
        "fontStyle": "italic bold",
        "foreground": "#ff7300"
      },
      "valueType": {
        "fontStyle": "italic bold",
        "foreground": "#ff7300"
      }
    },
  },
  "qtConfigure.mingwPath": "d:\\Qt\\Qt5.14.0/Tools/mingw730_64",
  "C_Cpp.formatting": "vcFormat",
  "[cpp]": {
    "editor.defaultFormatter": "llvm-vs-code-extensions.vscode-clangd"
  },
  "css.format.preserveNewLines": false,
  "explorer.confirmPasteNative": false,
}
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值