Constructors/methods with throws clauses now break on their comma-separated list of exception classes rather than violating printWidth, and the left curly brace of the body is broken when this happens in order to separate the exception classes from the body (since they will be at the same indentation).
What changed with this PR:
Constructors/methods with
throws
clauses now break on their comma-separated list of exception classes rather than violating printWidth, and the left curly brace of the body is broken when this happens in order to separate the exception classes from the body (since they will be at the same indentation).Example
Input
Output
Relative issues or prs:
Closes #286 Closes #429 Closes #583