source insight和vscode

source insight已经很好用了,但是界面还是vscode更花哨,vscode支持个性化的小插件安装,可能这也是它虽然能力不及SI但是使用人数更多的原因吧

Options-》preferences-》Color-》background

红绿蓝:199 237 195 护眼。

Source Insight前进和后退(返回上一步)快捷键

后退: Alt + ,
前进: Alt + .

vscode 高亮没有快捷键需要插件才能定制,函数引用需要掏钱升级专业版才能用,诸多不便。

配色如下:

{
    "window.zoomLevel": 1, //窗口.缩放级别
    "editor.tabSize": 2, //工作台主题颜色
    "typescript.updateImportsOnFileMove.enabled": "always",
    "editor.formatOnSave": 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.colorTheme": "Winter is Coming (Light)", //窗口.不启用菜单栏输入法,修改主题配色
    "workbench.colorTheme": "Default Light+",
    "workbench.colorCustomizations": {
        // 颜色设置
        // "foreground": "#75a478",
        "editor.background": "#C7EDCC",
        // "editor.background": "#c1d8ac",
        "sideBar.background": "#FAF9DE",
        "terminal.background": "#EAEAEF",
        "editor.selectionBackground": "#c4c139",
        "editor.selectionHighlightBackground": "#cbee0857"
    },
    "editor.tokenColorCustomizations": {
        "comments": "#3a7938d3" // 注释 S4SR-9G9Q-VGNN-HGNQ  嘿嘿不重要不重要,SI的码
    },
    "editor.fontSize": 12,
    "C_Cpp.enhancedColorization": "Enabled",
    "editor.semanticTokenColorCustomizations": {
        "enabled": true,
        "rules": {
            "variable.global": {
                "foreground": "#da1c91",
                "fontStyle": "bold"
            },
            "variable.local": {
                "foreground": "#3b67a0",
                "fontStyle": "bold"
            },
            "function": {
                "foreground": "#ff0000",
                "fontStyle": "bold"
            },
            "macro": {
                "foreground": "#2d99f1b9",
                "fontStyle": "bold"
            },
        }
    },
    "redhat.telemetry.enabled": true,
    "C_Cpp.updateChannel": "Insiders",
    "explorer.confirmDelete": false,
    "breadcrumbs.enabled": false,
    "security.workspace.trust.untrustedFiles": "open",
    "window.title": "${dirty}${activeEditorMedium}${separator}${rootName}${separator}${appName}",
    "cmake.configureOnOpen": true,
    "files.autoSave": "afterDelay",
}

settings.json配置如上,其中"C_Cpp.enhancedColorization": "Enabled",针对是也是一个app。

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

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值