We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bug Summary:
The disabled code region fail on simple case. I'm using CMake and the MSVC 2022 C compiler, with the following simple code
#define USE_FIRST #define USE_ANTYHING #if defined(USE_FIRST) #include <stdio.h> #elif defined(USE_SECOND) #include <stdio.h> #else #error Either USE_FIRST or USE_SECOND must be defined #endif int main(int argc, char *argv[]) { printf("Main executed\r\n"); return 0; }
The normal output is the following:
However sometimes it's failing For example when you press one or two times the Ctrl+S (save file) then the disabled dimed area fail:
Steps to reproduce:
You can check the simple code here to reproduce, it use CMake: Bug.zip
Here is the generated `c_cpp_properties.json` { "configurations": [ { "name": "Win32", "includePath": [ "${workspaceFolder}/**" ], "defines": [ "_DEBUG", "UNICODE", "_UNICODE" ], "windowsSdkVersion": "10.0.22000.0", "compilerPath": "cl.exe", "cStandard": "c17", "cppStandard": "c++17", "intelliSenseMode": "windows-msvc-x64", "configurationProvider": "ms-vscode.cmake-tools" } ], "version": 4 }
No response
The text was updated successfully, but these errors were encountered:
@xamix Thanks for reporting this. I've filed bug https://developercommunity.visualstudio.com/t/C-IntelliSense-inactive-regions-are-in/10808031 against our shared IntelliSense parser.
Sorry, something went wrong.
No branches or pull requests
Environment
Bug Summary and Steps to Reproduce
Bug Summary:
The disabled code region fail on simple case.
I'm using CMake and the MSVC 2022 C compiler, with the following simple code
The normal output is the following:
However sometimes it's failing
For example when you press one or two times the Ctrl+S (save file) then the disabled dimed area fail:
Steps to reproduce:
You can check the simple code here to reproduce, it use CMake:
Bug.zip
Configuration and Logs
Other Extensions
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: