Bug 337298 - [actions][clean up] command to save without save actions
Summary: [actions][clean up] command to save without save actions
Status: ASSIGNED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 3.7   Edit
Hardware: All All
: P5 enhancement (vote)
Target Milestone: ---   Edit
Assignee: JDT-UI-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords: helpwanted
Depends on:
Blocks:
 
Reported: 2011-02-16 06:06 EST by Nicolas Bros CLA
Modified: 2011-02-16 09:26 EST (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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