Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Plugin doesn't work with if "Only VCS changed text" is selected from …
…code-reformat settings (#386) Summary: Fixes #228 The code reformat with "Only VCS changed text" falls back to the IDE Kotlin settings due to a missing override in KtfmtCodeStyleManager.java. This is also true of the popular "Save Actions" plugin which reformats with the same command. This change adds the missing override exactly as it appears in the reference project google/google-java-format at https://github.com/google/google-java-format/blob/d86e930de93f123994fba151a8d289b8035db87b/idea_plugin/src/com/google/googlejavaformat/intellij/GoogleJavaFormatCodeStyleManager.java#L76 Confirmed to fix the issue on Android Studio 2021.1.1 with the manual code-reformat and in the Save Actions plugin. Pull Request resolved: #386 Reviewed By: strulovich Differential Revision: D49322592 Pulled By: hick209 fbshipit-source-id: 99d56d428603292ffb6efb6551e7fa619367c0bd
- Loading branch information