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: Indentation for do-while without brace is wrong.
Steps to reproduce: Enable vcFormat to format the code, then just write a do-while like:
if (...) do cout << "Hello World!"; while (...);
Expected behavior:
{ "configurations": [ { "name": "Win32", "includePath": [ "${workspaceFolder}/**" ], "defines": [ "_DEBUG", "UNICODE", "_UNICODE" ], "compilerPath": "C:\\TDM-GCC-64\\bin\\gcc.exe", "cStandard": "c17", "cppStandard": "gnu++14", "intelliSenseMode": "windows-gcc-x64" } ], "version": 4 }
Only this extension has been enabled.
The key issue is that the compiler does not compile like it looks like.
The text was updated successfully, but these errors were encountered:
@XiongDiNanDang I've filed a bug on our shared VS implementation at https://developercommunity.visualstudio.com/t/C-formatting-doesnt-correctly-handle/10793135 . The issue doesn't repro with the clang-format formatter.
Sorry, something went wrong.
No branches or pull requests
Environment
Bug Summary and Steps to Reproduce
Bug Summary:
Indentation for do-while without brace is wrong.
Steps to reproduce:
Enable vcFormat to format the code, then just write a do-while like:
Expected behavior:
Configuration and Logs
Other Extensions
Only this extension has been enabled.
Additional context
The key issue is that the compiler does not compile like it looks like.
The text was updated successfully, but these errors were encountered: