-
Notifications
You must be signed in to change notification settings - Fork 49
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
Removing Feature.AD_HOC_FORMATTING from PalantirJavaFormatFormattingService #1083
Conversation
Generate changelog in
|
changelog/@unreleased/pr-1083.v2.yml
Outdated
@@ -0,0 +1,5 @@ | |||
type: fix | |||
fix: | |||
description: Removing Feature.AD_HOC_FORMATTING from FormattingService |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Probably best to describe the change in terms of what the user cares about - I'd say something like "fixes bug where generated code or automated refactoring is formatted incorrectly by removing AD_HOC_FORMATTING
"
👍🏻 |
Released 2.46.0 |
Before this PR
In #1078 we switched to the new Formatting APIs following google-java-format's commit: google/google-java-format@84b2c9a
However, this broke the Intelij generation code - see:
new generated code after extracting code:
expected code after extracting code:
After this PR
Removing Feature.AD_HOC_FORMATTING from PalantirJavaFormatFormattingService . The flag was remoced from google-java-format as well in a later PR: google/google-java-format@25ce685
==COMMIT_MSG==
Remove AD_HOC_FORMATTING
==COMMIT_MSG==
Possible downsides?
Fixes #1080