-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
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
Upgrade Clang Format Version to 9 or 10. #4772
Comments
On my computer (Windows10, Extension Version: 0.26.2), it's clang-format V6.0 . You can find it here ${Users}${User}.vscode\extensions\ms-vscode.cpptools-0.26.2\LLVM\bin\clang-format.exe You can install the clang-format version you like, and set the path in "setting"."C_Cpp.clang_format_path". That may solve your problem. |
I would also appreciate an upgrade of the clang-format version on Windows because I can't use |
If it's version 6 then seems like time for an upgrade! I realize I can install a newer clang and point vs code at it but would be awesome if a newer version came out of the box. The thing is that if you work in a team that everyone is using vs code, and you want to maintain a particular code formatting standard, then we all need to use the same clang-format version. It's much easier to manage this situation if it's included already. |
We're tracking it with #2887 . |
Our Insider release ships with clang 9.0.1: https://github.com/microsoft/vscode-cpptools/releases/tag/0.27.0-insiders |
Type: LanguageService
Describe the bug
clang-format seems to be version 6, can this be upgraded please?
To Reproduce
Just introduce a setting into the .clang-format file that is supported by version 9 or 10. eg:
AllowShortIfStatementsOnASingleLine: Always
formatting will fail....
The text was updated successfully, but these errors were encountered: