You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Allow passing the formatJavadoc flag to Google Java Formatter #614
Back in November, the Google Java Formatter was updated to support turning off formatting of javadocs. This is particularly useful functionality with newer javadoc trends as well as older codebases that include heterogenous license headers.
Happy to take a PR for this (useful guide pr: #193).
If you'd like to gradually unify the license headers, without ever having a history-clobbering "format-the-world" moment, maybe try ratchetFrom 'origin/main'.
Activity
nedtwigg commentedon Jun 18, 2020
Happy to take a PR for this (useful guide pr: #193).
If you'd like to gradually unify the license headers, without ever having a history-clobbering "format-the-world" moment, maybe try
ratchetFrom 'origin/main'.fcurts commentedon Jul 17, 2021
Is there a workaround/hack for this? We can't adopt the Google formatter without this, as it unnecessarily changes the Javadoc in our entire codebase.
nedtwigg commentedon Jul 17, 2021
The PR referenced above (#193) is a very similar situation. To my knowledge, no workaround besides a PR.
fcurts commentedon Jul 20, 2021
Is it possible to support a generic way to pass options so that users aren't blocked every time a new option is added?
nedtwigg commentedon Jul 20, 2021
Maybe! PR's welcome :)
Goooler commentedon Sep 28, 2023
Closed by #1793.