Skip to content

Commit

Permalink
TISTUD-6599 switch statements should not indent cases
Browse files Browse the repository at this point in the history
- Default to aligning switch cases with the wrapping switch. In JS that is a typical code standard.
  • Loading branch information
sgtcoolguy committed Jun 5, 2014
1 parent 43876f7 commit c66d321
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ public void initializeDefaultPreferences()
store.putInt(WRAP_COMMENTS_LENGTH, 80);
store.putBoolean(INDENT_BLOCKS, true);
store.putBoolean(INDENT_FUNCTION_BODY, true);
store.putBoolean(INDENT_SWITCH_BODY, true);
store.putBoolean(INDENT_SWITCH_BODY, false);
store.putBoolean(INDENT_CASE_BODY, true);
store.putBoolean(INDENT_GROUP_BODY, true);
store.putBoolean(NEW_LINES_BEFORE_CATCH_STATEMENT, false);
Expand Down

0 comments on commit c66d321

Please sign in to comment.