Antonio Marques created NETBEANS-1200:
-----------------------------------------

             Summary: Allow skipping save actions on save
                 Key: NETBEANS-1200
                 URL: https://issues.apache.org/jira/browse/NETBEANS-1200
             Project: NetBeans
          Issue Type: Improvement
          Components: editor - Actions/Menu/Toolbar
    Affects Versions: 8.2
            Reporter: Antonio Marques


Every so often, it's undesirable to have the 'On Save' editor actions applied 
top the file we're saving. For instance,
 * we may not wish to format a file, or organise imports, if it's a special 
file that requires a different style
 * or we may have some issue with some save action that doesn't normally 
surface, but does happen, and we just want to save the file and skip the 
actions - which, after all, we can always apply on demand
 * or sometimes NB will fail to resolve my dependencies unless I build first, 
but by calling build it will save my files, and the save action will delete the 
imports it doesn't find, thereby making the build fail

I'm sure there are other cases. My proposal is to have a 'Save (Skip On Save 
Actions)' entry in the menu. It's not needed that frequently, so there's no 
need for all the possible combinations (like save as/save all).

Another possibility is to have an enable/disable 'On Save' button on the 
toolbar. That would even allow skipping the actions for a 'Save All'.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

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

Reply via email to