vscode一直不能跳转函数定义或者别的定义c_cpp_properties.json、settings.json

vscode好几天一直不能跳转函数定义或者别的定义,突然又好了。。。

c_cpp_properties.json

c 复制代码
{
    "configurations": [
        {
            "name": "windows-gcc-x86",
            "includePath": [
                "${workspaceFolder}/**",
                "D:/adas/ADAS_FUSION/ObjFusn/Source"
            ],
            "compilerPath": "D:/soft_install/MinGW/bin/gcc.exe",
            "cStandard": "c17",
            "cppStandard": "c++17",
            "intelliSenseMode": "windows-gcc-x86",
            "compilerArgs": [
                ""
            ]
        }
    ],
    "version": 4
}

settings.json

c 复制代码
{
  "C_Cpp_Runner.cCompilerPath": "gcc",
  "C_Cpp_Runner.cppCompilerPath": "g++",
  "C_Cpp_Runner.debuggerPath": "gdb",
  "C_Cpp_Runner.cStandard": "",
  "C_Cpp_Runner.cppStandard": "",
  "C_Cpp_Runner.msvcBatchPath": "",
  "C_Cpp_Runner.useMsvc": false,
  "C_Cpp_Runner.warnings": [
    "-Wall",
    "-Wextra",
    "-Wpedantic",
    "-Wshadow",
    "-Wformat=2",
    "-Wcast-align",
    "-Wconversion",
    "-Wsign-conversion",
    "-Wnull-dereference"
  ],
  "C_Cpp_Runner.msvcWarnings": [
    "/W4",
    "/permissive-",
    "/w14242",
    "/w14287",
    "/w14296",
    "/w14311",
    "/w14826",
    "/w44062",
    "/w44242",
    "/w14905",
    "/w14906",
    "/w14263",
    "/w44265",
    "/w14928"
  ],
  "C_Cpp_Runner.enableWarnings": true,
  "C_Cpp_Runner.warningsAsError": false,
  "C_Cpp_Runner.compilerArgs": [],
  "C_Cpp_Runner.linkerArgs": [],
  "C_Cpp_Runner.includePaths": [],
  "C_Cpp_Runner.includeSearch": [
    "*",
    "**/*"
  ],
  "C_Cpp_Runner.excludeSearch": [
    "**/build",
    "**/build/**",
    "**/.*",
    "**/.*/**",
    "**/.vscode",
    "**/.vscode/**"
  ],
  // "C_Cpp.intelliSenseEngine": "Tag Parser",
  "C_Cpp_Runner.useAddressSanitizer": false,
  "C_Cpp_Runner.useUndefinedSanitizer": false,
  "C_Cpp_Runner.useLeakSanitizer": false,
  "C_Cpp_Runner.showCompilationTime": false,
  "C_Cpp_Runner.useLinkTimeOptimization": false,
  "C_Cpp_Runner.msvcSecureNoWarnings": false,
  "files.associations": {
    "sfobjectfusionmpf_func.h": "c",
    "alvobjfusn_kinematics.h": "c",
    "alvobjfusn_vehicleparameters.h": "c",
    "objfusn_memmap.h": "c",
    "alv_prv_idprovider.h": "c",
    "stdio.h": "c"
  }
}
相关推荐
o(╥﹏╥)40 分钟前
在 Ubuntu 上安装 VS Code
linux·运维·vscode·ubuntu·vs
graceyun1 小时前
C语言初阶习题【9】数9的个数
c语言·开发语言
dingdingfish1 小时前
JSON 系列之1:将 JSON 数据存储在 Oracle 数据库中
oracle·json·database
18号房客2 小时前
macOS开发环境配置与应用开发教程(一)
vscode·macos·visualstudio·eclipse·intellij-idea·phpstorm·visual studio
weixin_423196172 小时前
VSCode+WSL作为IDE开发和管理深度学习项目
ide·vscode·编辑器
Schwertlilien3 小时前
图像处理-Ch5-图像复原与重建
c语言·开发语言·机器学习
糖朝3 小时前
c#读取json
c#·json
乐闻x3 小时前
VSCode 插件开发实战(八):创建和管理任务 Task
ide·vscode·编辑器
程序员buddha4 小时前
C语言从入门到放弃教程
c语言·开发语言
dingdingfish6 小时前
JSON 系列之2:JSON简单查询
oracle·json·database·19c·23ai