The formatter should allow the users to set a config file and override the default formatting. There is a special case where I'd like to override the formatter config to avoid breaking long method names into new lines and it is not possible.
In Java, sometimes we have long method names for testing, and the formatter is formatting the method name to a new line:
The formatter should allow to override configurations via config file. We could have properties like line-length-limit: X and then break to new line only when the method name is bigger than what is set in the config.
The expected output I'd like to get from the above example is:
What happened?
The formatter should allow the users to set a config file and override the default formatting. There is a special case where I'd like to override the formatter config to avoid breaking long method names into new lines and it is not possible.
In Java, sometimes we have long method names for testing, and the formatter is formatting the method name to a new line:
What did you want to happen?
The formatter should allow to override configurations via config file. We could have properties like
line-length-limit: X
and then break to new line only when the method name is bigger than what is set in the config.The expected output I'd like to get from the above example is: