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
As the title says, I want clang-format to format the file according to the .clang-format file. And when that file doesn't exist, it falls back to the configuration I set.
However, only the "Style" supports the JSON configuration. And when it was rewritten by me, clang-format wouldn't read the contents of the .clang-format file.
Wishing the Fallback Style supports JSON configuration or be applied as a local .clang-format file.
The text was updated successfully, but these errors were encountered:
Cateds
changed the title
Wishing Better Fallback Style Configuration
Expecting Better Fallback Style Configuration
Mar 7, 2025
As the title says, I want clang-format to format the file according to the
.clang-format
file. And when that file doesn't exist, it falls back to the configuration I set.However, only the "Style" supports the JSON configuration. And when it was rewritten by me, clang-format wouldn't read the contents of the
.clang-format
file.Wishing the
Fallback Style
supports JSON configuration or be applied as a local.clang-format
file.The text was updated successfully, but these errors were encountered: