-
Notifications
You must be signed in to change notification settings - Fork 460
New issue
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
Set max line length for google formatter #1563
Comments
If Then this would be pretty easy to implement. PRs welcome. |
I've converted GJF to a compile-only integration. To reduce complexity, I would suggest that we'll require GJF of at least version After having converted GJF to a compile-only dependency, I've tried to introduce a configuration for the max-line-length. GJF however has taken every measure, for this property to not be changeable, as can be seen here: They've decided to make this a It was possible to change this value up to GJF Release This is, ultimately, what the aformentioned maven-plugin does: This approach, however, is no longer feasible, as it is only working for GJF Versions ≤ TL;DR: it is not possible to make GFJ's @nedtwigg Given the above, should I create a PR to merge the transition of GJF to a compile-only dependency, or would you rather keep it "the old way" using reflection? |
A GJF conversion to compile-only which drops support for pre-1.8 is very welcome, thanks @simschla! I apologize for sending a wild goose-chase regarding max-line-length. I'm going to close this issue since it appears impossible to implement. |
No worries, as it turns out, there is always something to be learned, even if the result is finding out, that something is not possible... 🤔 I've created #1630 to convert gjf to a compile-only dependency. |
Hello
??? |
@pks-1981 As of now, this setting is not possible due to design decisions on Google's side. |
Cant set max line length as in https://github.com/talios/googleformatter-maven-plugin
Is any solutions for this exist? Other formatters with googlse style or else?
The text was updated successfully, but these errors were encountered: