universal-indent-gui icon indicating copy to clipboard operation
universal-indent-gui copied to clipboard

Support ClangFormat v17.0.0

Open tanzislam opened this issue 7 years ago • 1 comments

Add an indenter configuration file for ClangFormat v17.0.0. It can generate all the documented .clang-format options, except the following:

  • ExperimentalAutoDetectBinPacking, because it is discouraged from use in config files.

  • AlwaysBreakAfterDefinitionReturnType, DeriveLineEnding, SpaceInEmptyParentheses, SpacesInCStyleCastParentheses, SpacesInConditionalStatement, SpacesInParentheses and UseCRLF, because they are now deprecated.

  • IncludeCategories and RawStringFormats, because their option values are highly structured YAML and beyond the capabilities of UniversalIndentGUI.

Also enlist ClangFormat in the list of supported indenters in the text, HTML and Markdown README files (but not in the binary PDF file) and in the release packaging scripts.

tanzislam avatar May 24 '18 21:05 tanzislam

There is problem with duplicated BreakBeforeBraces option.

radoslav06 avatar Jul 31 '24 13:07 radoslav06