-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Description
Environment
- OS and Version: Mac OS Sequoia and Windows 11.
- VS Code Version: 1.103.1
- C/C++ Extension Version: 1.25.3 or later.
- If using SSH remote, specify OS of remote machine: N/A
Bug Summary and Steps to Reproduce
Bug Summary:
Between versions 1.24.5 and 1.25.3 the parser seems to have started misidentifying C++ header files with .hpp extensions as C or CUDA C++. It still happens with the latest release version.
What the headers are identified as is sensitive to whether not the header files are included into SWIG input files or contain inclusion CUDA specific macros.
Even if I force the header files to be identified as C++ in the json settings or explicitly selecting it by clicking the bottom right language icon the parser always switches back to C or CUDA C++.
Steps to reproduce:
- Install 1.25.3 or later
- Make sure you have .i swig input or CUDA source files the headers are included into
- They are misidentified.
I could try out a smaller project with a few files and see if it is not working if needed. It's been tough to reproduce this one as I was not sure if I made a change in my repo that caused it, but it seems to be the newest version of the extension.
Expected behavior:
My header files are properly identified as C++ as they are at 1.24.5.
Configuration and Logs
Configuration
{
"configurations": [
{
"name": "Win32",
"includePath": [
"${workspaceFolder}/Source/**",
"${workspaceFolder}/tools/**"
],
"defines": [
"NDEBUG",
"UNICODE",
"_UNICODE"
],
"windowsSdkVersion": "10.0.19041.0",
"compilerPath": "cl.exe",
"cStandard": "c17",
"cppStandard": "c++17",
"intelliSenseMode": "windows-msvc-x64",
"compileCommands": [
"${workspaceFolder}/compile_commands.json"
]
},
{
"name": "Mac",
"includePath": [
"${workspaceFolder}/Source/**",
"${workspaceFolder}/tools/**"
],
"defines": [
"NDEBUG",
"UNICODE",
"_UNICODE"
],
"macFrameworkPath": [
"/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks"
],
"compilerPath": "/usr/bin/g++",
"cStandard": "c17",
"cppStandard": "c++17",
"intelliSenseMode": "macos-clang-arm64",
"compileCommands": [
"${workspaceFolder}/compile_commands.json"
]
},
{
"name": "Linux",
"includePath": [
"${workspaceFolder}/Source/**",
"${workspaceFolder}/tools/**"
],
"defines": [
"NDEBUG",
"UNICODE",
"_UNICODE"
],
"compilerPath": "/usr/bin/g++",
"cStandard": "c17",
"cppStandard": "c++17",
"intelliSenseMode": "linux-gcc-x64",
"compileCommands": [
"${workspaceFolder}/compile_commands.json"
]
}
],
"version": 4
}
Diagnostics:
-------- Diagnostics - 8/19/2025, 5:22:58 PM
Version: 1.26.3
Current Configuration:
{
"name": "Win32",
"includePath": [
"d:/ANSYSDev/FluidProps/dev/Source/**",
"d:/ANSYSDev/FluidProps/dev/tools/**"
],
"defines": [
"NDEBUG",
"UNICODE",
"_UNICODE"
],
"windowsSdkVersion": "10.0.19041.0",
"compilerPath": "cl.exe",
"cStandard": "c17",
"cppStandard": "c++17",
"intelliSenseMode": "windows-msvc-x64",
"compileCommands": [
"d:\\ANSYSDev\\FluidProps\\dev/compile_commands.json"
],
"compilerPathIsExplicit": true,
"cStandardIsExplicit": true,
"cppStandardIsExplicit": true,
"intelliSenseModeIsExplicit": true,
"recursiveIncludesReduceIsExplicit": false,
"recursiveIncludesPriorityIsExplicit": false,
"recursiveIncludesOrderIsExplicit": false,
"compilerPathInCppPropertiesJson": "cl.exe",
"compileCommandsInCppPropertiesJson": [
"${workspaceFolder}/compile_commands.json"
],
"mergeConfigurations": false,
"recursiveIncludes": {},
"browse": {
"limitSymbolsToIncludedHeaders": true
}
}
Modified Settings:
{
"C_Cpp.files.exclude": {
"**/.vscode": true,
"**/.vs": true,
"pkgDir/**": true,
"Builds/**": true,
"tools/**": true,
"**/*.i": true
},
"C_Cpp.codeAnalysis.exclude": {
"tools/**": true,
"Builds/**": true,
"pkgDir/**": true,
"**/*.i": true,
"venv*": true
},
"C_Cpp.autoAddFileAssociations": false
}
Additional Tracked Settings:
{
"editorTabSize": 2,
"editorInsertSpaces": true,
"editorAutoClosingBrackets": "languageDefined",
"filesEncoding": "utf8",
"filesAssociations": {
"*.hpp": "cpp",
"*.f90": "FortranFreeForm",
"*.h": "c",
".clang-tidy": "yaml",
".clang-format": "yaml",
"*.i": "swiglang",
"SConstruct": "python",
"SConscript": "python"
},
"filesExclude": {
"**/.git": true,
"**/.svn": true,
"**/.hg": true,
"**/.DS_Store": true,
"**/Thumbs.db": true
},
"filesAutoSaveAfterDelay": false,
"editorInlayHintsEnabled": true,
"editorParameterHintsEnabled": true,
"searchExclude": {
"**/node_modules": true,
"**/bower_components": true,
"**/*.code-search": true
},
"workbenchSettingsEditor": "ui"
}
cpptools version (native): 1.26.3.0
Current database path: C:\USERS\DNWILLIA\APPDATA\LOCAL\MICROSOFT\VSCODE-CPPTOOLS\60EA050BA2F42AF6454DD0C303D5F5AF\.BROWSE.VC.DB
Translation Unit Mappings:
[ D:\ANSYSDev\FluidProps\dev\Source\RGPLib\RGPLib.i - source TU]:
D:\ANSYSDev\FluidProps\dev\Source\RGPLib\RGPFluid.hpp
Translation Unit Configurations:
[ D:\ANSYSDev\FluidProps\dev\Source\RGPLib\RGPLib.i ]
Process ID: 135012
Memory Usage: 75 MB
Compiler Path: C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\VC\Tools\MSVC\14.20.27508\bin\Hostx64\x64\cl.exe
Include paths:
system include: C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\VC\Tools\MSVC\14.20.27508\include
system include: C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\VC\Tools\MSVC\14.20.27508\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
include (recursive): D:\ANSYSDev\FluidProps\dev\Source
Defines:
NDEBUG
UNICODE
_UNICODE
Standard Version: ms_c17
IntelliSense Mode: windows-msvc-x64
Total Memory Usage: 75 MB
Browse Paths from compile_commands.json, from workspace folder: D:\ANSYSDev\FluidProps\dev
C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\VC\Tools\MSVC\14.20.27508\atlmfc\include
C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\VC\Tools\MSVC\14.20.27508\include
C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\cppwinrt
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\ucrt
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
D:\ANSYSDev\FluidProps\dev
D:\ANSYSDev\FluidProps\dev\Conan\daf340\1\CPython\3_10\winx64\Release\python\include
D:\ANSYSDev\FluidProps\dev\Source
D:\ANSYSDev\FluidProps\dev\Source\EosLib
D:\ANSYSDev\FluidProps\dev\Source\EosLib\cxxtest
D:\ANSYSDev\FluidProps\dev\Source\EosLib\src
D:\ANSYSDev\FluidProps\dev\Source\Kernel\AType\Complex
D:\ANSYSDev\FluidProps\dev\Source\Kernel\AType\Complex\cxxtest
D:\ANSYSDev\FluidProps\dev\Source\Kernel\AType\Complex\src
D:\ANSYSDev\FluidProps\dev\Source\Kernel\AType\Real
D:\ANSYSDev\FluidProps\dev\Source\Kernel\AType\Real\cxxtest
D:\ANSYSDev\FluidProps\dev\Source\Kernel\AType\Real\src
D:\ANSYSDev\FluidProps\dev\Source\Kernel\AType\Tangent
D:\ANSYSDev\FluidProps\dev\Source\Kernel\AType\Tangent\cxxtest
D:\ANSYSDev\FluidProps\dev\Source\Kernel\AType\Tangent\src
D:\ANSYSDev\FluidProps\dev\Source\Kernel\Containers
D:\ANSYSDev\FluidProps\dev\Source\Kernel\Containers\cxxtest
D:\ANSYSDev\FluidProps\dev\Source\Kernel\Containers\src
D:\ANSYSDev\FluidProps\dev\Source\Kernel\Tabulation
D:\ANSYSDev\FluidProps\dev\Source\Kernel\Tabulation\cxxtest
D:\ANSYSDev\FluidProps\dev\Source\Kernel\Tabulation\src
D:\ANSYSDev\FluidProps\dev\Source\RefProp
D:\ANSYSDev\FluidProps\dev\Source\RefProp\cxxtest
D:\ANSYSDev\FluidProps\dev\Source\RefProp\src
D:\ANSYSDev\FluidProps\dev\Source\RefProp\src\tests
D:\ANSYSDev\FluidProps\dev\Source\RGPLib
D:\ANSYSDev\FluidProps\dev\Source\RGPLib\cxxtest
D:\ANSYSDev\FluidProps\dev\Source\RGPLib\src
D:\ANSYSDev\FluidProps\dev\tools
------- Workspace parsing diagnostics -------
Number of files discovered (not excluded): 55510
Number of files parsed: 1888
Logs
loggingLevel: 6
LSP: (received - deferred) textDocument/didOpen: file:///d%3A/ANSYSDev/FluidProps/dev/Source/RGPLib/RGPFluid.hpp
LSP: (received) cpptools/initialize (id: 1)
LSP: (invoked) cpptools/initialize (id: 1)
cpptools version (TypeScript): 1.26.3
cpptools version (native): 1.26.3.0
Autocomplete is enabled.
Error squiggles are enabled if all header dependencies are resolved.
Hover is enabled.
IntelliSense Engine = default.
LSP: Sending response (id: 1)
LSP: (received) cpptools/queryCompilerDefaults (id: 2)
LSP: (invoked) cpptools/queryCompilerDefaults (id: 2)
Compiler info database not connected - skipping load.
Compiler info database not connected - skipping load.
LSP: Sending response (id: 2)
LSP: (received) cpptools/didChangeCppProperties (id: 3)
LSP: (invoked) cpptools/didChangeCppProperties (id: 3)
LSP: (received) cpptools/didChangeSettings
LSP: (received) cpptools/didChangeSettings
LSP: (received - deferred) cpptools/didChangeVisibleTextEditors
LSP: (received - deferred) cpptools/didChangeActiveEditor: file:///d%3A/ANSYSDev/FluidProps/dev/Source/RGPLib/RGPFluid.hpp
LSP: (received - deferred) cpptools/didChangeTextEditorSelection
Code browsing service initialized
Populating file name cache...
Attempting to get defaults from C++ compiler in "compilerPath" property: 'cl.exe'
Attempting to get defaults from C compiler in "compilerPath" property: 'cl.exe'
Attempting to get defaults from C++ compiler in "compilerPath" property: 'cl.exe'
Attempting to get defaults from C++ compiler in "compilerPath" property: 'cl.exe'
Attempting to get defaults from C++ compiler in "compilerPath" property: 'cl.exe'
Attempting to get defaults from C++ compiler in "compilerPath" property: 'cl.exe'
Attempting to get defaults from C++ compiler in "compilerPath" property: 'cl.exe'
Attempting to get defaults from C++ compiler in "compilerPath" property: 'cl.exe'
Attempting to get defaults from C++ compiler in "compilerPath" property: 'cl.exe'
Attempting to get defaults from C++ compiler in "compilerPath" property: 'cl.exe'
Attempting to get defaults from C++ compiler in "compilerPath" property: 'cl.exe'
Attempting to get defaults from C++ compiler in "compilerPath" property: 'cl.exe'
Attempting to get defaults from C++ compiler in "compilerPath" property: 'cl.exe'
Attempting to get defaults from C++ compiler in "compilerPath" property: 'cl.exe'
Attempting to get defaults from C++ compiler in "compilerPath" property: 'cl.exe'
Attempting to get defaults from C++ compiler in "compilerPath" property: 'cl.exe'
Attempting to get defaults from C++ compiler in "compilerPath" property: 'cl.exe'
Attempting to get defaults from C++ compiler in "compilerPath" property: 'cl.exe'
Unable to index files from non-existent folder: D:\ANSYSDEV\FLUIDPROPS\DEV\SOURCE\KERNEL\ATYPE\COMPLEX\SRC
Unable to index files from non-existent folder: D:\ANSYSDEV\FLUIDPROPS\DEV\SOURCE\KERNEL\ATYPE\REAL\SRC
Unable to index files from non-existent folder: D:\ANSYSDEV\FLUIDPROPS\DEV\SOURCE\KERNEL\ATYPE\TANGENT\SRC
Folder: C:\PROGRAM FILES (X86)\MICROSOFT VISUAL STUDIO\2019\PROFESSIONAL\VC\TOOLS\MSVC\14.20.27508\ATLMFC\INCLUDE will be indexed
Folder: C:\PROGRAM FILES (X86)\MICROSOFT VISUAL STUDIO\2019\PROFESSIONAL\VC\TOOLS\MSVC\14.20.27508\INCLUDE will be indexed
Folder: C:\PROGRAM FILES (X86)\WINDOWS KITS\10\INCLUDE\10.0.19041.0\CPPWINRT will be indexed
Folder: C:\PROGRAM FILES (X86)\WINDOWS KITS\10\INCLUDE\10.0.19041.0\SHARED will be indexed
Folder: C:\PROGRAM FILES (X86)\WINDOWS KITS\10\INCLUDE\10.0.19041.0\UCRT will be indexed
Folder: C:\PROGRAM FILES (X86)\WINDOWS KITS\10\INCLUDE\10.0.19041.0\UM will be indexed
Folder: C:\PROGRAM FILES (X86)\WINDOWS KITS\10\INCLUDE\10.0.19041.0\WINRT will be indexed
Folder: D:\ANSYSDEV\FLUIDPROPS\DEV will be indexed
LSP: (queued) textDocument/didOpen: file:///d%3A/ANSYSDev/FluidProps/dev/Source/RGPLib/RGPFluid.hpp
LSP: (queued) cpptools/didChangeVisibleTextEditors
LSP: (queued) cpptools/didChangeActiveEditor: file:///d%3A/ANSYSDev/FluidProps/dev/Source/RGPLib/RGPFluid.hpp
LSP: (queued) cpptools/didChangeTextEditorSelection
LSP: Sending response (id: 3)
LSP: (invoked) cpptools/didChangeSettings
Discovering files...
Autocomplete is enabled.
Error squiggles are enabled if all header dependencies are resolved.
Hover is enabled.
IntelliSense Engine = default.
Enhanced Colorization is enabled.
LSP: (invoked) cpptools/didChangeSettings
Autocomplete is enabled.
Error squiggles are enabled if all header dependencies are resolved.
Hover is enabled.
IntelliSense Engine = default.
Enhanced Colorization is enabled.
LSP: (invoked) textDocument/didOpen: file:///d%3A/ANSYSDev/FluidProps/dev/Source/RGPLib/RGPFluid.hpp
LSP: (invoked) cpptools/didChangeVisibleTextEditors
Intellisense update pending for: file:///d%3A/ANSYSDev/FluidProps/dev/Source/RGPLib/RGPFluid.hpp
LSP: (invoked) cpptools/didChangeActiveEditor: file:///d%3A/ANSYSDev/FluidProps/dev/Source/RGPLib/RGPFluid.hpp
LSP: (invoked) cpptools/didChangeTextEditorSelection
LSP: (received) cpptools/didChangeVisibleTextEditors
LSP: (invoked) cpptools/didChangeVisibleTextEditors
Processing folder (non-recursive): C:\PROGRAM FILES (X86)\MICROSOFT VISUAL STUDIO\2019\PROFESSIONAL\VC\TOOLS\MSVC\14.20.27508\INCLUDE
Processing folder (non-recursive): C:\PROGRAM FILES (X86)\MICROSOFT VISUAL STUDIO\2019\PROFESSIONAL\VC\TOOLS\MSVC\14.20.27508\ATLMFC\INCLUDE
Processing folder (recursive): C:\PROGRAM FILES (X86)\WINDOWS KITS\10\INCLUDE\10.0.19041.0\CPPWINRT
Processing folder (recursive): C:\PROGRAM FILES (X86)\WINDOWS KITS\10\INCLUDE\10.0.19041.0\SHARED
LSP: (received) cpptools/getDocumentSymbols: file:///d%3A/ANSYSDev/FluidProps/dev/Source/RGPLib/RGPFluid.hpp (id: 4)
LSP: (invoked) cpptools/getDocumentSymbols: file:///d%3A/ANSYSDev/FluidProps/dev/Source/RGPLib/RGPFluid.hpp (id: 4)
LSP: Sending response (id: 4)
Processing folder (recursive): C:\PROGRAM FILES (X86)\WINDOWS KITS\10\INCLUDE\10.0.19041.0\UCRT
Processing folder (recursive): C:\PROGRAM FILES (X86)\WINDOWS KITS\10\INCLUDE\10.0.19041.0\UM
Processing folder (recursive): C:\PROGRAM FILES (X86)\WINDOWS KITS\10\INCLUDE\10.0.19041.0\WINRT
Processing folder (recursive): D:\ANSYSDEV\FLUIDPROPS\DEV
LSP: (received) cpptools/getCodeActions: file:///d%3A/ANSYSDev/FluidProps/dev/Source/RGPLib/RGPFluid.hpp (id: 5)
LSP: (received) cpptools/getFoldingRanges: file:///d%3A/ANSYSDev/FluidProps/dev/Source/RGPLib/RGPFluid.hpp (id: 6)
LSP: (received) cpptools/getCodeActions: file:///d%3A/ANSYSDev/FluidProps/dev/Source/RGPLib/RGPFluid.hpp (id: 7)
LSP: (invoked) cpptools/getCodeActions: file:///d%3A/ANSYSDev/FluidProps/dev/Source/RGPLib/RGPFluid.hpp (id: 5)
LSP: $/cancelRequest (cpptools/getCodeActions, id: 5)
LSP: (invoked) cpptools/getFoldingRanges: file:///d%3A/ANSYSDev/FluidProps/dev/Source/RGPLib/RGPFluid.hpp (id: 6)
LSP: (invoked) cpptools/getCodeActions: file:///d%3A/ANSYSDev/FluidProps/dev/Source/RGPLib/RGPFluid.hpp (id: 7)
LSP: Sending response (id: 7)
LSP: Sending response (id: 6)
LSP: (received) cpptools/getCodeActions: file:///d%3A/ANSYSDev/FluidProps/dev/Source/RGPLib/RGPFluid.hpp (id: 8)
LSP: (invoked) cpptools/getCodeActions: file:///d%3A/ANSYSDev/FluidProps/dev/Source/RGPLib/RGPFluid.hpp (id: 8)
LSP: Sending response (id: 8)
LSP: (received) cpptools/getCodeActions: file:///d%3A/ANSYSDev/FluidProps/dev/Source/RGPLib/RGPFluid.hpp (id: 9)
LSP: (invoked) cpptools/getCodeActions: file:///d%3A/ANSYSDev/FluidProps/dev/Source/RGPLib/RGPFluid.hpp (id: 9)
LSP: Sending response (id: 9)
IntelliSense update scheduled and TU acquisition started for: file:///d%3A/ANSYSDev/FluidProps/dev/Source/RGPLib/RGPFluid.hpp
LSP: (received) cpptools/didChangeCompileCommands: file:///d%3A/ANSYSDev/FluidProps/dev/compile_commands.json
LSP: (received) cpptools/getCodeActions: file:///d%3A/ANSYSDev/FluidProps/dev/Source/RGPLib/RGPFluid.hpp (id: 10)
Discovering files: 55510 file(s) processed
0 file(s) removed from database
Done discovering files.
Parsing remaining files...
Parsing: 0 files(s) processed
Done parsing remaining files.
Done populating filename cache. Elapsed time: 2752 ms
LSP: (invoked) cpptools/didChangeCompileCommands: file:///d%3A/ANSYSDev/FluidProps/dev/compile_commands.json
Expanding recursive includes for: D:\ANSYSDEV\FLUIDPROPS\DEV\SOURCE\RGPLIB\RGPLIB.I
Done expanding recursive includes for: D:\ANSYSDEV\FLUIDPROPS\DEV\SOURCE\RGPLIB\RGPLIB.I
Reducing recursive includes for: D:\ANSYSDEV\FLUIDPROPS\DEV\SOURCE\RGPLIB\RGPLIB.I
Done reducing recursive includes for: D:\ANSYSDEV\FLUIDPROPS\DEV\SOURCE\RGPLIB\RGPLIB.I
LSP: (received) cpptools/didChangeVisibleTextEditors
LSP: (received) cpptools/didChangeVisibleTextEditors
LSP: (received) cpptools/getFoldingRanges: file:///d%3A/ANSYSDev/FluidProps/dev/Source/RGPLib/RGPFluid.hpp (id: 11)
sending compilation args for D:\ANSYSDev\FluidProps\dev\Source\RGPLib\RGPLib.i
system include: C:\PROGRAM FILES (X86)\MICROSOFT VISUAL STUDIO\2019\PROFESSIONAL\VC\TOOLS\MSVC\14.20.27508\INCLUDE
system include: C:\PROGRAM FILES (X86)\MICROSOFT VISUAL STUDIO\2019\PROFESSIONAL\VC\TOOLS\MSVC\14.20.27508\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: NDEBUG
define: UNICODE
define: _UNICODE
stdver: ms_c17
intelliSenseMode: windows-msvc-x64
LSP: (invoked) cpptools/getCodeActions: file:///d%3A/ANSYSDev/FluidProps/dev/Source/RGPLib/RGPFluid.hpp (id: 10)
LSP: (invoked) cpptools/didChangeVisibleTextEditors
Shutting down IntelliSense server: D:\ANSYSDev\FluidProps\dev\Source\RGPLib\RGPLib.i
LSP: (invoked) cpptools/getFoldingRanges: file:///d%3A/ANSYSDev/FluidProps/dev/Source/RGPLib/RGPFluid.hpp (id: 11)
Expanding recursive includes for: D:\ANSYSDEV\FLUIDPROPS\DEV\SOURCE\RGPLIB\RGPLIB.I
Done expanding recursive includes for: D:\ANSYSDEV\FLUIDPROPS\DEV\SOURCE\RGPLIB\RGPLIB.I
Reducing recursive includes for: D:\ANSYSDEV\FLUIDPROPS\DEV\SOURCE\RGPLIB\RGPLIB.I
Done reducing recursive includes for: D:\ANSYSDEV\FLUIDPROPS\DEV\SOURCE\RGPLIB\RGPLIB.I
LSP: Sending response (id: 10)
LSP: Sending response (id: 11)
sending compilation args for D:\ANSYSDev\FluidProps\dev\Source\RGPLib\RGPLib.i
system include: C:\PROGRAM FILES (X86)\MICROSOFT VISUAL STUDIO\2019\PROFESSIONAL\VC\TOOLS\MSVC\14.20.27508\INCLUDE
system include: C:\PROGRAM FILES (X86)\MICROSOFT VISUAL STUDIO\2019\PROFESSIONAL\VC\TOOLS\MSVC\14.20.27508\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: NDEBUG
define: UNICODE
define: _UNICODE
stdver: ms_c17
intelliSenseMode: windows-msvc-x64
Error squiggles will be disabled in: file:///d%3A/ANSYSDev/FluidProps/dev/Source/RGPLib/RGPFluid.hpp
Update IntelliSense time (sec): 1.447
LSP: (received) cpptools/getFoldingRanges: file:///d%3A/ANSYSDev/FluidProps/dev/Source/RGPLib/RGPFluid.hpp (id: 12)
LSP: (invoked) cpptools/getFoldingRanges: file:///d%3A/ANSYSDev/FluidProps/dev/Source/RGPLib/RGPFluid.hpp (id: 12)
LSP: Sending response (id: 12)
LSP: (received) cpptools/getCodeActions: file:///d%3A/ANSYSDev/FluidProps/dev/Source/RGPLib/RGPFluid.hpp (id: 13)
LSP: (invoked) cpptools/getCodeActions: file:///d%3A/ANSYSDev/FluidProps/dev/Source/RGPLib/RGPFluid.hpp (id: 13)
LSP: Sending response (id: 13)
LSP: (received) cpptools/getFoldingRanges: file:///d%3A/ANSYSDev/FluidProps/dev/Source/RGPLib/RGPFluid.hpp (id: 14)
LSP: (invoked) cpptools/getFoldingRanges: file:///d%3A/ANSYSDev/FluidProps/dev/Source/RGPLib/RGPFluid.hpp (id: 14)
LSP: Sending response (id: 14)
LSP: (received) cpptools/getFoldingRanges: file:///d%3A/ANSYSDev/FluidProps/dev/Source/RGPLib/RGPFluid.hpp (id: 15)
LSP: (invoked) cpptools/getFoldingRanges: file:///d%3A/ANSYSDev/FluidProps/dev/Source/RGPLib/RGPFluid.hpp (id: 15)
LSP: Sending response (id: 15)
LSP: (received) cpptools/getCodeActions: file:///d%3A/ANSYSDev/FluidProps/dev/Source/RGPLib/RGPFluid.hpp (id: 16)
LSP: (invoked) cpptools/getCodeActions: file:///d%3A/ANSYSDev/FluidProps/dev/Source/RGPLib/RGPFluid.hpp (id: 16)
LSP: Sending response (id: 16)
LSP: $/cancelRequest (<unknown/completed>, id: 16)
LSP: (received) cpptools/getCodeActions: file:///d%3A/ANSYSDev/FluidProps/dev/Source/RGPLib/RGPFluid.hpp (id: 17)
LSP: (invoked) cpptools/getCodeActions: file:///d%3A/ANSYSDev/FluidProps/dev/Source/RGPLib/RGPFluid.hpp (id: 17)
LSP: Sending response (id: 17)
LSP: $/cancelRequest (<unknown/completed>, id: 17)
LSP: (received) cpptools/getCodeActions: file:///d%3A/ANSYSDev/FluidProps/dev/Source/RGPLib/RGPFluid.hpp (id: 18)
LSP: (invoked) cpptools/getCodeActions: file:///d%3A/ANSYSDev/FluidProps/dev/Source/RGPLib/RGPFluid.hpp (id: 18)
LSP: Sending response (id: 18)
LSP: (received) cpptools/didChangeTextEditorSelection
LSP: (invoked) cpptools/didChangeTextEditorSelection
LSP: (received) cpptools/didChangeTextEditorSelection
LSP: (invoked) cpptools/didChangeTextEditorSelection
LSP: (received) cpptools/getCodeActions: file:///d%3A/ANSYSDev/FluidProps/dev/Source/RGPLib/RGPFluid.hpp (id: 19)
LSP: (invoked) cpptools/getCodeActions: file:///d%3A/ANSYSDev/FluidProps/dev/Source/RGPLib/RGPFluid.hpp (id: 19)
1 include path suggestion(s) discovered.
LSP: Sending response (id: 19)
LSP: (received) textDocument/definition: file:///d%3A/ANSYSDev/FluidProps/dev/Source/RGPLib/RGPFluid.hpp (id: 20)
LSP: (invoked) textDocument/definition: file:///d%3A/ANSYSDev/FluidProps/dev/Source/RGPLib/RGPFluid.hpp (id: 20)
LSP: Sending response (id: 20)
LSP: (received) textDocument/didClose: file:///d%3A/ANSYSDev/FluidProps/dev/Source/RGPLib/RGPFluid.hpp
LSP: (invoked) textDocument/didClose: file:///d%3A/ANSYSDev/FluidProps/dev/Source/RGPLib/RGPFluid.hpp
LSP: (received) textDocument/didOpen: file:///d%3A/ANSYSDev/FluidProps/dev/Source/RGPLib/RGPFluid.hpp
LSP: (invoked) textDocument/didOpen: file:///d%3A/ANSYSDev/FluidProps/dev/Source/RGPLib/RGPFluid.hpp
LSP: (received) cpptools/didChangeVisibleTextEditors
LSP: (received) cpptools/getCodeActions: file:///d%3A/ANSYSDev/FluidProps/dev/Source/RGPLib/RGPFluid.hpp (id: 21)
LSP: (invoked) cpptools/didChangeVisibleTextEditors
Shutting down IntelliSense server: D:\ANSYSDev\FluidProps\dev\Source\RGPLib\RGPLib.i
Intellisense update pending for: file:///d%3A/ANSYSDev/FluidProps/dev/Source/RGPLib/RGPFluid.hpp
LSP: (invoked) cpptools/getCodeActions: file:///d%3A/ANSYSDev/FluidProps/dev/Source/RGPLib/RGPFluid.hpp (id: 21)
1 include path suggestion(s) discovered.
LSP: Sending response (id: 21)
LSP: (received) textDocument/definition: file:///d%3A/ANSYSDev/FluidProps/dev/Source/RGPLib/RGPFluid.hpp (id: 22)
LSP: (invoked) textDocument/definition: file:///d%3A/ANSYSDev/FluidProps/dev/Source/RGPLib/RGPFluid.hpp (id: 22)
LSP: Sending response (id: 22)
LSP: (received) textDocument/didOpen: file:///d%3A/ANSYSDev/FluidProps/dev/Source/RGPLib/RGPInterpolate.hpp
LSP: (invoked) textDocument/didOpen: file:///d%3A/ANSYSDev/FluidProps/dev/Source/RGPLib/RGPInterpolate.hpp
LSP: (received) cpptools/didChangeVisibleTextEditors
LSP: (received) textDocument/didClose: file:///d%3A/ANSYSDev/FluidProps/dev/Source/RGPLib/RGPInterpolate.hpp
LSP: (invoked) cpptools/didChangeVisibleTextEditors
LSP: (invoked) textDocument/didClose: file:///d%3A/ANSYSDev/FluidProps/dev/Source/RGPLib/RGPInterpolate.hpp
IntelliSense update scheduled and TU acquisition started for: file:///d%3A/ANSYSDev/FluidProps/dev/Source/RGPLib/RGPFluid.hpp
Expanding recursive includes for: D:\ANSYSDEV\FLUIDPROPS\DEV\SOURCE\RGPLIB\RGPLIB.I
Done expanding recursive includes for: D:\ANSYSDEV\FLUIDPROPS\DEV\SOURCE\RGPLIB\RGPLIB.I
Reducing recursive includes for: D:\ANSYSDEV\FLUIDPROPS\DEV\SOURCE\RGPLIB\RGPLIB.I
Done reducing recursive includes for: D:\ANSYSDEV\FLUIDPROPS\DEV\SOURCE\RGPLIB\RGPLIB.I
sending compilation args for D:\ANSYSDev\FluidProps\dev\Source\RGPLib\RGPLib.i
system include: C:\PROGRAM FILES (X86)\MICROSOFT VISUAL STUDIO\2019\PROFESSIONAL\VC\TOOLS\MSVC\14.20.27508\INCLUDE
system include: C:\PROGRAM FILES (X86)\MICROSOFT VISUAL STUDIO\2019\PROFESSIONAL\VC\TOOLS\MSVC\14.20.27508\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: NDEBUG
define: UNICODE
define: _UNICODE
stdver: ms_c17
intelliSenseMode: windows-msvc-x64
LSP: (received) cpptools/getCodeActions: file:///d%3A/ANSYSDev/FluidProps/dev/Source/RGPLib/RGPFluid.hpp (id: 23)
LSP: (invoked) cpptools/getCodeActions: file:///d%3A/ANSYSDev/FluidProps/dev/Source/RGPLib/RGPFluid.hpp (id: 23)
LSP: (received) cpptools/hover: file:///d%3A/ANSYSDev/FluidProps/dev/Source/RGPLib/RGPFluid.hpp (id: 24)
LSP: (invoked) cpptools/hover: file:///d%3A/ANSYSDev/FluidProps/dev/Source/RGPLib/RGPFluid.hpp (id: 24)
1 include path suggestion(s) discovered.
LSP: Sending response (id: 23)
LSP: Sending response (id: 24)
Error squiggles will be disabled in: file:///d%3A/ANSYSDev/FluidProps/dev/Source/RGPLib/RGPFluid.hpp
Update IntelliSense time (sec): 0.29
LSP: (received) cpptools/getCodeActions: file:///d%3A/ANSYSDev/FluidProps/dev/Source/RGPLib/RGPFluid.hpp (id: 25)
LSP: (invoked) cpptools/getCodeActions: file:///d%3A/ANSYSDev/FluidProps/dev/Source/RGPLib/RGPFluid.hpp (id: 25)
1 include path suggestion(s) discovered.
LSP: Sending response (id: 25)
LSP: (received) cpptools/getFoldingRanges: file:///d%3A/ANSYSDev/FluidProps/dev/Source/RGPLib/RGPFluid.hpp (id: 26)
LSP: (invoked) cpptools/getFoldingRanges: file:///d%3A/ANSYSDev/FluidProps/dev/Source/RGPLib/RGPFluid.hpp (id: 26)
LSP: Sending response (id: 26)
LSP: (received) cpptools/getFoldingRanges: file:///d%3A/ANSYSDev/FluidProps/dev/Source/RGPLib/RGPFluid.hpp (id: 27)
LSP: (invoked) cpptools/getFoldingRanges: file:///d%3A/ANSYSDev/FluidProps/dev/Source/RGPLib/RGPFluid.hpp (id: 27)
LSP: Sending response (id: 27)
LSP: (received) cpptools/didChangeTextEditorSelection
LSP: (invoked) cpptools/didChangeTextEditorSelection
LSP: (received) cpptools/didChangeVisibleTextEditors
LSP: (invoked) cpptools/didChangeVisibleTextEditors
LSP: (received) cpptools/didChangeVisibleTextEditors
LSP: (invoked) cpptools/didChangeVisibleTextEditors
Other Extensions
I've not tried disabling other extensions but reverting the C++ extension version does work.
Additional context
@sranjan19 has also reproduced this issue, so it's not just me.
Metadata
Metadata
Assignees
Labels
Type
Projects
Status