json+ vscode

{
    "clangd.arguments": [
        "--background-index=false", // 改为false,明显加快outline的加载
        "--pch-storage=memory",     // 添加该选项,明显加快outline的加载
        "--log=error",
        "--header-insertion=never",
        "--clang-tidy",
        "--cross-file-rename=true",
        "--compile-commands-dir=${workspaceFolder}/build/"

    ],
    "clangd.fallbackFlags": [
        "${workspaceFolder}/include/"
    ]
    "clangd.path": "/usr/bin/clangd",
    "clangd.syncFileEvents": true,
    "C_Cpp.intelliSenseEngine": "Disabled",
    "C_Cpp.autocomplete": "Disabled",

    "files.maxMemoryForLargeFilesMB": 4096, // 增加内存对打文件的支持



}

 

posted on 2025-06-03 17:45  爱新觉罗玄烨  阅读(20)  评论(0)    收藏  举报

导航