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
When type parameters on a function call cause the line width to be exceeded, ktfmt breaks on the type parameters:
VeryLongNamedServiceMocker.whenever(VeryLongNamedServiceMocker.Method.FunctionName).thenRespond< LongType> { // do a thing }
Instead, I would expect the line to be broken at the higher syntactic level, such as
VeryLongNamedServiceMocker.whenever(VeryLongNamedServiceMocker.Method.FunctionName) .thenRespond<LongType> { // do a thing }
or
VeryLongNamedServiceMocker .whenever(VeryLongNamedServiceMocker.Method.FunctionName) .thenRespond<LongType> { // do a thing }
The text was updated successfully, but these errors were encountered:
Currently (v0.49) it formats to this:
Yeah, I agree that we could do better here
Sorry, something went wrong.
No branches or pull requests
When type parameters on a function call cause the line width to be exceeded, ktfmt breaks on the type parameters:
Instead, I would expect the line to be broken at the higher syntactic level, such as
or
The text was updated successfully, but these errors were encountered: