Update the Code Style Guide section to match the .clang-format
tool decisions
#133
Labels
type:Enhancement
Improvement of existing methods or implementation
Since the merge of PR 1191 to the ITK repository, code formatting has been automatized with
.clang-format
.A number of decisions were made based on the answers on the corresponding discourse post to define the style.
Thus, the Coding Style Guide section should be adapted to the adoption of the tool.
Maintaining both may be difficult as it has been until now when some change is introduced in the style. Although it is the
.clang-format
tool that will ultimately dictate the style in an automatic fashion, explaining the result it produces as the code layout with real examples may be useful to contributors.Thus, there would be at least two possibilities to update the fiel/section:
.clang-format
will take care of the formatting and explain how.clang-format
takes care of the style..clang-format
tool, but re-work the current sections with examples to match what the.clang-format
file dictates.Also, the
.clang-format
tool dictates theC++
style, so for the PythonITKExamples
we would still be missing a similar tool and/or a section in the ITK SW Guide (see issue #118).The text was updated successfully, but these errors were encountered: