Hi guys,
now that I finally finished the migration to 2015.05, I think it's time
to talk about the contributions that I'd like to make to the MITK
project (some of them discussed at the users' meeting).
I will write an e-mail for each topic so that the discussion is more
focused.
Just as an "a bit more", I would like to propose using CLang format
<http://clang.llvm.org/docs/ClangFormat.html>to manage the formatting of
source code in MITK. It's definitely not a big issue, but I have used it
now for a while and I enjoy it tremendously.
I use Visual Studio to edit my code and the plugin is working
flawlessly. I think that integrating it with %your_favourite_editor%
should be easy.
It is as simple as putting a ".clang-format" file in the root of MITK
and editing it until the desired format is achieved. Mine looks like this:
BasedOnStyle: LLVM
IndentWidth: 4
ColumnLimit: 128
AccessModifierOffset: -4
AllowShortIfStatementsOnASingleLine: false
AllowShortLoopsOnASingleLine: false
BreakBeforeBraces: Linux
BreakConstructorInitializersBeforeComma: true
PointerBindsToType: true
Cheers,
Rostislav.
------------------------------------------------------------------------------
_______________________________________________
mitk-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mitk-users