Details
-
Wish
-
Status: Open
-
Major
-
Resolution: Unresolved
-
11.0
-
None
-
None
Description
“On Save” actions (Tools→Options→Editor→On Save) are very useful; however they can also interfere with the intended formatting. For example, the Jdbi project has strict rules about the order and formatting of import statements. Using my default settings, the imports get messed up and I have to use another editing tool to fix them.
Therefore I suggest making the “On Save” actions undoable, separatedly from the user actions. After making an edit and saving the file, “On Save” actions would be applied as usual, however invoking “Undo” once would undo only the “On Save” actions and save the file again (so the user doesn’t have to save the file manually which would execute the “On Save” actions again), with just the edits the user made explicitly.