Skip to content

"Find all references" constantly re-invoked, and "[Warning] Some references may be missing, because workspace parsing was incomplete when Find All References was started." keeps popping up. #13147

Description

@0tii

Environment

  • OS and Version: Windows 11
  • VS Code Version: 1.96.2
  • C/C++ Extension Version: 1.22.11 and 1.23.3
  • If using SSH remote, specify OS of remote machine: /

Bug Summary and Steps to Reproduce

Bug Summary:

Basically my C++ extension constantly re-invokes Find All References and iterates very slowly over the files. I have a pretty beefy computer (R9, RTX 3080, proper SSDs) so I doubt it's got hardware issues.

This always pops up:
Image

As well as this error:

Image

Causing me, more often than not, to not be able to do a simple refactor of a method name upon other problems:

Image

To be clear, I have followed almost every guide out there and tried a lot of approaches:

  • registered CMake as my configuration provider without providing includePath in the c_cpp_properties
  • did the same but with includePath
  • used only includePath
  • explicitly excluded the build/ folder from the c_cpp extension in the settings
  • did so with and without a path to the compiler
  • scoured the microsoft doc for the c_cpp_properties
  • created a new VSCode profile and set up the whole environment with the most bare extensions for the job

Steps to reproduce:

  1. Open any CMake / C++ project with my VSCode install
  2. see this is happening (i doubt this is a common problem as i barely find any resources of it happenign to others)

Expected behavior:

I would like for this to not happen :/

Configuration and Logs

Config (this is as mentioned above just the last state, I have tried a lot of different configurations)


{
    "configurations": [
        {
            "name": "Win32",
            "defines": [],
            "includePath": [
                "${workspaceFolder}/src/**",
                "${workspaceFolder}/../Deps/**"
            ],
            "compilerPath": "C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.29.30133/bin/Hostx64/x64/cl.exe",
            "cStandard": "c11",
            "cppStandard": "c++20",
            "intelliSenseMode": "msvc-x64",
            "configurationProvider": "ms-vscode.cmake-tools"
        }
    ],
    "version": 4
}


___________________________________________


Diagnostic Log C/C++ Extension:


-------- Diagnostics - 1/14/2025, 6:28:48 PM
Version: 1.22.11
Current Configuration:
{
    "name": "Win32",
    "defines": [],
    "includePath": [
        "h:/Projects/AbandonedCrypt/LearnOpenGL/src/**",
        "h:/Projects/AbandonedCrypt/LearnOpenGL/../Deps/**"
    ],
    "compilerPath": "C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.29.30133/bin/Hostx64/x64/cl.exe",
    "cStandard": "c11",
    "cppStandard": "c++20",
    "intelliSenseMode": "msvc-x64",
    "configurationProvider": "ms-vscode.cmake-tools",
    "compilerPathIsExplicit": true,
    "cStandardIsExplicit": true,
    "cppStandardIsExplicit": true,
    "intelliSenseModeIsExplicit": true,
    "compilerPathInCppPropertiesJson": "C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.29.30133/bin/Hostx64/x64/cl.exe",
    "configurationProviderInCppPropertiesJson": "ms-vscode.cmake-tools",
    "mergeConfigurations": false,
    "browse": {
        "path": [
            "h:/Projects/AbandonedCrypt/LearnOpenGL/src/**",
            "h:/Projects/AbandonedCrypt/LearnOpenGL/../Deps/**",
            "${workspaceFolder}"
        ],
        "limitSymbolsToIncludedHeaders": true
    }
}
Modified Settings:
{
    "C_Cpp.files.exclude": {
        "**/.vscode": true,
        "**/.vs": true,
        "**/.vscode/templates/**": true,
        "**/build/**": true
    },
    "C_Cpp.loggingLevel": "None"
}
Additional Tracked Settings:
{
    "editorTabSize": 4,
    "editorInsertSpaces": true,
    "editorAutoClosingBrackets": "languageDefined",
    "filesEncoding": "utf8",
    "filesAssociations": {
        "*.erd": "json",
        "*.vuerd": "json",
        "*.php": "php",
        "*.uss": "css",
        "*.rh": "cpp",
        "algorithm": "cpp",
        "atomic": "cpp",
        "fstream": "cpp",
        "functional": "cpp",
        "limits": "cpp",
        "system_error": "cpp",
        "type_traits": "cpp",
        "typeinfo": "cpp",
        "xmemory": "cpp",
        "xstring": "cpp",
        "xutility": "cpp",
        "list": "cpp",
        "vector": "cpp",
        "initializer_list": "cpp",
        "iomanip": "cpp",
        "iterator": "cpp",
        "memory": "cpp",
        "ostream": "cpp",
        "tuple": "cpp",
        "unordered_map": "cpp",
        "utility": "cpp",
        "xfacet": "cpp",
        "xhash": "cpp",
        "xlocale": "cpp",
        "xlocbuf": "cpp",
        "iostream": "cpp",
        "bit": "cpp",
        "cctype": "cpp",
        "clocale": "cpp",
        "cmath": "cpp",
        "compare": "cpp",
        "concepts": "cpp",
        "cstdarg": "cpp",
        "cstddef": "cpp",
        "cstdint": "cpp",
        "cstdio": "cpp",
        "cstdlib": "cpp",
        "cstring": "cpp",
        "ctime": "cpp",
        "cwchar": "cpp",
        "exception": "cpp",
        "ios": "cpp",
        "iosfwd": "cpp",
        "istream": "cpp",
        "locale": "cpp",
        "new": "cpp",
        "sstream": "cpp",
        "stdexcept": "cpp",
        "streambuf": "cpp",
        "string": "cpp",
        "xiosbase": "cpp",
        "xlocinfo": "cpp",
        "xlocmes": "cpp",
        "xlocmon": "cpp",
        "xlocnum": "cpp",
        "xloctime": "cpp",
        "xstddef": "cpp",
        "xtr1common": "cpp",
        "charconv": "cpp",
        "filesystem": "cpp",
        "forward_list": "cpp",
        "optional": "cpp",
        "chrono": "cpp",
        "format": "cpp",
        "map": "cpp",
        "mutex": "cpp",
        "ratio": "cpp",
        "stop_token": "cpp",
        "thread": "cpp",
        "xtree": "cpp",
        "array": "cpp",
        "span": "cpp",
        "numeric": "cpp"
    },
    "filesExclude": {
        "**/.git": true,
        "**/.svn": true,
        "**/.hg": true,
        "**/CVS": true,
        "**/.DS_Store": true,
        "**/Thumbs.db": true,
        "**/.vscode/templates/**": true
    },
    "filesAutoSaveAfterDelay": false,
    "editorInlayHintsEnabled": true,
    "editorParameterHintsEnabled": true,
    "searchExclude": {
        "**/node_modules": true,
        "**/bower_components": true,
        "**/*.code-search": true
    },
    "workbenchSettingsEditor": "ui"
}
Custom browse configuration: 
{
    "browsePath": [
        "h:/projects/abandonedcrypt/learnopengl/src",
        "h:/projects/abandonedcrypt/deps/include",
        "h:/projects/abandonedcrypt/deps/src",
        "h:/projects/abandonedcrypt/learnopengl/src/renderer/camera",
        "h:/projects/abandonedcrypt/learnopengl/src/renderer/color",
        "h:/projects/abandonedcrypt/learnopengl/src/renderer/shader",
        "h:/projects/abandonedcrypt/learnopengl/src/renderer/transform",
        "h:/projects/abandonedcrypt/learnopengl/src/renderer/window",
        "h:/projects/abandonedcrypt/deps/include/stbi",
        "h:/projects/abandonedcrypt/learnopengl/build/cmakefiles/56804f3b87f85f6f407308848f88f6ba"
    ],
    "compilerPath": "c:/program files (x86)/microsoft visual studio/2019/community/vc/tools/msvc/14.29.30133/bin/hostx86/x64/cl.exe",
    "compilerArgs": [],
    "compilerFragments": []
}
cpptools version (native): 1.22.11.0
Current database path: C:\USERS\DANIEL\APPDATA\LOCAL\MICROSOFT\VSCODE-CPPTOOLS\23E0E526361A0B2B0FB9C2E8DCDC3CA4\.BROWSE.VC.DB
No active translation units.

------- Workspace parsing diagnostics -------
Number of files discovered (not excluded): 5412


___________________________________________

Language Server Logging:


LSP: $/cancelRequest (cpptools/findAllReferences, id: 16)
LSP: (received) cpptools/findAllReferences: file:///h%3A/Projects/AbandonedCrypt/LearnOpenGL/src/main.cpp (id: 17)
LSP: (invoked) cpptools/findAllReferences: file:///h%3A/Projects/AbandonedCrypt/LearnOpenGL/src/main.cpp (id: 17)
LSP: Request canceled by server (<unknown/completed>, code: -32802, id: 16)
LSP: $/cancelRequest (cpptools/findAllReferences, id: 17)
LSP: (received) cpptools/findAllReferences: file:///h%3A/Projects/AbandonedCrypt/LearnOpenGL/src/main.cpp (id: 18)
LSP: (invoked) cpptools/findAllReferences: file:///h%3A/Projects/AbandonedCrypt/LearnOpenGL/src/main.cpp (id: 18)
LSP: Request canceled by server (<unknown/completed>, code: -32802, id: 17)
LSP: $/cancelRequest (cpptools/findAllReferences, id: 18)
LSP: (received) cpptools/findAllReferences: file:///h%3A/Projects/AbandonedCrypt/LearnOpenGL/src/main.cpp (id: 19)
LSP: (invoked) cpptools/findAllReferences: file:///h%3A/Projects/AbandonedCrypt/LearnOpenGL/src/main.cpp (id: 19)
LSP: Request canceled by server (<unknown/completed>, code: -32802, id: 18)
LSP: $/cancelRequest (cpptools/findAllReferences, id: 19)
LSP: (received) cpptools/findAllReferences: file:///h%3A/Projects/AbandonedCrypt/LearnOpenGL/src/main.cpp (id: 20)
LSP: (invoked) cpptools/findAllReferences: file:///h%3A/Projects/AbandonedCrypt/LearnOpenGL/src/main.cpp (id: 20)
LSP: Request canceled by server (<unknown/completed>, code: -32802, id: 19)
LSP: $/cancelRequest (cpptools/findAllReferences, id: 20)
LSP: (received) cpptools/findAllReferences: file:///h%3A/Projects/AbandonedCrypt/LearnOpenGL/src/main.cpp (id: 21)
LSP: (invoked) cpptools/findAllReferences: file:///h%3A/Projects/AbandonedCrypt/LearnOpenGL/src/main.cpp (id: 21)
LSP: Request canceled by server (<unknown/completed>, code: -32802, id: 20)
LSP: $/cancelRequest (cpptools/findAllReferences, id: 21)
LSP: (received) cpptools/findAllReferences: file:///h%3A/Projects/AbandonedCrypt/LearnOpenGL/src/main.cpp (id: 22)
LSP: (invoked) cpptools/findAllReferences: file:///h%3A/Projects/AbandonedCrypt/LearnOpenGL/src/main.cpp (id: 22)
LSP: Request canceled by server (<unknown/completed>, code: -32802, id: 21)
LSP: $/cancelRequest (cpptools/findAllReferences, id: 22)
LSP: (received) cpptools/findAllReferences: file:///h%3A/Projects/AbandonedCrypt/LearnOpenGL/src/main.cpp (id: 23)
LSP: (invoked) cpptools/findAllReferences: file:///h%3A/Projects/AbandonedCrypt/LearnOpenGL/src/main.cpp (id: 23)
LSP: Request canceled by server (<unknown/completed>, code: -32802, id: 22)
LSP: $/cancelRequest (cpptools/findAllReferences, id: 23)
LSP: (received) cpptools/findAllReferences: file:///h%3A/Projects/AbandonedCrypt/LearnOpenGL/src/main.cpp (id: 24)
LSP: (invoked) cpptools/findAllReferences: file:///h%3A/Projects/AbandonedCrypt/LearnOpenGL/src/main.cpp (id: 24)
LSP: Request canceled by server (<unknown/completed>, code: -32802, id: 23)
LSP: $/cancelRequest (cpptools/findAllReferences, id: 24)
LSP: (received) cpptools/findAllReferences: file:///h%3A/Projects/AbandonedCrypt/LearnOpenGL/src/main.cpp (id: 25)
LSP: (invoked) cpptools/findAllReferences: file:///h%3A/Projects/AbandonedCrypt/LearnOpenGL/src/main.cpp (id: 25)
LSP: Request canceled by server (<unknown/completed>, code: -32802, id: 24)
LSP: $/cancelRequest (cpptools/findAllReferences, id: 25)
LSP: (received) cpptools/findAllReferences: file:///h%3A/Projects/AbandonedCrypt/LearnOpenGL/src/main.cpp (id: 26)
LSP: (invoked) cpptools/findAllReferences: file:///h%3A/Projects/AbandonedCrypt/LearnOpenGL/src/main.cpp (id: 26)
LSP: Request canceled by server (<unknown/completed>, code: -32802, id: 25)
LSP: $/cancelRequest (cpptools/findAllReferences, id: 26)
LSP: (received) cpptools/findAllReferences: file:///h%3A/Projects/AbandonedCrypt/LearnOpenGL/src/main.cpp (id: 27)
LSP: (invoked) cpptools/findAllReferences: file:///h%3A/Projects/AbandonedCrypt/LearnOpenGL/src/main.cpp (id: 27)
LSP: Request canceled by server (<unknown/completed>, code: -32802, id: 26)
LSP: $/cancelRequest (cpptools/findAllReferences, id: 27)
LSP: (received) cpptools/findAllReferences: file:///h%3A/Projects/AbandonedCrypt/LearnOpenGL/src/main.cpp (id: 28)
LSP: (invoked) cpptools/findAllReferences: file:///h%3A/Projects/AbandonedCrypt/LearnOpenGL/src/main.cpp (id: 28)
LSP: Request canceled by server (<unknown/completed>, code: -32802, id: 27)
LSP: $/cancelRequest (cpptools/findAllReferences, id: 28)
LSP: (received) cpptools/findAllReferences: file:///h%3A/Projects/AbandonedCrypt/LearnOpenGL/src/main.cpp (id: 29)
LSP: (invoked) cpptools/findAllReferences: file:///h%3A/Projects/AbandonedCrypt/LearnOpenGL/src/main.cpp (id: 29)
LSP: Request canceled by server (<unknown/completed>, code: -32802, id: 28)
LSP: $/cancelRequest (cpptools/findAllReferences, id: 29)
LSP: (received) cpptools/findAllReferences: file:///h%3A/Projects/AbandonedCrypt/LearnOpenGL/src/main.cpp (id: 30)
LSP: (invoked) cpptools/findAllReferences: file:///h%3A/Projects/AbandonedCrypt/LearnOpenGL/src/main.cpp (id: 30)
LSP: Request canceled by server (<unknown/completed>, code: -32802, id: 29)
LSP: $/cancelRequest (cpptools/findAllReferences, id: 30)
LSP: (received) cpptools/findAllReferences: file:///h%3A/Projects/AbandonedCrypt/LearnOpenGL/src/main.cpp (id: 31)
LSP: (invoked) cpptools/findAllReferences: file:///h%3A/Projects/AbandonedCrypt/LearnOpenGL/src/main.cpp (id: 31)
LSP: Request canceled by server (<unknown/completed>, code: -32802, id: 30)
LSP: $/cancelRequest (cpptools/findAllReferences, id: 31)
LSP: (received) cpptools/findAllReferences: file:///h%3A/Projects/AbandonedCrypt/LearnOpenGL/src/main.cpp (id: 32)
LSP: (invoked) cpptools/findAllReferences: file:///h%3A/Projects/AbandonedCrypt/LearnOpenGL/src/main.cpp (id: 32)
LSP: Request canceled by server (<unknown/completed>, code: -32802, id: 31)
LSP: $/cancelRequest (cpptools/findAllReferences, id: 32)
LSP: (received) cpptools/findAllReferences: file:///h%3A/Projects/AbandonedCrypt/LearnOpenGL/src/main.cpp (id: 33)
LSP: (invoked) cpptools/findAllReferences: file:///h%3A/Projects/AbandonedCrypt/LearnOpenGL/src/main.cpp (id: 33)
LSP: Request canceled by server (<unknown/completed>, code: -32802, id: 32)
LSP: $/cancelRequest (cpptools/findAllReferences, id: 33)
LSP: (received) cpptools/findAllReferences: file:///h%3A/Projects/AbandonedCrypt/LearnOpenGL/src/main.cpp (id: 34)
LSP: (invoked) cpptools/findAllReferences: file:///h%3A/Projects/AbandonedCrypt/LearnOpenGL/src/main.cpp (id: 34)
LSP: Request canceled by server (<unknown/completed>, code: -32802, id: 33)
LSP: $/cancelRequest (cpptools/findAllReferences, id: 34)
LSP: (received) cpptools/findAllReferences: file:///h%3A/Projects/AbandonedCrypt/LearnOpenGL/src/main.cpp (id: 35)
LSP: (invoked) cpptools/findAllReferences: file:///h%3A/Projects/AbandonedCrypt/LearnOpenGL/src/main.cpp (id: 35)
LSP: Request canceled by server (<unknown/completed>, code: -32802, id: 34)
LSP: $/cancelRequest (cpptools/findAllReferences, id: 35)
LSP: (received) cpptools/findAllReferences: file:///h%3A/Projects/AbandonedCrypt/LearnOpenGL/src/main.cpp (id: 36)
LSP: (invoked) cpptools/findAllReferences: file:///h%3A/Projects/AbandonedCrypt/LearnOpenGL/src/main.cpp (id: 36)
LSP: Request canceled by server (<unknown/completed>, code: -32802, id: 35)
LSP: $/cancelRequest (cpptools/findAllReferences, id: 36)
LSP: (received) cpptools/findAllReferences: file:///h%3A/Projects/AbandonedCrypt/LearnOpenGL/src/main.cpp (id: 37)
LSP: (invoked) cpptools/findAllReferences: file:///h%3A/Projects/AbandonedCrypt/LearnOpenGL/src/main.cpp (id: 37)
LSP: Request canceled by server (<unknown/completed>, code: -32802, id: 36)
LSP: $/cancelRequest (cpptools/findAllReferences, id: 37)
LSP: (received) cpptools/findAllReferences: file:///h%3A/Projects/AbandonedCrypt/LearnOpenGL/src/main.cpp (id: 38)
LSP: (invoked) cpptools/findAllReferences: file:///h%3A/Projects/AbandonedCrypt/LearnOpenGL/src/main.cpp (id: 38)
LSP: Request canceled by server (<unknown/completed>, code: -32802, id: 37)
LSP: $/cancelRequest (cpptools/findAllReferences, id: 38)
LSP: (received) cpptools/findAllReferences: file:///h%3A/Projects/AbandonedCrypt/LearnOpenGL/src/main.cpp (id: 39)
LSP: (invoked) cpptools/findAllReferences: file:///h%3A/Projects/AbandonedCrypt/LearnOpenGL/src/main.cpp (id: 39)
LSP: Request canceled by server (<unknown/completed>, code: -32802, id: 38)
LSP: $/cancelRequest (cpptools/findAllReferences, id: 39)
LSP: (received) cpptools/findAllReferences: file:///h%3A/Projects/AbandonedCrypt/LearnOpenGL/src/main.cpp (id: 40)
LSP: (invoked) cpptools/findAllReferences: file:///h%3A/Projects/AbandonedCrypt/LearnOpenGL/src/main.cpp (id: 40)
LSP: Request canceled by server (<unknown/completed>, code: -32802, id: 39)
LSP: $/cancelRequest (cpptools/findAllReferences, id: 40)
LSP: (received) cpptools/findAllReferences: file:///h%3A/Projects/AbandonedCrypt/LearnOpenGL/src/main.cpp (id: 41)
LSP: (invoked) cpptools/findAllReferences: file:///h%3A/Projects/AbandonedCrypt/LearnOpenGL/src/main.cpp (id: 41)
LSP: Request canceled by server (<unknown/completed>, code: -32802, id: 40)
LSP: $/cancelRequest (cpptools/findAllReferences, id: 41)
LSP: (received) cpptools/findAllReferences: file:///h%3A/Projects/AbandonedCrypt/LearnOpenGL/src/main.cpp (id: 42)
LSP: (invoked) cpptools/findAllReferences: file:///h%3A/Projects/AbandonedCrypt/LearnOpenGL/src/main.cpp (id: 42)
LSP: Request canceled by server (<unknown/completed>, code: -32802, id: 41)
LSP: $/cancelRequest (cpptools/findAllReferences, id: 42)
LSP: (received) cpptools/findAllReferences: file:///h%3A/Projects/AbandonedCrypt/LearnOpenGL/src/main.cpp (id: 43)
LSP: (invoked) cpptools/findAllReferences: file:///h%3A/Projects/AbandonedCrypt/LearnOpenGL/src/main.cpp (id: 43)
LSP: Request canceled by server (<unknown/completed>, code: -32802, id: 42)
LSP: $/cancelRequest (cpptools/findAllReferences, id: 43)
LSP: (received) cpptools/findAllReferences: file:///h%3A/Projects/AbandonedCrypt/LearnOpenGL/src/main.cpp (id: 44)
LSP: (invoked) cpptools/findAllReferences: file:///h%3A/Projects/AbandonedCrypt/LearnOpenGL/src/main.cpp (id: 44)
LSP: Request canceled by server (<unknown/completed>, code: -32802, id: 43)
LSP: $/cancelRequest (cpptools/findAllReferences, id: 44)
LSP: (received) cpptools/findAllReferences: file:///h%3A/Projects/AbandonedCrypt/LearnOpenGL/src/main.cpp (id: 45)
LSP: (invoked) cpptools/findAllReferences: file:///h%3A/Projects/AbandonedCrypt/LearnOpenGL/src/main.cpp (id: 45)
LSP: Request canceled by server (<unknown/completed>, code: -32802, id: 44)
LSP: $/cancelRequest (cpptools/findAllReferences, id: 45)
LSP: (received) cpptools/findAllReferences: file:///h%3A/Projects/AbandonedCrypt/LearnOpenGL/src/main.cpp (id: 46)
LSP: (invoked) cpptools/findAllReferences: file:///h%3A/Projects/AbandonedCrypt/LearnOpenGL/src/main.cpp (id: 46)
LSP: Request canceled by server (<unknown/completed>, code: -32802, id: 45)
LSP: $/cancelRequest (cpptools/findAllReferences, id: 46)
LSP: (received) cpptools/findAllReferences: file:///h%3A/Projects/AbandonedCrypt/LearnOpenGL/src/main.cpp (id: 47)
LSP: (invoked) cpptools/findAllReferences: file:///h%3A/Projects/AbandonedCrypt/LearnOpenGL/src/main.cpp (id: 47)
LSP: Request canceled by server (<unknown/completed>, code: -32802, id: 46)
LSP: $/cancelRequest (cpptools/findAllReferences, id: 47)
LSP: (received) cpptools/findAllReferences: file:///h%3A/Projects/AbandonedCrypt/LearnOpenGL/src/main.cpp (id: 48)
LSP: (invoked) cpptools/findAllReferences: file:///h%3A/Projects/AbandonedCrypt/LearnOpenGL/src/main.cpp (id: 48)
LSP: Request canceled by server (<unknown/completed>, code: -32802, id: 47)
LSP: (received) cpptools/didChangeVisibleTextEditors
LSP: (invoked) cpptools/didChangeVisibleTextEditors
LSP: (received) cpptools/getCodeActions: file:///h%3A/Projects/AbandonedCrypt/LearnOpenGL/src/renderer/shader/Shader.cpp (id: 49)
LSP: (invoked) cpptools/getCodeActions: file:///h%3A/Projects/AbandonedCrypt/LearnOpenGL/src/renderer/shader/Shader.cpp (id: 49)
LSP: Sending response (id: 49)
LSP: (received) cpptools/didChangeVisibleTextEditors
LSP: (invoked) cpptools/didChangeVisibleTextEditors
Intellisense update pending for: file:///h%3A/Projects/AbandonedCrypt/LearnOpenGL/src/renderer/shader/Shader.cpp
LSP: (received) cpptools/didChangeActiveEditor: file:///h%3A/Projects/AbandonedCrypt/LearnOpenGL/src/renderer/shader/Shader.cpp
LSP: (invoked) cpptools/didChangeActiveEditor: file:///h%3A/Projects/AbandonedCrypt/LearnOpenGL/src/renderer/shader/Shader.cpp
LSP: (received) cpptools/getDocumentSymbols: file:///h%3A/Projects/AbandonedCrypt/LearnOpenGL/src/renderer/shader/Shader.cpp (id: 50)
LSP: (invoked) cpptools/getDocumentSymbols: file:///h%3A/Projects/AbandonedCrypt/LearnOpenGL/src/renderer/shader/Shader.cpp (id: 50)
LSP: Sending response (id: 50)
LSP: $/cancelRequest (cpptools/findAllReferences, id: 48)
LSP: (received) cpptools/findAllReferences: file:///h%3A/Projects/AbandonedCrypt/LearnOpenGL/src/renderer/shader/Shader.cpp (id: 51)
LSP: (invoked) cpptools/findAllReferences: file:///h%3A/Projects/AbandonedCrypt/LearnOpenGL/src/renderer/shader/Shader.cpp (id: 51)
LSP: Request canceled by server (<unknown/completed>, code: -32802, id: 48)
LSP: (received) cpptools/getFoldingRanges: file:///h%3A/Projects/AbandonedCrypt/LearnOpenGL/src/renderer/shader/Shader.cpp (id: 52)
LSP: (invoked) cpptools/getFoldingRanges: file:///h%3A/Projects/AbandonedCrypt/LearnOpenGL/src/renderer/shader/Shader.cpp (id: 52)
LSP: Sending response (id: 52)
Update IntelliSense time (sec): 1.569
LSP: (received) cpptools/getFoldingRanges: file:///h%3A/Projects/AbandonedCrypt/LearnOpenGL/src/renderer/shader/Shader.cpp (id: 53)
LSP: (invoked) cpptools/getFoldingRanges: file:///h%3A/Projects/AbandonedCrypt/LearnOpenGL/src/renderer/shader/Shader.cpp (id: 53)
LSP: Sending response (id: 53)
Requesting a custom configuration for: H:\PROJECTS\ABANDONEDCRYPT\LEARNOPENGL\SRC\RENDERER\SHADER\SHADER.CPP
Custom configurations received:
  uri: file:///h%3A/Projects/AbandonedCrypt/LearnOpenGL/src/renderer/shader/Shader.cpp
  config: {
  "includePath": [
    "h:/projects/abandonedcrypt/learnopengl/src",
    "h:/projects/abandonedcrypt/deps/include"
  ],
  "defines": [
    "GLM_FORCE_DEFAULT_ALIGNED_GENTYPES"
  ],
  "compilerPath": "c:/program files (x86)/microsoft visual studio/2019/community/vc/tools/msvc/14.29.30133/bin/hostx86/x64/cl.exe",
  "compilerArgs": [],
  "compilerFragments": [
    "/DWIN32 /D_WINDOWS /GR /EHsc /Zi /Ob0 /Od /RTC1 -std:c++20 -MDd"
  ]
}
LSP: (received) cpptools/didChangeCustomConfigurationHighPriority
LSP: (invoked) cpptools/didChangeCustomConfigurationHighPriority
LSP: (received) cpptools/didChangeCustomConfiguration
LSP: (received) cpptools/finishedRequestCustomConfig: file:///h%3A/Projects/AbandonedCrypt/LearnOpenGL/src/renderer/shader/Shader.cpp
Received a custom configuration for: file:///h%3A/Projects/AbandonedCrypt/LearnOpenGL/src/renderer/shader/Shader.cpp
LSP: (invoked) cpptools/finishedRequestCustomConfig: file:///h%3A/Projects/AbandonedCrypt/LearnOpenGL/src/renderer/shader/Shader.cpp
LSP: (invoked) cpptools/didChangeCustomConfiguration
LSP: $/cancelRequest (cpptools/findAllReferences, id: 51)
LSP: (received) cpptools/findAllReferences: file:///h%3A/Projects/AbandonedCrypt/LearnOpenGL/src/renderer/shader/Shader.cpp (id: 54)
LSP: (invoked) cpptools/findAllReferences: file:///h%3A/Projects/AbandonedCrypt/LearnOpenGL/src/renderer/shader/Shader.cpp (id: 54)
LSP: $/cancelRequest (cpptools/findAllReferences, id: 54)
LSP: (received) cpptools/findAllReferences: file:///h%3A/Projects/AbandonedCrypt/LearnOpenGL/src/renderer/shader/Shader.cpp (id: 55)
LSP: (invoked) cpptools/findAllReferences: file:///h%3A/Projects/AbandonedCrypt/LearnOpenGL/src/renderer/shader/Shader.cpp (id: 55)
LSP: Request canceled by server (<unknown/completed>, code: -32802, id: 54)
LSP: $/cancelRequest (cpptools/findAllReferences, id: 55)
LSP: (received) cpptools/findAllReferences: file:///h%3A/Projects/AbandonedCrypt/LearnOpenGL/src/renderer/shader/Shader.cpp (id: 56)
LSP: (invoked) cpptools/findAllReferences: file:///h%3A/Projects/AbandonedCrypt/LearnOpenGL/src/renderer/shader/Shader.cpp (id: 56)
LSP: Request canceled by server (<unknown/completed>, code: -32802, id: 55)
LSP: $/cancelRequest (cpptools/findAllReferences, id: 56)
LSP: (received) cpptools/findAllReferences: file:///h%3A/Projects/AbandonedCrypt/LearnOpenGL/src/renderer/shader/Shader.cpp (id: 57)
LSP: (invoked) cpptools/findAllReferences: file:///h%3A/Projects/AbandonedCrypt/LearnOpenGL/src/renderer/shader/Shader.cpp (id: 57)
LSP: Request canceled by server (<unknown/completed>, code: -32802, id: 56)
LSP: $/cancelRequest (cpptools/findAllReferences, id: 57)
LSP: (received) cpptools/findAllReferences: file:///h%3A/Projects/AbandonedCrypt/LearnOpenGL/src/renderer/shader/Shader.cpp (id: 58)
LSP: (invoked) cpptools/findAllReferences: file:///h%3A/Projects/AbandonedCrypt/LearnOpenGL/src/renderer/shader/Shader.cpp (id: 58)
LSP: Request canceled by server (<unknown/completed>, code: -32802, id: 57)
LSP: $/cancelRequest (cpptools/findAllReferences, id: 58)
LSP: (received) cpptools/findAllReferences: file:///h%3A/Projects/AbandonedCrypt/LearnOpenGL/src/renderer/shader/Shader.cpp (id: 59)
LSP: (invoked) cpptools/findAllReferences: file:///h%3A/Projects/AbandonedCrypt/LearnOpenGL/src/renderer/shader/Shader.cpp (id: 59)
LSP: Request canceled by server (<unknown/completed>, code: -32802, id: 58)
LSP: $/cancelRequest (cpptools/findAllReferences, id: 59)
LSP: (received) cpptools/findAllReferences: file:///h%3A/Projects/AbandonedCrypt/LearnOpenGL/src/renderer/shader/Shader.cpp (id: 60)
LSP: (invoked) cpptools/findAllReferences: file:///h%3A/Projects/AbandonedCrypt/LearnOpenGL/src/renderer/shader/Shader.cpp (id: 60)
LSP: Request canceled by server (<unknown/completed>, code: -32802, id: 59)
LSP: $/cancelRequest (cpptools/findAllReferences, id: 60)
LSP: (received) cpptools/findAllReferences: file:///h%3A/Projects/AbandonedCrypt/LearnOpenGL/src/renderer/shader/Shader.cpp (id: 61)
LSP: (invoked) cpptools/findAllReferences: file:///h%3A/Projects/AbandonedCrypt/LearnOpenGL/src/renderer/shader/Shader.cpp (id: 61)
LSP: Request canceled by server (<unknown/completed>, code: -32802, id: 60)
LSP: $/cancelRequest (cpptools/findAllReferences, id: 61)
LSP: (received) cpptools/findAllReferences: file:///h%3A/Projects/AbandonedCrypt/LearnOpenGL/src/renderer/shader/Shader.cpp (id: 62)
LSP: (invoked) cpptools/findAllReferences: file:///h%3A/Projects/AbandonedCrypt/LearnOpenGL/src/renderer/shader/Shader.cpp (id: 62)
LSP: Request canceled by server (<unknown/completed>, code: -32802, id: 61)
LSP: $/cancelRequest (cpptools/findAllReferences, id: 62)
LSP: (received) cpptools/findAllReferences: file:///h%3A/Projects/AbandonedCrypt/LearnOpenGL/src/renderer/shader/Shader.cpp (id: 63)
LSP: (invoked) cpptools/findAllReferences: file:///h%3A/Projects/AbandonedCrypt/LearnOpenGL/src/renderer/shader/Shader.cpp (id: 63)
LSP: Request canceled by server (<unknown/completed>, code: -32802, id: 62)
LSP: $/cancelRequest (cpptools/findAllReferences, id: 63)
LSP: (received) cpptools/findAllReferences: file:///h%3A/Projects/AbandonedCrypt/LearnOpenGL/src/renderer/shader/Shader.cpp (id: 64)
LSP: (invoked) cpptools/findAllReferences: file:///h%3A/Projects/AbandonedCrypt/LearnOpenGL/src/renderer/shader/Shader.cpp (id: 64)
LSP: Request canceled by server (<unknown/completed>, code: -32802, id: 63)
LSP: $/cancelRequest (cpptools/findAllReferences, id: 64)
LSP: (received) cpptools/findAllReferences: file:///h%3A/Projects/AbandonedCrypt/LearnOpenGL/src/renderer/shader/Shader.cpp (id: 65)
LSP: (invoked) cpptools/findAllReferences: file:///h%3A/Projects/AbandonedCrypt/LearnOpenGL/src/renderer/shader/Shader.cpp (id: 65)
LSP: Request canceled by server (<unknown/completed>, code: -32802, id: 64)
sending compilation args for H:\Projects\AbandonedCrypt\LearnOpenGL\src\renderer\shader\Shader.cpp
  include: H:\PROJECTS\ABANDONEDCRYPT\LEARNOPENGL\SRC
  include: H:\PROJECTS\ABANDONEDCRYPT\DEPS\INCLUDE
  system include: C:\PROGRAM FILES (X86)\MICROSOFT VISUAL STUDIO\2019\COMMUNITY\VC\TOOLS\MSVC\14.29.30133\INCLUDE
  system include: C:\PROGRAM FILES (X86)\MICROSOFT VISUAL STUDIO\2019\COMMUNITY\VC\TOOLS\MSVC\14.29.30133\ATLMFC\INCLUDE
  system include: C:\PROGRAM FILES (X86)\WINDOWS KITS\10\INCLUDE\10.0.19041.0\UM
  system include: C:\PROGRAM FILES (X86)\WINDOWS KITS\10\INCLUDE\10.0.19041.0\UCRT
  system include: C:\PROGRAM FILES (X86)\WINDOWS KITS\10\INCLUDE\10.0.19041.0\SHARED
  system include: C:\PROGRAM FILES (X86)\WINDOWS KITS\10\INCLUDE\10.0.19041.0\WINRT
  system include: C:\PROGRAM FILES (X86)\WINDOWS KITS\10\INCLUDE\10.0.19041.0\CPPWINRT
  define: _DEBUG
  define: _MT
  define: _DLL
  define: GLM_FORCE_DEFAULT_ALIGNED_GENTYPES
  define: WIN32
  define: _WINDOWS
  other: --rtti
  stdver: ms_c++20
  intelliSenseMode: windows-msvc-x64

Other Extensions

the issue persisted on a fresh new profile with only the c++ extension and the c++ extension pack

Additional context

No response

Activity

  1. sean-mcmanus commented on Jan 15, 2025

    @sean-mcmanus
    Contributor

    Daniel Rauhut (@0tii) The warning output window appearing should be fixed with 1.23.3.

    We don't know what could be causing the Find All References to be invoked. Do you have any other extensions installed that could be invoking it? If you set your C_Cpp.loggingLevel to "Debug" (temporarily) can you see what logging occurs before the find all references related logging?

  2. sean-mcmanus commented on Jan 15, 2025

    @sean-mcmanus
    Contributor

    Daniel Rauhut (@0tii) Can you review you VS Code settings for ones with a goToReferences fallback value, such as

    Image

    Could you be invoking one of those actions? If so, you can change the setting to not trigger goToReferences.

  3. sean-mcmanus commented on Jan 15, 2025

    @sean-mcmanus
    Contributor

    Okay -- sorry, I didn't see you had provided the logging -- yeah, the find all references appears to be coming "out of nowhere". Do you repro the same issue with other workspaces/languages such as TypeScript or with our extension disabled?

  4. sean-mcmanus commented on Jan 15, 2025

    @sean-mcmanus
    Contributor

    Daniel Rauhut (@0tii) What logging do you see on startup with no files open initially and then doing a Reset IntelliSense Database command? Do you see it do some tag parsing and then finish using CPU? Does it trigger the find all refs with no files open?

    I'm thinking the warning message about "some references may be missing" (tag parsing not finished for the workspace) maybe related to root cause issue, since that is also not expected.

  5. 0tii commented on Jan 16, 2025

    @0tii
    Author

    Sean McManus (@sean-mcmanus) Thank you for your replies, it means a lot.

    I have created yet another new profile, installing not even any quality of life extensions and could confirm the extension working properly.

    So i ended up constantly switching between the profiles, removing extensions until I found a possible culprit.

    I wouldn't have expected it from an extension that does nothing but add a color picker to non-CSS files, but apparently the extension Color Picker Universal (jeronimoekerdt.color-picker-universal) causes this issue.

    With this extension installed, this is being spammed in the info log constantly:

    Image

    When uninstalling the extension, this stops happening and my refactors stop being canceled.

    Edit:

    I made an issue in the extensions repository and identified the likely cuplrit. This extension apparently constantly fires the vscode.executeReferenceProvider command, which I imagine re-triggers the find all references, resulting in incomplete workspace parsing and thus the specific errors i encountered.

  6. github-actions commented on Feb 16, 2025

    @github-actions

    Hey Sean McManus (@sean-mcmanus), this issue might need further attention.

    Daniel Rauhut (@0tii), you can help us out by closing this issue if the problem no longer exists, or adding more information.

  7. locked and limited conversation to collaborators on Apr 4, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Type

Projects

  • Status
    Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions