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。

Logo

魔乐社区(Modelers.cn) 是一个中立、公益的人工智能社区,提供人工智能工具、模型、数据的托管、展示与应用协同服务,为人工智能开发及爱好者搭建开放的学习交流平台。社区通过理事会方式运作,由全产业链共同建设、共同运营、共同享有,推动国产AI生态繁荣发展。

更多推荐