Is "reformat code" supposed to be idempotent? I ju...
# intellij
m
Is "reformat code" supposed to be idempotent? I just had a case where applying it twice made changes the second time. That was unexpected but maybe it's normal?
e
2nd time removes custom line breaks, by default there's a prompt for it but you can tell IntelliJ to stop prompting..
👀 2
🙏 1
m
I see... Looks like I disabled this prompt 😅
Thanks!
e
What a great question (and answer)!
❤️ 1
a
Is there a way to stop this behaviour? It infuraiates me a lot
s
If you’ve turned it on and hidden the prompt, you can turn it off again in
Preferences | Editor | Code Style | Formatter