You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When running Format Document, certain options in a local clang-format config file are not recognized and cause the tool to fall back on default formatting. I've observed this with at least these:
SpaceAfterTemplateKeyword
FixNamespaceComments
I have confirmed these are valid according to the clang-format style guide. Only thing I can think of is these options are newer than the included clang-format version.
The text was updated successfully, but these errors were encountered:
We install/use clang-format 3.8, but those options are newer. You can set the C_Cpp.clang_format_path to a newer clang-format version if you want. We were planning to update to 4.0 soon, but that version doesn't have FixNamespaceComments. Is there a specific version you wanted us to use? I don't think version 5.0 is officially released yet.
When running Format Document, certain options in a local clang-format config file are not recognized and cause the tool to fall back on default formatting. I've observed this with at least these:
SpaceAfterTemplateKeyword
FixNamespaceComments
I have confirmed these are valid according to the clang-format style guide. Only thing I can think of is these options are newer than the included clang-format version.
The text was updated successfully, but these errors were encountered: