google-java-format
google-java-format copied to clipboard
Idea live template cursor conflicts when used with google java format!
Live template
fori
Before:

Enable google-java-format

After:

Version:
IntelliJ IDEA 2021.3.3 MacOS arm64 with google-java-format v1.15.0.0
I think it might be because of auto-formatting.
I don't know how to turn off the automatic formatting brought by google-java-format plugins in idea
Found it!
Just because of auto-formatting!

The default "fori" has no spaces, like "for(".
At the same time, in the right area, Options "Reformat according to style" is turned on.