vscode仿照source insight配置备份

User setting

{
    "svn.enableProposedApi": "none",
    "files.eol": "\n",
    "files.exclude": {
        "**/.vscode": true
    },
    "vsicons.dontShowNewVersionMessage": true,
    "files.autoSave": "afterDelay",
    "workbench.iconTheme": "vscode-icons",
    "workbench.startupEditor": "newUntitledFile",
    "workbench.enableExperiments": false,
    "telemetry.enableCrashReporter": false,
    "C_Cpp.updateChannel": "Insiders",
    "C_Cpp.clang_format_sortIncludes": true,
    "editor.minimap.enabled": false,
    "workbench.colorCustomizations": {
        "list.inactiveSelectionBackground": "#C5DEF0",
        "sideBar.background": "#C5D2DE",
        "sideBar.foreground": "#0a0a0a",
        "editor.background": "#D2DED1",
        "editor.foreground": "#0c0101",
        "sideBarSectionHeader.background": "#CAC9C9",
        "sideBarSectionHeader.foreground": "#000000",
        "activityBar.border": "#FFFFFF",
        "statusBar.background": "#525357",
        "scrollbarSlider.activeBackground": "#77D4CB",
        "scrollbarSlider.hoverBackground": "#8CE6DA",
        "badge.background": "#81CA91"
    },
    "editor.tokenColorCustomizations": {
        "numbers": "#2247EB",
        "comments": "#800080",
        "functions": "#0D7C28",
        "variables": "#ff0000",
        "types": "#FF0000",
        "keywords": "#008030",
        "strings": "#66B6BB",
        "textMateRules": [
            {
                "scope":[
                    "comment",
                    "comment.block",
                    "comment.block.documentation",
                    "comment.line"
                ],
                "settings": {
                    "foreground": "#800080",
                    "fontStyle": "italic"
                }
            }
        ]
    },
    "editor.fontSize": 17,
    "workbench.colorTheme": "Default Light+",
    "editor.fontWeight": "500",
    "workbench.sideBar.location": "left",
    "window.zoomLevel": 0,
    "terminal.integrated.shell.windows": "C:\\Windows\\System32\\cmd.exe",
    "go.useLanguageServer": true
}

remote server setting

{
    // 该配置文件为系统全局配置文件
    // C/C++ 插件配置
    "C_Cpp.clang_format_path": "/usr/bin/clang-format",
    "C_Cpp.clang_format_style": "file",
    "C_Cpp.clang_format_fallbackStyle": "none",
    "C_Cpp.clang_format_sortIncludes": false,
    "C_Cpp.intelliSenseEngine": "Tag Parser",
    "C_Cpp.intelliSenseEngineFallback": "Enabled",
    "C_Cpp.default.cppStandard": "c++11",
    "C_Cpp.default.intelliSenseMode": "gcc-x64",
    "C_Cpp.default.cStandard": "c99",
    "C_Cpp.autoAddFileAssociations": true,
    "C_Cpp.configurationWarnings": "Enabled",
    "C_Cpp.default.systemIncludePath": [
        "/usr/include/c++/5",
        "/usr/include/x86_64-linux-gnu/c++/5",
        "/usr/include/c++/5/backward",
        "/usr/lib/gcc/x86_64-linux-gnu/5/include",
        "/usr/local/include", 
        "/usr/lib/gcc/x86_64-linux-gnu/5/include-fixed",
        "/usr/include/x86_64-linux-gnu",
        "/usr/include"
    ],
    "C_Cpp.formatting": "Default",
    "C_Cpp.errorSquiggles": "Enabled",
    "C_Cpp.autocomplete": "Disabled",
    "[cpp]": {
        "editor.quickSuggestions": true
    },
    "[c]": {
        "editor.quickSuggestions": true
    },
    // clang 插件配置
    "clang.executable": "/usr/bin/clang",
    "clang.diagnostic.enable": true,
    "clang.completion.enable": true,
    "clang.completion.triggerChars": [
        ".",
        ":",
        ">"
    ],
    // 编辑器相关配置
    "editor.defaultFormatter": "ms-vscode.cpptools",
    "editor.formatOnType": true,
    "editor.tabCompletion": "onlySnippets",
    "editor.fontSize": 17,
    "editor.tabSize": 4,
    "editor.insertSpaces": true,
    "editor.selectionHighlight": true,
    "editor.fontWeight": "500",
    // 相关类型文件屏蔽
    "files.exclude": {
        "**/.git": true,
        "**/.svn": true,
        "**/*.a": true,
        "**/*.o": true,
        "**/*.so": true,
        "**/*.so.*": true
    },
    "files.autoSave": "onFocusChange",
    "terminal.integrated.cwd": ".",
    "files.eol": "\n",
    "hexdump.sizeDisplay": 52428800,
    "git.alwaysShowStagedChangesResourceGroup": true,
    "workbench.editor.enablePreview": false,
    "workbench.enableExperiments": false,
    "search.exclude": {
        "**/node_modules": true,
        "**/bower_components": true,
        "**/.svn": true,
        "**/.git": true
    },
    "svn.path": "/usr/bin/svn",
    "include-autocomplete.extensions": [
        "",
        ".h",
        ".hpp",
        ".hxx",
        ".hh"
    ],
}
  • 0
    点赞
  • 2
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
### 回答1: VSCode 是一款功能强大的代码编辑器,而 Source Insight 是一款专业的代码阅读软件。要在 VSCode 中设置 Source Insight显示效果,需要进行以下步骤: 1. 首先,我们需要安装 VSCodeSource Insight。可以从官方网站下载它们,并按照提示安装到电脑上。 2. 打开 VSCode,点击左侧的扩展按钮,搜索并安装 "Source Insight" 扩展。这个扩展可以帮助 VSCodeSource Insight 进行集成。 3. 安装完成后,重新启动 VSCode。 4. 在 VSCode 中,点击 "文件" 菜单,选择 "首选项",再选择 "设置"。在搜索框中输入 "source insight",找到 "Source Insight: Executable Path" 选项。 5. 点击 "编辑 in settings.json" 按钮,将 Source Insight 的执行文件路径填入该选项。例如,如果安装在默认路径下,可填写 "C:\Program Files\Source Insight 4.0\SrcIns4.exe"。 6. 设置完路径后,保存并关闭设置文件。 7. 重新打开一个源代码文件,右键点击文件,选择 "Source Insight",再选择 "在 Source Insight 中打开"。VSCode 将会启动 Source Insight,并在顶部菜单中添加一个 Source Insight 的选项卡。 8. 在 Source Insight 中,可以根据个人需求设置字体、主题和布局等显示效果。可以通过点击 "菜单 - Options" 来进行相关设置调整。 以上是通过在 VSCode 中设置 Source Insight显示效果的方法。这样,我们就可以在 VSCode 中方便地编辑及查看代码,并享受到 Source Insight 提供的专业阅读功能。 ### 回答2: 要设置 VSCode显示 Source Insight 的效果,可以按照以下步骤进行操作: 第一步是在 VSCode 上安装适当的插件,以支持 Source Insight 的代码显示。在 VSCode 的扩展商店中,搜索并安装名为 "Source Insight" 的插件。 安装完成后,打开 VSCode,点击左侧的插件图标,找到 "Source Insight" 插件,点击它的设置按钮。 进入设置页面后,需要进行一些配置。首先,在 "Source Insight: Enabled" 选项中,将其设置为 true,以启用 Source Insight 插件。 接下来,找到 "Source Insight: Root Path" 选项,并将其设置为 Source Insight 的根目录的路径。这个路径是 Source Insight 安装的路径,一般是在 C 盘的 Program Files 文件夹下。 然后,在 "Source Insight: Font Family" 选项中,可以设置所需的字体样式。可以根据个人喜好,选择合适的字体。 最后,在 "Source Insight: Font Size" 选项中,可以设置代码的字体大小。同样,根据个人需要,选择一个适合的字体大小。 完成以上设置后,可以关闭设置页面,并重新打开一个源代码文件,即可在 VSCode 中看到 Source Insight显示效果了。代码高亮、函数跳转等功能都会生效,使得开发和阅读代码更加便捷。

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

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

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值