Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 337298

Summary: [actions][clean up] command to save without save actions
Product: [Eclipse Project] JDT Reporter: Nicolas Bros <nicolas.bros>
Component: UIAssignee: JDT-UI-Inbox <jdt-ui-inbox>
Status: ASSIGNED --- QA Contact:
Severity: enhancement    
Priority: P5 CC: daniel_megert, markus.kell.r
Version: 3.7Keywords: helpwanted
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard:

Description Nicolas Bros CLA 2011-02-16 06:06:53 EST
I have activated save actions because it is a great way to avoid doing a lot of redundant operations.

But sometimes, I am modifying code that I don't want to impact too much. For example when the code is not mine or it's generated. Also, on large generated files, the save actions can take a few seconds, which are unnecessary because I have to undo the save actions immediately (which takes another few seconds).

So, I'd like a way to avoid applying the save actions selectively (for *some* saves) without having to go in the preferences to disable the save actions globally.

For example, it could be:
Ctrl+S : save with save actions
Ctrl+Alt+Shift+S : save without save actions
Comment 1 Dani Megert CLA 2011-02-16 06:10:33 EST
Use Undo (Ctrl+Z) after 'Save' to get into the basic save state. We don't plan to add an additional action.
Comment 2 Markus Keller CLA 2011-02-16 07:05:23 EST
I agree that this is sometimes cumbersome and the workaround with Undo is not really satisfactory.

I guess we could accept a contribution that just adds a "Save (without Save Actions)" command that users can bind to a keybinding themselves (or use it via Ctrl+3).
Comment 3 Nicolas Bros CLA 2011-02-16 08:39:17 EST
(In reply to comment #2)
> I guess we could accept a contribution that just adds a "Save (without Save
> Actions)" command that users can bind to a keybinding themselves (or use it via
> Ctrl+3).

yes, that would be perfect