Open bobbrow opened 3 years ago
Interesting scenario, I didn't see this happen before. Let's start with the logs, even if you said nothing interesting seems to be recorded there. Set both cmake.loggingLevel and C_Cpp.loggingLevel to "Debug". Then try to reproduce your scenario. When you see the red squiggles you can copy the output channels of the CMake and Cpp Tools extensions and share within this GitHub issue.
Happens to me, too. Didn't manage to reproduce this reliably, and couldn't find something interresting in the logs when it happened, neither. Currently trying if using compile_commands.json directly is a reliable (but inconvenient) workaround.
I switch to using compile_commands.json directly, too, and this seems to work reliably for me. I'll try to reproduce the problem nonetheless.
Thank you for helping us fix this by providing a repro. Ideally you wouldn't use compile_commands.json, but CMake Tools provider.
OK, I did quite a bit of testing. The problem still seems to be completely random. Is it some kind of race condition perhaps? Any kind of build command has a good chance of triggering the problem. Build, clean build, clean, etc, doesn't seem to matter.
Here's what I observed:
Hope that helps.
OK, here's a hopefully correct reduced trace of what I can see in the logs:
Checking for syntax errors: file:///path/to/bla.cpp
Queueing IntelliSense update for files in translation unit of: /path/to/bla.cpp
cpptools/finishUpdateSquiggles
Error squiggle count: 0
Update IntelliSense time (sec): 0.255
[...]
[Build event triggered]
[...]
cpptools/didChangeCustomConfiguration
Attempting to get defaults from C++ compiler in "compilerPath" property: '/usr/bin/clang++-11'
sending compilation args for /path/to/bla.cpp
include: /usr/include/c++/10
include: /usr/include/c++/10/x86_64-redhat-linux
include: /usr/include/c++/10/backward
include: /usr/local/include
include: /usr/lib64/clang/11.0.0/include
include: /usr/include
[...]
[notably, project-specific include paths are missing!]
[...]
Checking for syntax errors: file:///path/to/bla.cpp
Queueing IntelliSense update for files in translation unit of: /path/to/bla.cpp
cpptools/queryTranslationUnitSource: file:///path/to/bla.cpp (id: 1583)
cpptools/finishUpdateSquiggles
Error squiggle count: 22
Error squiggles will be disabled in: file:///path/to/bla.cpp
Update IntelliSense time (sec): 7.104
I didn't try to reproduce this again this week but in general, we never saw this, it would help if you can send us a repro, maybe some special situation triggers it. If the trigger is in your system, we'll have to work with you to debug on your side. But it's worth to try a project repro first, in case the trigger is in the project.
In the cpptools log, any of the cpptools/* events that have the word "custom" in them would be relevant to us. It would be good to know whether cpptools is clearing the configuration already sent by CMake Tools.
I have the same problem, all information aren't set to cpptools. In fact I noticed the problem only in headers, and I noticed that the cmake configuration isn't provided for the headers files. It looks like this :
envoi des arguments de compilation pour D:\DOCUMENTS\PROG PERSO\REPRO BUG CPPTOOLS + CMAKETOOLS\SRC\SUBFOLDER1\UTILS3.H
inclusion : C:\PROGRAM FILES (X86)\MICROSOFT VISUAL STUDIO\2019\ENTERPRISE\VC\TOOLS\MSVC\14.25.28610\INCLUDE
inclusion : C:\PROGRAM FILES (X86)\MICROSOFT VISUAL STUDIO\2019\ENTERPRISE\VC\TOOLS\MSVC\14.25.28610\ATLMFC\INCLUDE
inclusion : C:\PROGRAM FILES (X86)\WINDOWS KITS\10\INCLUDE\10.0.18362.0\UM
inclusion : C:\PROGRAM FILES (X86)\WINDOWS KITS\10\INCLUDE\10.0.18362.0\UCRT
inclusion : C:\PROGRAM FILES (X86)\WINDOWS KITS\10\INCLUDE\10.0.18362.0\SHARED
inclusion : C:\PROGRAM FILES (X86)\WINDOWS KITS\10\INCLUDE\10.0.18362.0\WINRT
inclusion : C:\PROGRAM FILES (X86)\WINDOWS KITS\10\INCLUDE\10.0.18362.0\CPPWINRT
définition : _DEBUG
définition : UNICODE
définition : _UNICODE
autre : --header_only_fallback
stdver: ms_c++17
intelliSenseMode: windows-msvc-x64
while in a source file, in the same project than the header file, it looks like this :
envoi des arguments de compilation pour D:\DOCUMENTS\PROG PERSO\REPRO BUG CPPTOOLS + CMAKETOOLS\SRC\MAIN.CPP
inclusion : D:\DOCUMENTS\PROG PERSO\REPRO BUG CPPTOOLS + CMAKETOOLS\BUILD\CMAKE_UTILS
inclusion : C:\PROGRAM FILES\LLVM\LIB\CLANG\11.0.1\INCLUDE
inclusion : C:\PROGRAM FILES (X86)\MICROSOFT VISUAL STUDIO\2019\ENTERPRISE\VC\TOOLS\MSVC\14.25.28610\INCLUDE
inclusion : C:\PROGRAM FILES (X86)\MICROSOFT VISUAL STUDIO\2019\ENTERPRISE\VC\TOOLS\MSVC\14.25.28610\ATLMFC\INCLUDE
inclusion : C:\PROGRAM FILES (X86)\WINDOWS KITS\10\INCLUDE\10.0.18362.0\UCRT
inclusion : C:\PROGRAM FILES (X86)\WINDOWS KITS\10\INCLUDE\10.0.18362.0\SHARED
inclusion : C:\PROGRAM FILES (X86)\WINDOWS KITS\10\INCLUDE\10.0.18362.0\UM
inclusion : C:\PROGRAM FILES (X86)\WINDOWS KITS\10\INCLUDE\10.0.18362.0\WINRT
définition : __llvm__=1
définition : __clang__=1
définition : __clang_major__=11
définition : __clang_minor__=0
définition : __clang_patchlevel__=1
définition : __clang_version__="11.0.1 "
[...]
définition : HELLO <- define added manually in cmakelists.txt
définition : _DEBUG
définition : _DLL
définition : _MT
définition : _DEBUG
définition : _DLL
définition : _MT
autre : --ms_extensions
autre : --clang
autre : --clang_version=110001
stdver: c++17
intelliSenseMode: windows-clang-x64
I configured cmake tool to run with clang. And in the config given to the header file, it gives the includes of msvc instead, with no defines made by cmake.
@BluTree the issue you are likely seeing is that you didn't add your header files to your CMakeLists.txt, so CMake doesn't report them as having their own configuration. CppTools likely asked for a configuration, but CMake Tools didn't have one available so CppTools used the default configuration.
@grigorig , @Torgee , do you happen to reproduce this on a project that is already open source or which can be easily shared on GitHub? It would help us find the root cause faster.
Unfortunately, I'm only working with this on a proprietary project right now. It's a few million lines c++ and configures about 60s and builds 20min, so makes it a little hard to parse any logs - even if I would have more time to look into it ... C++17 with vs2019 and ninja. All I can say for now is:
I'll see if I can check whether I also have this issue on linux with the same project - this will take a few days, tho
Same here, I don't have any OSS project that is affected, sorry.
I have an OSS project which (I believe) exhibits this problem reliably. I've been unable to produce a minimum code sample, but at the very least you can reproduce the issue by configuring this project in VSCode, then opening Engine/include/Enterprise/Graphics.h
directly.
Here's what I've been able to determine about the issue:
#include
statements in the header are affected except for standard headers.Here's the C/C++ debug diagnostics when an affected file is opened:
-------- Diagnostics - 8/31/2022, 1:26:16 PM
Version: 1.12.3
Current Configuration:
{
"name": "Win32",
"includePath": [
"${workspaceFolder}/Engine/include",
"${workspaceFolder}/Engine/vendor/CTSpookyHash/include",
"${workspaceFolder}/Engine/vendor/cxx-prettyprint",
"${workspaceFolder}/Engine/vendor/Glad/include",
"${workspaceFolder}/Engine/vendor/spdlog/include",
"${workspaceFolder}/Engine/vendor/stb_image/include",
"${workspaceFolder}/Engine/vendor/glm",
"${workspaceFolder}/Engine/vendor/yaml-cpp/include",
"${workspaceFolder}/Engine/vendor/imgui"
],
"defines": [
"_DEBUG",
"EP_CONFIG_DEBUG",
"EP_EDITOR",
"_USE_MATH_DEFINES",
"UNICODE",
"_UNICODE",
"NOMINMAX",
"GLAD_GLAPI_EXPORT",
"GLM_FORCE_LEFT_HANDED",
"YAML_CPP_STATIC_DEFINE",
"HC_RELOADING_ON",
"EP_BUILD_CORE",
"GLAD_GLAPI_EXPORT_BUILD"
],
"windowsSdkVersion": "10.0.19041.0",
"compilerPath": "C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.29.30133/bin/Hostx64/x64/cl.exe",
"cStandard": "c17",
"cppStandard": "c++17",
"compileCommands": "${workspaceFolder}/build/compile_commands.json",
"configurationProvider": "ms-vscode.cmake-tools",
"compilerPathIsExplicit": true,
"cStandardIsExplicit": true,
"cppStandardIsExplicit": true,
"intelliSenseModeIsExplicit": false,
"mergeConfigurations": false,
"browse": {
"path": [
"${workspaceFolder}/Engine/include",
"${workspaceFolder}/Engine/vendor/CTSpookyHash/include",
"${workspaceFolder}/Engine/vendor/cxx-prettyprint",
"${workspaceFolder}/Engine/vendor/Glad/include",
"${workspaceFolder}/Engine/vendor/spdlog/include",
"${workspaceFolder}/Engine/vendor/stb_image/include",
"${workspaceFolder}/Engine/vendor/glm",
"${workspaceFolder}/Engine/vendor/yaml-cpp/include",
"${workspaceFolder}/Engine/vendor/imgui",
"${workspaceFolder}"
],
"limitSymbolsToIncludedHeaders": true
}
}
Custom browse configuration:
{
"browsePath": [
"e:/software/enterprise/editor/src",
"e:/software/enterprise/engine/include",
"e:/software/enterprise/engine/vendor/ctspookyhash/include",
"e:/software/enterprise/engine/vendor/cxx-prettyprint",
"e:/software/enterprise/engine/vendor/glad/include",
"e:/software/enterprise/engine/vendor/spdlog/include",
"e:/software/enterprise/engine/vendor/stb_image/include",
"e:/software/enterprise/engine/vendor/glm",
"e:/software/enterprise/engine/vendor/imgui",
"e:/software/enterprise/engine/vendor/hotconsts/include",
"e:/software/enterprise/engine/vendor/yaml-cpp/include",
"e:/software/enterprise/editor/vendor/nativefiledialog/src/include",
"e:/software/enterprise/editor/src/application",
"e:/software/enterprise/editor/src/window",
"e:/software/enterprise/editor/src/file",
"e:/software/enterprise/editor/src/views",
"e:/software/enterprise/editor/src/layouts",
"e:/software/enterprise/editor/resources",
"e:/software/enterprise/editor/content",
"e:/software/enterprise/editor/content/licenses",
"e:/software/enterprise/engine/src",
"e:/software/enterprise/engine/vendor/msdf-atlas-gen",
"e:/software/enterprise/engine/vendor/msdf-atlas-gen/msdfgen",
"e:/software/enterprise/build/engine/vendor/freetype/include",
"e:/software/enterprise/engine/vendor/freetype/include",
"e:/software/enterprise/build/engine/cmakefiles/engine_dyn.dir",
"e:/software/enterprise/engine/src/core",
"e:/software/enterprise/engine/src/application",
"e:/software/enterprise/engine/src/file",
"e:/software/enterprise/engine/src/graphics",
"e:/software/enterprise/engine/src/systems",
"e:/software/enterprise/engine/src/systems/renderer2d",
"e:/software/enterprise/engine/src/editor",
"e:/software/enterprise/engine/src/time",
"e:/software/enterprise/engine/src/input",
"e:/software/enterprise/engine/vendor/ctspookyhash/src",
"e:/software/enterprise/engine/vendor/stb_image/src",
"e:/software/enterprise/engine/vendor/imgui/backends",
"e:/software/enterprise/engine/vendor/glad/src",
"e:/software/enterprise/engine/vendor/ctspookyhash/include/ctspookyhash",
"e:/software/enterprise/engine/vendor/glad/include/glad",
"e:/software/enterprise/engine/vendor/glad/include/khr",
"e:/software/enterprise/build/engine/cmakefiles/engine_dyn.dir/debug",
"e:/software/enterprise/build/engine/cmakefiles/engine_dyn.dir/dev",
"e:/software/enterprise/build/engine/cmakefiles/engine_dyn.dir/release",
"e:/software/enterprise/build/engine/cmakefiles/engine_lib.dir",
"e:/software/enterprise/build/engine/cmakefiles/engine_lib.dir/debug",
"e:/software/enterprise/build/engine/cmakefiles/engine_lib.dir/dev",
"e:/software/enterprise/build/engine/cmakefiles/engine_lib.dir/release",
"e:/software/enterprise/launcher/src",
"e:/software/enterprise/testgame/src",
"e:/software/enterprise/testgame/resources",
"e:/software/enterprise/testgame/content",
"e:/software/enterprise/engine/vendor/hotconsts/src",
"e:/software/enterprise/engine/vendor/hotconsts/include/hotconsts",
"e:/software/enterprise/build/engine/vendor/freetype/include/freetype/config",
"e:/software/enterprise/engine/vendor/freetype/src/autofit",
"e:/software/enterprise/engine/vendor/freetype/src/base",
"e:/software/enterprise/engine/vendor/freetype/src/bdf",
"e:/software/enterprise/engine/vendor/freetype/src/bzip2",
"e:/software/enterprise/engine/vendor/freetype/src/cache",
"e:/software/enterprise/engine/vendor/freetype/src/cff",
"e:/software/enterprise/engine/vendor/freetype/src/cid",
"e:/software/enterprise/engine/vendor/freetype/src/gzip",
"e:/software/enterprise/engine/vendor/freetype/src/lzw",
"e:/software/enterprise/engine/vendor/freetype/src/pcf",
"e:/software/enterprise/engine/vendor/freetype/src/pfr",
"e:/software/enterprise/engine/vendor/freetype/src/psaux",
"e:/software/enterprise/engine/vendor/freetype/src/pshinter",
"e:/software/enterprise/engine/vendor/freetype/src/psnames",
"e:/software/enterprise/engine/vendor/freetype/src/raster",
"e:/software/enterprise/engine/vendor/freetype/src/sdf",
"e:/software/enterprise/engine/vendor/freetype/src/sfnt",
"e:/software/enterprise/engine/vendor/freetype/src/smooth",
"e:/software/enterprise/engine/vendor/freetype/src/svg",
"e:/software/enterprise/engine/vendor/freetype/src/truetype",
"e:/software/enterprise/engine/vendor/freetype/src/type1",
"e:/software/enterprise/engine/vendor/freetype/src/type42",
"e:/software/enterprise/engine/vendor/freetype/src/winfonts",
"e:/software/enterprise/engine/vendor/freetype/builds/windows",
"e:/software/enterprise/engine/vendor/freetype/include/freetype",
"e:/software/enterprise/engine/vendor/freetype/include/freetype/config",
"e:/software/enterprise/engine/vendor/freetype/include/freetype/internal",
"e:/software/enterprise/engine/vendor/msdf-atlas-gen/msdfgen/include",
"e:/software/enterprise/engine/vendor/msdf-atlas-gen/artery-font-format",
"e:/software/enterprise/engine/vendor/msdf-atlas-gen/msdf-atlas-gen",
"e:/software/enterprise/engine/vendor/msdf-atlas-gen/msdfgen/core",
"e:/software/enterprise/engine/vendor/msdf-atlas-gen/msdfgen/ext",
"e:/software/enterprise/engine/vendor/msdf-atlas-gen/msdfgen/lib",
"e:/software/enterprise/engine/vendor/yaml-cpp/src",
"e:/software/enterprise/engine/vendor/yaml-cpp/src/contrib",
"e:/software/enterprise/editor/vendor/nativefiledialog/src"
],
"compilerPath": "c:/program files (x86)/microsoft visual studio/2019/community/vc/tools/llvm/x64/bin/clang.exe",
"compilerArgs": [],
"compilerFragments": [
"-g -Xclang -gcodeview -O0 -D_DEBUG -D_DLL -D_MT -Xclang --dependent-lib=msvcrtd",
"-g -Xclang -gcodeview -O0 -D_DEBUG -D_DLL -D_MT -Xclang --dependent-lib=msvcrtd"
]
}
Translation Unit Mappings:
[ E:\Software\Enterprise\Engine\include\Enterprise\Graphics.h ]:
E:\Software\Enterprise\Engine\include\Enterprise\Graphics.h
Translation Unit Configurations:
[ E:\Software\Enterprise\Engine\include\Enterprise\Graphics.h ]:
Process ID: 17052
Memory Usage: 12 MB
Compiler Path: c:/program files (x86)/microsoft visual studio/2019/community/vc/tools/llvm/x64/bin/clang.exe
Includes:
C:\PROGRAM FILES (X86)\MICROSOFT VISUAL STUDIO\2019\COMMUNITY\VC\TOOLS\LLVM\X64\LIB\CLANG\12.0.0\INCLUDE
C:\PROGRAM FILES (X86)\MICROSOFT VISUAL STUDIO\2019\COMMUNITY\VC\TOOLS\MSVC\14.29.30133\INCLUDE
C:\PROGRAM FILES (X86)\MICROSOFT VISUAL STUDIO\2019\COMMUNITY\VC\TOOLS\MSVC\14.29.30133\ATLMFC\INCLUDE
C:\PROGRAM FILES (X86)\WINDOWS KITS\10\INCLUDE\10.0.19041.0\UCRT
C:\PROGRAM FILES (X86)\WINDOWS KITS\10\INCLUDE\10.0.19041.0\SHARED
C:\PROGRAM FILES (X86)\WINDOWS KITS\10\INCLUDE\10.0.19041.0\UM
C:\PROGRAM FILES (X86)\WINDOWS KITS\10\INCLUDE\10.0.19041.0\WINRT
Standard Version: c++17
IntelliSense Mode: windows-clang-x64
Other Flags:
--clang
--clang_version=120000
--ms_compatibility
--header_only_fallback
Total Memory Usage: 12 MB
Browse Paths from compile_commands.json, from workspace folder: E:\Software\Enterprise
E:\SOFTWARE\ENTERPRISE\BUILD\ENGINE\CMAKEFILES\ENGINE_DYN.DIR
E:\SOFTWARE\ENTERPRISE\BUILD\ENGINE\CMAKEFILES\ENGINE_DYN.DIR\DEBUG
E:\SOFTWARE\ENTERPRISE\BUILD\ENGINE\CMAKEFILES\ENGINE_DYN.DIR\DEV
E:\SOFTWARE\ENTERPRISE\BUILD\ENGINE\CMAKEFILES\ENGINE_DYN.DIR\RELEASE
E:\SOFTWARE\ENTERPRISE\BUILD\ENGINE\CMAKEFILES\ENGINE_LIB.DIR
E:\SOFTWARE\ENTERPRISE\BUILD\ENGINE\CMAKEFILES\ENGINE_LIB.DIR\DEBUG
E:\SOFTWARE\ENTERPRISE\BUILD\ENGINE\CMAKEFILES\ENGINE_LIB.DIR\DEV
E:\SOFTWARE\ENTERPRISE\BUILD\ENGINE\CMAKEFILES\ENGINE_LIB.DIR\RELEASE
E:\SOFTWARE\ENTERPRISE\BUILD\ENGINE\VENDOR\FREETYPE\INCLUDE
E:\SOFTWARE\ENTERPRISE\BUILD\ENGINE\VENDOR\FREETYPE\INCLUDE\FREETYPE\CONFIG
E:\SOFTWARE\ENTERPRISE\EDITOR\CONTENT
E:\SOFTWARE\ENTERPRISE\EDITOR\CONTENT\LICENSES
E:\SOFTWARE\ENTERPRISE\EDITOR\RESOURCES
E:\SOFTWARE\ENTERPRISE\EDITOR\SRC
E:\SOFTWARE\ENTERPRISE\EDITOR\SRC\APPLICATION
E:\SOFTWARE\ENTERPRISE\EDITOR\SRC\FILE
E:\SOFTWARE\ENTERPRISE\EDITOR\SRC\LAYOUTS
E:\SOFTWARE\ENTERPRISE\EDITOR\SRC\VIEWS
E:\SOFTWARE\ENTERPRISE\EDITOR\SRC\WINDOW
E:\SOFTWARE\ENTERPRISE\EDITOR\VENDOR\NATIVEFILEDIALOG\SRC
E:\SOFTWARE\ENTERPRISE\EDITOR\VENDOR\NATIVEFILEDIALOG\SRC\INCLUDE
E:\SOFTWARE\ENTERPRISE\ENGINE\INCLUDE
E:\SOFTWARE\ENTERPRISE\ENGINE\SRC
E:\SOFTWARE\ENTERPRISE\ENGINE\SRC\APPLICATION
E:\SOFTWARE\ENTERPRISE\ENGINE\SRC\CORE
E:\SOFTWARE\ENTERPRISE\ENGINE\SRC\EDITOR
E:\SOFTWARE\ENTERPRISE\ENGINE\SRC\FILE
E:\SOFTWARE\ENTERPRISE\ENGINE\SRC\GRAPHICS
E:\SOFTWARE\ENTERPRISE\ENGINE\SRC\INPUT
E:\SOFTWARE\ENTERPRISE\ENGINE\SRC\SYSTEMS
E:\SOFTWARE\ENTERPRISE\ENGINE\SRC\SYSTEMS\RENDERER2D
E:\SOFTWARE\ENTERPRISE\ENGINE\SRC\TIME
E:\SOFTWARE\ENTERPRISE\ENGINE\VENDOR\CTSPOOKYHASH\INCLUDE
E:\SOFTWARE\ENTERPRISE\ENGINE\VENDOR\CTSPOOKYHASH\INCLUDE\CTSPOOKYHASH
E:\SOFTWARE\ENTERPRISE\ENGINE\VENDOR\CTSPOOKYHASH\SRC
E:\SOFTWARE\ENTERPRISE\ENGINE\VENDOR\CXX-PRETTYPRINT
E:\SOFTWARE\ENTERPRISE\ENGINE\VENDOR\FREETYPE\BUILDS\WINDOWS
E:\SOFTWARE\ENTERPRISE\ENGINE\VENDOR\FREETYPE\INCLUDE
E:\SOFTWARE\ENTERPRISE\ENGINE\VENDOR\FREETYPE\INCLUDE\FREETYPE
E:\SOFTWARE\ENTERPRISE\ENGINE\VENDOR\FREETYPE\INCLUDE\FREETYPE\CONFIG
E:\SOFTWARE\ENTERPRISE\ENGINE\VENDOR\FREETYPE\INCLUDE\FREETYPE\INTERNAL
E:\SOFTWARE\ENTERPRISE\ENGINE\VENDOR\FREETYPE\SRC\AUTOFIT
E:\SOFTWARE\ENTERPRISE\ENGINE\VENDOR\FREETYPE\SRC\BASE
E:\SOFTWARE\ENTERPRISE\ENGINE\VENDOR\FREETYPE\SRC\BDF
E:\SOFTWARE\ENTERPRISE\ENGINE\VENDOR\FREETYPE\SRC\BZIP2
E:\SOFTWARE\ENTERPRISE\ENGINE\VENDOR\FREETYPE\SRC\CACHE
E:\SOFTWARE\ENTERPRISE\ENGINE\VENDOR\FREETYPE\SRC\CFF
E:\SOFTWARE\ENTERPRISE\ENGINE\VENDOR\FREETYPE\SRC\CID
E:\SOFTWARE\ENTERPRISE\ENGINE\VENDOR\FREETYPE\SRC\GZIP
E:\SOFTWARE\ENTERPRISE\ENGINE\VENDOR\FREETYPE\SRC\LZW
E:\SOFTWARE\ENTERPRISE\ENGINE\VENDOR\FREETYPE\SRC\PCF
E:\SOFTWARE\ENTERPRISE\ENGINE\VENDOR\FREETYPE\SRC\PFR
E:\SOFTWARE\ENTERPRISE\ENGINE\VENDOR\FREETYPE\SRC\PSAUX
E:\SOFTWARE\ENTERPRISE\ENGINE\VENDOR\FREETYPE\SRC\PSHINTER
E:\SOFTWARE\ENTERPRISE\ENGINE\VENDOR\FREETYPE\SRC\PSNAMES
E:\SOFTWARE\ENTERPRISE\ENGINE\VENDOR\FREETYPE\SRC\RASTER
E:\SOFTWARE\ENTERPRISE\ENGINE\VENDOR\FREETYPE\SRC\SDF
E:\SOFTWARE\ENTERPRISE\ENGINE\VENDOR\FREETYPE\SRC\SFNT
E:\SOFTWARE\ENTERPRISE\ENGINE\VENDOR\FREETYPE\SRC\SMOOTH
E:\SOFTWARE\ENTERPRISE\ENGINE\VENDOR\FREETYPE\SRC\SVG
E:\SOFTWARE\ENTERPRISE\ENGINE\VENDOR\FREETYPE\SRC\TRUETYPE
E:\SOFTWARE\ENTERPRISE\ENGINE\VENDOR\FREETYPE\SRC\TYPE1
E:\SOFTWARE\ENTERPRISE\ENGINE\VENDOR\FREETYPE\SRC\TYPE42
E:\SOFTWARE\ENTERPRISE\ENGINE\VENDOR\FREETYPE\SRC\WINFONTS
E:\SOFTWARE\ENTERPRISE\ENGINE\VENDOR\GLAD\INCLUDE
E:\SOFTWARE\ENTERPRISE\ENGINE\VENDOR\GLAD\INCLUDE\GLAD
E:\SOFTWARE\ENTERPRISE\ENGINE\VENDOR\GLAD\INCLUDE\KHR
E:\SOFTWARE\ENTERPRISE\ENGINE\VENDOR\GLAD\SRC
E:\SOFTWARE\ENTERPRISE\ENGINE\VENDOR\GLM
E:\SOFTWARE\ENTERPRISE\ENGINE\VENDOR\HOTCONSTS\INCLUDE
E:\SOFTWARE\ENTERPRISE\ENGINE\VENDOR\HOTCONSTS\INCLUDE\HOTCONSTS
E:\SOFTWARE\ENTERPRISE\ENGINE\VENDOR\HOTCONSTS\SRC
E:\SOFTWARE\ENTERPRISE\ENGINE\VENDOR\IMGUI
E:\SOFTWARE\ENTERPRISE\ENGINE\VENDOR\IMGUI\BACKENDS
E:\SOFTWARE\ENTERPRISE\ENGINE\VENDOR\MSDF-ATLAS-GEN
E:\SOFTWARE\ENTERPRISE\ENGINE\VENDOR\MSDF-ATLAS-GEN\ARTERY-FONT-FORMAT
E:\SOFTWARE\ENTERPRISE\ENGINE\VENDOR\MSDF-ATLAS-GEN\MSDF-ATLAS-GEN
E:\SOFTWARE\ENTERPRISE\ENGINE\VENDOR\MSDF-ATLAS-GEN\MSDFGEN
E:\SOFTWARE\ENTERPRISE\ENGINE\VENDOR\MSDF-ATLAS-GEN\MSDFGEN\CORE
E:\SOFTWARE\ENTERPRISE\ENGINE\VENDOR\MSDF-ATLAS-GEN\MSDFGEN\EXT
E:\SOFTWARE\ENTERPRISE\ENGINE\VENDOR\MSDF-ATLAS-GEN\MSDFGEN\INCLUDE
E:\SOFTWARE\ENTERPRISE\ENGINE\VENDOR\MSDF-ATLAS-GEN\MSDFGEN\LIB
E:\SOFTWARE\ENTERPRISE\ENGINE\VENDOR\SPDLOG\INCLUDE
E:\SOFTWARE\ENTERPRISE\ENGINE\VENDOR\STB_IMAGE\INCLUDE
E:\SOFTWARE\ENTERPRISE\ENGINE\VENDOR\STB_IMAGE\SRC
E:\SOFTWARE\ENTERPRISE\ENGINE\VENDOR\YAML-CPP\INCLUDE
E:\SOFTWARE\ENTERPRISE\ENGINE\VENDOR\YAML-CPP\SRC
E:\SOFTWARE\ENTERPRISE\ENGINE\VENDOR\YAML-CPP\SRC\CONTRIB
E:\SOFTWARE\ENTERPRISE\LAUNCHER\SRC
E:\SOFTWARE\ENTERPRISE\TESTGAME\CONTENT
E:\SOFTWARE\ENTERPRISE\TESTGAME\RESOURCES
E:\SOFTWARE\ENTERPRISE\TESTGAME\SRC
------- Workspace parsing diagnostics -------
Number of files discovered (not excluded): 7341
Here's the diagnostics after opening a CPP file that includes the affected header (when the issue goes away)
-------- Diagnostics - 8/31/2022, 1:33:02 PM
Version: 1.12.3
Current Configuration:
{
"name": "Win32",
"includePath": [
"${workspaceFolder}/Engine/include",
"${workspaceFolder}/Engine/vendor/CTSpookyHash/include",
"${workspaceFolder}/Engine/vendor/cxx-prettyprint",
"${workspaceFolder}/Engine/vendor/Glad/include",
"${workspaceFolder}/Engine/vendor/spdlog/include",
"${workspaceFolder}/Engine/vendor/stb_image/include",
"${workspaceFolder}/Engine/vendor/glm",
"${workspaceFolder}/Engine/vendor/yaml-cpp/include",
"${workspaceFolder}/Engine/vendor/imgui"
],
"defines": [
"_DEBUG",
"EP_CONFIG_DEBUG",
"EP_EDITOR",
"_USE_MATH_DEFINES",
"UNICODE",
"_UNICODE",
"NOMINMAX",
"GLAD_GLAPI_EXPORT",
"GLM_FORCE_LEFT_HANDED",
"YAML_CPP_STATIC_DEFINE",
"HC_RELOADING_ON",
"EP_BUILD_CORE",
"GLAD_GLAPI_EXPORT_BUILD"
],
"windowsSdkVersion": "10.0.19041.0",
"compilerPath": "C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.29.30133/bin/Hostx64/x64/cl.exe",
"cStandard": "c17",
"cppStandard": "c++17",
"compileCommands": "${workspaceFolder}/build/compile_commands.json",
"configurationProvider": "ms-vscode.cmake-tools",
"compilerPathIsExplicit": true,
"cStandardIsExplicit": true,
"cppStandardIsExplicit": true,
"intelliSenseModeIsExplicit": false,
"mergeConfigurations": false,
"browse": {
"path": [
"${workspaceFolder}/Engine/include",
"${workspaceFolder}/Engine/vendor/CTSpookyHash/include",
"${workspaceFolder}/Engine/vendor/cxx-prettyprint",
"${workspaceFolder}/Engine/vendor/Glad/include",
"${workspaceFolder}/Engine/vendor/spdlog/include",
"${workspaceFolder}/Engine/vendor/stb_image/include",
"${workspaceFolder}/Engine/vendor/glm",
"${workspaceFolder}/Engine/vendor/yaml-cpp/include",
"${workspaceFolder}/Engine/vendor/imgui",
"${workspaceFolder}"
],
"limitSymbolsToIncludedHeaders": true
}
}
Custom browse configuration:
{
"browsePath": [
"e:/software/enterprise/editor/src",
"e:/software/enterprise/engine/include",
"e:/software/enterprise/engine/vendor/ctspookyhash/include",
"e:/software/enterprise/engine/vendor/cxx-prettyprint",
"e:/software/enterprise/engine/vendor/glad/include",
"e:/software/enterprise/engine/vendor/spdlog/include",
"e:/software/enterprise/engine/vendor/stb_image/include",
"e:/software/enterprise/engine/vendor/glm",
"e:/software/enterprise/engine/vendor/imgui",
"e:/software/enterprise/engine/vendor/hotconsts/include",
"e:/software/enterprise/engine/vendor/yaml-cpp/include",
"e:/software/enterprise/editor/vendor/nativefiledialog/src/include",
"e:/software/enterprise/editor/src/application",
"e:/software/enterprise/editor/src/window",
"e:/software/enterprise/editor/src/file",
"e:/software/enterprise/editor/src/views",
"e:/software/enterprise/editor/src/layouts",
"e:/software/enterprise/editor/resources",
"e:/software/enterprise/editor/content",
"e:/software/enterprise/editor/content/licenses",
"e:/software/enterprise/engine/src",
"e:/software/enterprise/engine/vendor/msdf-atlas-gen",
"e:/software/enterprise/engine/vendor/msdf-atlas-gen/msdfgen",
"e:/software/enterprise/build/engine/vendor/freetype/include",
"e:/software/enterprise/engine/vendor/freetype/include",
"e:/software/enterprise/build/engine/cmakefiles/engine_dyn.dir",
"e:/software/enterprise/engine/src/core",
"e:/software/enterprise/engine/src/application",
"e:/software/enterprise/engine/src/file",
"e:/software/enterprise/engine/src/graphics",
"e:/software/enterprise/engine/src/systems",
"e:/software/enterprise/engine/src/systems/renderer2d",
"e:/software/enterprise/engine/src/editor",
"e:/software/enterprise/engine/src/time",
"e:/software/enterprise/engine/src/input",
"e:/software/enterprise/engine/vendor/ctspookyhash/src",
"e:/software/enterprise/engine/vendor/stb_image/src",
"e:/software/enterprise/engine/vendor/imgui/backends",
"e:/software/enterprise/engine/vendor/glad/src",
"e:/software/enterprise/engine/vendor/ctspookyhash/include/ctspookyhash",
"e:/software/enterprise/engine/vendor/glad/include/glad",
"e:/software/enterprise/engine/vendor/glad/include/khr",
"e:/software/enterprise/build/engine/cmakefiles/engine_dyn.dir/debug",
"e:/software/enterprise/build/engine/cmakefiles/engine_dyn.dir/dev",
"e:/software/enterprise/build/engine/cmakefiles/engine_dyn.dir/release",
"e:/software/enterprise/build/engine/cmakefiles/engine_lib.dir",
"e:/software/enterprise/build/engine/cmakefiles/engine_lib.dir/debug",
"e:/software/enterprise/build/engine/cmakefiles/engine_lib.dir/dev",
"e:/software/enterprise/build/engine/cmakefiles/engine_lib.dir/release",
"e:/software/enterprise/launcher/src",
"e:/software/enterprise/testgame/src",
"e:/software/enterprise/testgame/resources",
"e:/software/enterprise/testgame/content",
"e:/software/enterprise/engine/vendor/hotconsts/src",
"e:/software/enterprise/engine/vendor/hotconsts/include/hotconsts",
"e:/software/enterprise/build/engine/vendor/freetype/include/freetype/config",
"e:/software/enterprise/engine/vendor/freetype/src/autofit",
"e:/software/enterprise/engine/vendor/freetype/src/base",
"e:/software/enterprise/engine/vendor/freetype/src/bdf",
"e:/software/enterprise/engine/vendor/freetype/src/bzip2",
"e:/software/enterprise/engine/vendor/freetype/src/cache",
"e:/software/enterprise/engine/vendor/freetype/src/cff",
"e:/software/enterprise/engine/vendor/freetype/src/cid",
"e:/software/enterprise/engine/vendor/freetype/src/gzip",
"e:/software/enterprise/engine/vendor/freetype/src/lzw",
"e:/software/enterprise/engine/vendor/freetype/src/pcf",
"e:/software/enterprise/engine/vendor/freetype/src/pfr",
"e:/software/enterprise/engine/vendor/freetype/src/psaux",
"e:/software/enterprise/engine/vendor/freetype/src/pshinter",
"e:/software/enterprise/engine/vendor/freetype/src/psnames",
"e:/software/enterprise/engine/vendor/freetype/src/raster",
"e:/software/enterprise/engine/vendor/freetype/src/sdf",
"e:/software/enterprise/engine/vendor/freetype/src/sfnt",
"e:/software/enterprise/engine/vendor/freetype/src/smooth",
"e:/software/enterprise/engine/vendor/freetype/src/svg",
"e:/software/enterprise/engine/vendor/freetype/src/truetype",
"e:/software/enterprise/engine/vendor/freetype/src/type1",
"e:/software/enterprise/engine/vendor/freetype/src/type42",
"e:/software/enterprise/engine/vendor/freetype/src/winfonts",
"e:/software/enterprise/engine/vendor/freetype/builds/windows",
"e:/software/enterprise/engine/vendor/freetype/include/freetype",
"e:/software/enterprise/engine/vendor/freetype/include/freetype/config",
"e:/software/enterprise/engine/vendor/freetype/include/freetype/internal",
"e:/software/enterprise/engine/vendor/msdf-atlas-gen/msdfgen/include",
"e:/software/enterprise/engine/vendor/msdf-atlas-gen/artery-font-format",
"e:/software/enterprise/engine/vendor/msdf-atlas-gen/msdf-atlas-gen",
"e:/software/enterprise/engine/vendor/msdf-atlas-gen/msdfgen/core",
"e:/software/enterprise/engine/vendor/msdf-atlas-gen/msdfgen/ext",
"e:/software/enterprise/engine/vendor/msdf-atlas-gen/msdfgen/lib",
"e:/software/enterprise/engine/vendor/yaml-cpp/src",
"e:/software/enterprise/engine/vendor/yaml-cpp/src/contrib",
"e:/software/enterprise/editor/vendor/nativefiledialog/src"
],
"compilerPath": "c:/program files (x86)/microsoft visual studio/2019/community/vc/tools/llvm/x64/bin/clang.exe",
"compilerArgs": [],
"compilerFragments": [
"-g -Xclang -gcodeview -O0 -D_DEBUG -D_DLL -D_MT -Xclang --dependent-lib=msvcrtd",
"-g -Xclang -gcodeview -O0 -D_DEBUG -D_DLL -D_MT -Xclang --dependent-lib=msvcrtd"
]
}
Custom configurations:
[ E:\Software\Enterprise\TestGame\src\TestState.cpp ]
{
"includePath": [
"e:/software/enterprise/engine/include",
"e:/software/enterprise/engine/vendor/ctspookyhash/include",
"e:/software/enterprise/engine/vendor/cxx-prettyprint",
"e:/software/enterprise/engine/vendor/glad/include",
"e:/software/enterprise/engine/vendor/spdlog/include",
"e:/software/enterprise/engine/vendor/stb_image/include",
"e:/software/enterprise/engine/vendor/glm",
"e:/software/enterprise/engine/vendor/imgui",
"e:/software/enterprise/engine/vendor/hotconsts/include",
"e:/software/enterprise/engine/vendor/yaml-cpp/include"
],
"defines": [
"EP_BUILD_GAME",
"EP_CONFIG_DEBUG",
"GLM_FORCE_LEFT_HANDED",
"HC_RELOADING_ON",
"NOMINMAX",
"UNICODE",
"YAML_CPP_STATIC_DEFINE",
"_UNICODE",
"_USE_MATH_DEFINES"
],
"compilerPath": "c:/program files (x86)/microsoft visual studio/2019/community/vc/tools/llvm/x64/bin/clang.exe",
"compilerArgs": [],
"compilerFragments": [
"-g -Xclang -gcodeview -O0 -D_DEBUG -D_DLL -D_MT -Xclang --dependent-lib=msvcrtd",
"-std=gnu++17"
]
}
Translation Unit Mappings:
[ E:\Software\Enterprise\TestGame\src\TestState.cpp ]:
E:\Software\Enterprise\TestGame\src\TestState.cpp
E:\Software\Enterprise\Engine\include\Enterprise\Graphics.h *
Translation Unit Configurations:
[ E:\Software\Enterprise\TestGame\src\TestState.cpp ]:
Process ID: 8992
Memory Usage: 403 MB
Compiler Path: c:/program files (x86)/microsoft visual studio/2019/community/vc/tools/llvm/x64/bin/clang.exe
Includes:
E:\SOFTWARE\ENTERPRISE\ENGINE\INCLUDE
E:\SOFTWARE\ENTERPRISE\ENGINE\VENDOR\CTSPOOKYHASH\INCLUDE
E:\SOFTWARE\ENTERPRISE\ENGINE\VENDOR\CXX-PRETTYPRINT
E:\SOFTWARE\ENTERPRISE\ENGINE\VENDOR\GLAD\INCLUDE
E:\SOFTWARE\ENTERPRISE\ENGINE\VENDOR\SPDLOG\INCLUDE
E:\SOFTWARE\ENTERPRISE\ENGINE\VENDOR\STB_IMAGE\INCLUDE
E:\SOFTWARE\ENTERPRISE\ENGINE\VENDOR\GLM
E:\SOFTWARE\ENTERPRISE\ENGINE\VENDOR\IMGUI
E:\SOFTWARE\ENTERPRISE\ENGINE\VENDOR\HOTCONSTS\INCLUDE
E:\SOFTWARE\ENTERPRISE\ENGINE\VENDOR\YAML-CPP\INCLUDE
C:\PROGRAM FILES (X86)\MICROSOFT VISUAL STUDIO\2019\COMMUNITY\VC\TOOLS\LLVM\X64\LIB\CLANG\12.0.0\INCLUDE
C:\PROGRAM FILES (X86)\MICROSOFT VISUAL STUDIO\2019\COMMUNITY\VC\TOOLS\MSVC\14.29.30133\INCLUDE
C:\PROGRAM FILES (X86)\MICROSOFT VISUAL STUDIO\2019\COMMUNITY\VC\TOOLS\MSVC\14.29.30133\ATLMFC\INCLUDE
C:\PROGRAM FILES (X86)\WINDOWS KITS\10\INCLUDE\10.0.19041.0\UCRT
C:\PROGRAM FILES (X86)\WINDOWS KITS\10\INCLUDE\10.0.19041.0\SHARED
C:\PROGRAM FILES (X86)\WINDOWS KITS\10\INCLUDE\10.0.19041.0\UM
C:\PROGRAM FILES (X86)\WINDOWS KITS\10\INCLUDE\10.0.19041.0\WINRT
Defines:
EP_BUILD_GAME
EP_CONFIG_DEBUG
GLM_FORCE_LEFT_HANDED
HC_RELOADING_ON
NOMINMAX
UNICODE
YAML_CPP_STATIC_DEFINE
_UNICODE
_USE_MATH_DEFINES
_DEBUG
_DLL
_MT
Standard Version: c++17
IntelliSense Mode: windows-clang-x64
Other Flags:
--clang
--clang_version=120000
--ms_compatibility
Total Memory Usage: 403 MB
Browse Paths from compile_commands.json, from workspace folder: E:\Software\Enterprise
E:\SOFTWARE\ENTERPRISE\BUILD\ENGINE\CMAKEFILES\ENGINE_DYN.DIR
E:\SOFTWARE\ENTERPRISE\BUILD\ENGINE\CMAKEFILES\ENGINE_DYN.DIR\DEBUG
E:\SOFTWARE\ENTERPRISE\BUILD\ENGINE\CMAKEFILES\ENGINE_DYN.DIR\DEV
E:\SOFTWARE\ENTERPRISE\BUILD\ENGINE\CMAKEFILES\ENGINE_DYN.DIR\RELEASE
E:\SOFTWARE\ENTERPRISE\BUILD\ENGINE\CMAKEFILES\ENGINE_LIB.DIR
E:\SOFTWARE\ENTERPRISE\BUILD\ENGINE\CMAKEFILES\ENGINE_LIB.DIR\DEBUG
E:\SOFTWARE\ENTERPRISE\BUILD\ENGINE\CMAKEFILES\ENGINE_LIB.DIR\DEV
E:\SOFTWARE\ENTERPRISE\BUILD\ENGINE\CMAKEFILES\ENGINE_LIB.DIR\RELEASE
E:\SOFTWARE\ENTERPRISE\BUILD\ENGINE\VENDOR\FREETYPE\INCLUDE
E:\SOFTWARE\ENTERPRISE\BUILD\ENGINE\VENDOR\FREETYPE\INCLUDE\FREETYPE\CONFIG
E:\SOFTWARE\ENTERPRISE\EDITOR\CONTENT
E:\SOFTWARE\ENTERPRISE\EDITOR\CONTENT\LICENSES
E:\SOFTWARE\ENTERPRISE\EDITOR\RESOURCES
E:\SOFTWARE\ENTERPRISE\EDITOR\SRC
E:\SOFTWARE\ENTERPRISE\EDITOR\SRC\APPLICATION
E:\SOFTWARE\ENTERPRISE\EDITOR\SRC\FILE
E:\SOFTWARE\ENTERPRISE\EDITOR\SRC\LAYOUTS
E:\SOFTWARE\ENTERPRISE\EDITOR\SRC\VIEWS
E:\SOFTWARE\ENTERPRISE\EDITOR\SRC\WINDOW
E:\SOFTWARE\ENTERPRISE\EDITOR\VENDOR\NATIVEFILEDIALOG\SRC
E:\SOFTWARE\ENTERPRISE\EDITOR\VENDOR\NATIVEFILEDIALOG\SRC\INCLUDE
E:\SOFTWARE\ENTERPRISE\ENGINE\INCLUDE
E:\SOFTWARE\ENTERPRISE\ENGINE\SRC
E:\SOFTWARE\ENTERPRISE\ENGINE\SRC\APPLICATION
E:\SOFTWARE\ENTERPRISE\ENGINE\SRC\CORE
E:\SOFTWARE\ENTERPRISE\ENGINE\SRC\EDITOR
E:\SOFTWARE\ENTERPRISE\ENGINE\SRC\FILE
E:\SOFTWARE\ENTERPRISE\ENGINE\SRC\GRAPHICS
E:\SOFTWARE\ENTERPRISE\ENGINE\SRC\INPUT
E:\SOFTWARE\ENTERPRISE\ENGINE\SRC\SYSTEMS
E:\SOFTWARE\ENTERPRISE\ENGINE\SRC\SYSTEMS\RENDERER2D
E:\SOFTWARE\ENTERPRISE\ENGINE\SRC\TIME
E:\SOFTWARE\ENTERPRISE\ENGINE\VENDOR\CTSPOOKYHASH\INCLUDE
E:\SOFTWARE\ENTERPRISE\ENGINE\VENDOR\CTSPOOKYHASH\INCLUDE\CTSPOOKYHASH
E:\SOFTWARE\ENTERPRISE\ENGINE\VENDOR\CTSPOOKYHASH\SRC
E:\SOFTWARE\ENTERPRISE\ENGINE\VENDOR\CXX-PRETTYPRINT
E:\SOFTWARE\ENTERPRISE\ENGINE\VENDOR\FREETYPE\BUILDS\WINDOWS
E:\SOFTWARE\ENTERPRISE\ENGINE\VENDOR\FREETYPE\INCLUDE
E:\SOFTWARE\ENTERPRISE\ENGINE\VENDOR\FREETYPE\INCLUDE\FREETYPE
E:\SOFTWARE\ENTERPRISE\ENGINE\VENDOR\FREETYPE\INCLUDE\FREETYPE\CONFIG
E:\SOFTWARE\ENTERPRISE\ENGINE\VENDOR\FREETYPE\INCLUDE\FREETYPE\INTERNAL
E:\SOFTWARE\ENTERPRISE\ENGINE\VENDOR\FREETYPE\SRC\AUTOFIT
E:\SOFTWARE\ENTERPRISE\ENGINE\VENDOR\FREETYPE\SRC\BASE
E:\SOFTWARE\ENTERPRISE\ENGINE\VENDOR\FREETYPE\SRC\BDF
E:\SOFTWARE\ENTERPRISE\ENGINE\VENDOR\FREETYPE\SRC\BZIP2
E:\SOFTWARE\ENTERPRISE\ENGINE\VENDOR\FREETYPE\SRC\CACHE
E:\SOFTWARE\ENTERPRISE\ENGINE\VENDOR\FREETYPE\SRC\CFF
E:\SOFTWARE\ENTERPRISE\ENGINE\VENDOR\FREETYPE\SRC\CID
E:\SOFTWARE\ENTERPRISE\ENGINE\VENDOR\FREETYPE\SRC\GZIP
E:\SOFTWARE\ENTERPRISE\ENGINE\VENDOR\FREETYPE\SRC\LZW
E:\SOFTWARE\ENTERPRISE\ENGINE\VENDOR\FREETYPE\SRC\PCF
E:\SOFTWARE\ENTERPRISE\ENGINE\VENDOR\FREETYPE\SRC\PFR
E:\SOFTWARE\ENTERPRISE\ENGINE\VENDOR\FREETYPE\SRC\PSAUX
E:\SOFTWARE\ENTERPRISE\ENGINE\VENDOR\FREETYPE\SRC\PSHINTER
E:\SOFTWARE\ENTERPRISE\ENGINE\VENDOR\FREETYPE\SRC\PSNAMES
E:\SOFTWARE\ENTERPRISE\ENGINE\VENDOR\FREETYPE\SRC\RASTER
E:\SOFTWARE\ENTERPRISE\ENGINE\VENDOR\FREETYPE\SRC\SDF
E:\SOFTWARE\ENTERPRISE\ENGINE\VENDOR\FREETYPE\SRC\SFNT
E:\SOFTWARE\ENTERPRISE\ENGINE\VENDOR\FREETYPE\SRC\SMOOTH
E:\SOFTWARE\ENTERPRISE\ENGINE\VENDOR\FREETYPE\SRC\SVG
E:\SOFTWARE\ENTERPRISE\ENGINE\VENDOR\FREETYPE\SRC\TRUETYPE
E:\SOFTWARE\ENTERPRISE\ENGINE\VENDOR\FREETYPE\SRC\TYPE1
E:\SOFTWARE\ENTERPRISE\ENGINE\VENDOR\FREETYPE\SRC\TYPE42
E:\SOFTWARE\ENTERPRISE\ENGINE\VENDOR\FREETYPE\SRC\WINFONTS
E:\SOFTWARE\ENTERPRISE\ENGINE\VENDOR\GLAD\INCLUDE
E:\SOFTWARE\ENTERPRISE\ENGINE\VENDOR\GLAD\INCLUDE\GLAD
E:\SOFTWARE\ENTERPRISE\ENGINE\VENDOR\GLAD\INCLUDE\KHR
E:\SOFTWARE\ENTERPRISE\ENGINE\VENDOR\GLAD\SRC
E:\SOFTWARE\ENTERPRISE\ENGINE\VENDOR\GLM
E:\SOFTWARE\ENTERPRISE\ENGINE\VENDOR\HOTCONSTS\INCLUDE
E:\SOFTWARE\ENTERPRISE\ENGINE\VENDOR\HOTCONSTS\INCLUDE\HOTCONSTS
E:\SOFTWARE\ENTERPRISE\ENGINE\VENDOR\HOTCONSTS\SRC
E:\SOFTWARE\ENTERPRISE\ENGINE\VENDOR\IMGUI
E:\SOFTWARE\ENTERPRISE\ENGINE\VENDOR\IMGUI\BACKENDS
E:\SOFTWARE\ENTERPRISE\ENGINE\VENDOR\MSDF-ATLAS-GEN
E:\SOFTWARE\ENTERPRISE\ENGINE\VENDOR\MSDF-ATLAS-GEN\ARTERY-FONT-FORMAT
E:\SOFTWARE\ENTERPRISE\ENGINE\VENDOR\MSDF-ATLAS-GEN\MSDF-ATLAS-GEN
E:\SOFTWARE\ENTERPRISE\ENGINE\VENDOR\MSDF-ATLAS-GEN\MSDFGEN
E:\SOFTWARE\ENTERPRISE\ENGINE\VENDOR\MSDF-ATLAS-GEN\MSDFGEN\CORE
E:\SOFTWARE\ENTERPRISE\ENGINE\VENDOR\MSDF-ATLAS-GEN\MSDFGEN\EXT
E:\SOFTWARE\ENTERPRISE\ENGINE\VENDOR\MSDF-ATLAS-GEN\MSDFGEN\INCLUDE
E:\SOFTWARE\ENTERPRISE\ENGINE\VENDOR\MSDF-ATLAS-GEN\MSDFGEN\LIB
E:\SOFTWARE\ENTERPRISE\ENGINE\VENDOR\SPDLOG\INCLUDE
E:\SOFTWARE\ENTERPRISE\ENGINE\VENDOR\STB_IMAGE\INCLUDE
E:\SOFTWARE\ENTERPRISE\ENGINE\VENDOR\STB_IMAGE\SRC
E:\SOFTWARE\ENTERPRISE\ENGINE\VENDOR\YAML-CPP\INCLUDE
E:\SOFTWARE\ENTERPRISE\ENGINE\VENDOR\YAML-CPP\SRC
E:\SOFTWARE\ENTERPRISE\ENGINE\VENDOR\YAML-CPP\SRC\CONTRIB
E:\SOFTWARE\ENTERPRISE\LAUNCHER\SRC
E:\SOFTWARE\ENTERPRISE\TESTGAME\CONTENT
E:\SOFTWARE\ENTERPRISE\TESTGAME\RESOURCES
E:\SOFTWARE\ENTERPRISE\TESTGAME\SRC
------- Workspace parsing diagnostics -------
Number of files discovered (not excluded): 7341
To avoid this issue, I've been disabling CMake Tools as my C/C++ configuration provider and providing include paths in _c_cppproperties.json. Does this align with what you all have experienced? And is there any other information I can provide?
Hi @theOtherMichael I was unable to get started with your repo. Configure fails with a bunch of messages like this:
[cmake] Cloning into 'D:/test/Enterprise/Editor/vendor/nativefiledialog'...
[cmake] Host key verification failed.
[cmake] fatal: Could not read from remote repository.
[cmake]
[cmake] Please make sure you have the correct access rights
[cmake] and the repository exists.
[cmake] fatal: clone of 'git@github.com:theOtherMichael/nativefiledialog.git' into submodule path 'D:/test/Enterprise/Editor/vendor/nativefiledialog' failed
Any tips to get past this so we can try the repro?
@bobbrow Whoops! The issue is probably caused by my .gitmodules using SSH URLs. You'd need an SSH key set up to clone the submodules correctly.
This was an oversight on my part; I've now updated the gitmodules to use HTTPS URLs. If you try cloning again, I believe it should work.
Does anyone know of a fix for this? Using compile_commands.json didn't work for me.
This issue is now marked as 'stale' due to there being no activity on it for the past 30 days and being labelled 'more info needed'. Unless the 'stale' label is removed or the issue is commented on, this will be closed in 7 days. If you would like to make this issue exempt from getting stale, please remove the 'more info needed' and 'stale' labels or add the 'stale-exempt' label
I'm not sure if I should open a new issue, but I also have this issue. It happens randomly and there's nothing special in the C++ extension logs. IntelliSense works perfectly, but then after triggering a build by pressing
F7
, it sometimes starts to fail and I get the "#include errors detected" error. Resetting the IntelliSense database works sometimes, and restarting extension host seems to fix it 100% of the time.Originally posted by @grigorig in https://github.com/microsoft/vscode-cmake-tools/issues/1563#issuecomment-762669090