You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@netbeans.apache.org by "dennis lucero (JIRA)" <ji...@apache.org> on 2019/08/01 14:22:00 UTC

[jira] [Created] (NETBEANS-2933) Undo “On Save” actions

dennis lucero created NETBEANS-2933:
---------------------------------------

             Summary: Undo “On Save” actions
                 Key: NETBEANS-2933
                 URL: https://issues.apache.org/jira/browse/NETBEANS-2933
             Project: NetBeans
          Issue Type: Wish
          Components: editor - Formatting &amp; Indentation
    Affects Versions: 11.0
            Reporter: dennis lucero


“On Save” actions (Tools→Options→Editor→On Save) are very useful; however they can also interfere with the intended formatting. For example, the [Jdbi|https://jdbi.org/] 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 revert the “On Save” actions and save the file again, with just the edits the user made explicitly.



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@netbeans.apache.org
For additional commands, e-mail: commits-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists