Only format IntelliJ on manually save, with autosave enabled

29 Views Asked by At

I am coming from VSCode, where it autosaves files, but do not format them until you manually save it. In IntelliJ I have set autosave for 1 second (the minimum), and I had reformat code on save enabled.

The problem is that by doing so it keeps formatting the code as I am writing it.

How can I set so that it always saves what I am coding, but only formats the code when I explicit saves the file?

I am using the IntelliJ Community Edition (version 2023.3.1)

0

There are 0 best solutions below