We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Prettier-Java ^0.8.0
# Options (if any): --print-width 80
Input:
// code snippet public class Test { public void testMethod(final String param1, final String param2) throws Exception { throw new Exception("blah"); } }
Output:
Note that throws and throw appear at the same indentation.
throws
throw
Expected behavior:
When throws is wrapped, it seems like it should be more clearly separated from code inside the method.
One option is to use one additional indentation any time a line is wrapped, but open to alternatives:
public class Test { public void testMethod(final String param1, final String param2) throws Exception { throw new Exception("blah"); } }
The text was updated successfully, but these errors were encountered:
Some related discussion: #384 (comment)
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
Prettier-Java ^0.8.0
# Options (if any): --print-width 80
Input:
Output:
Expected behavior:
When
throws
is wrapped, it seems like it should be more clearly separated from code inside the method.One option is to use one additional indentation any time a line is wrapped, but open to alternatives:
The text was updated successfully, but these errors were encountered: