google-java-formatter and Complete Statement shortcut
Answered
I like to use `Ctrl-Shift-Enter` shortcut for Complete Statement action. Now when I have installed & enabled `google-java-formatter` plugin, this shortcut doesn't act as expected.
Before plugin it was like this when I pressed the shortcut after typing ... myMethod():
public void myMethod() {
}
Now after doing the same, I get this:
public void myMethod() {}
That is not really comfortable because I have to navigate between curly braces and press Enter.
Is it something wrong with the shortcut or it is something because of the formatter-plugin? I can I change it to the previous behaviour?
Please sign in to leave a comment.
Please report at https://github.com/google/google-java-format/issues.
Ok, perhaps it's a formatter issue and not an IDEA's issue. Reported it here: https://github.com/google/google-java-format/issues/264