netbeans-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "dennis lucero (JIRA)" <j...@apache.org>
Subject [jira] [Created] (NETBEANS-2933) Undo “On Save” actions
Date Thu, 01 Aug 2019 14:22:00 GMT
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


Mime
View raw message