cgeo/c-geo-opensource — Issue #1146: Control statements as blocks
Author: Bananeweizen
Created: 2012-02-19 11:55:14+00:00
State: open

I would like to add a save action to our shared settings for the formatter, so that control statements are always reformatted as block. So instead of

if (changed)
notifyChanged();

I would always like to have

if (changed) {
notifyChanged();
}

To me the second version is much more fault tolerant regarding later changes of the code (e.g. adding a second statement to the then-block). Any objections to having this as shared setting?