Indentation - support extra indent for throws clause #101

Closed
daniilyar opened this Issue Feb 9, 2014 · 3 comments

Comments

Projects
None yet
2 participants
Contributor

daniilyar commented Feb 9, 2014

Ported from Sourceforge 934551 issue, please see details there.

There is already a suggested patch which allows users to configure the indentation level for throws statements in method declarations:
http://sourceforge.net/p/checkstyle/patches/_discuss/thread/358bc429/7d4d/attachment/checkstyle-934551.diff.
This patch adds a configuration property which allows users to set the offset for throws statements. The default is unchanged from 4, with zero meaning that the throws should be in line with the first line of the method declaration, and 8 meaning that it should indented an additional 4 characters relative to the method body.

Contributor

daniilyar commented Feb 13, 2014

Closed as duplicate of issue #63, (pull request #80)

daniilyar closed this Feb 13, 2014

Just in case: checkstyle-idea and eclipse-cs added support for version 5.7 yesterday.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment