I'm looking for a configuration or plugin for eclipse that automatically saves files (so I don't have to use Ctrl+S). It could do it on lost focus or over some period of time. I think I saw something like that (I know IDEA has it), but I cant find it now.
Changing the behvaiour of backward-word and backward-kill-word
Why is eclipse trying to compile files not in my build path?
Eclipse: How to ensure jar in plugin is given priority over other versions elsewhere?
I bet plugin like I describe exists.....
Is there anyway to modify the keyboard shortcuts in eclipse?
Are there any good ssh consoles for Eclipse?
and you are right!.
From Eclipse to IntelliJ
Eclipse plugin saveDirtyEditor should do just what you need.
(Eclipse) How do I package third party plugins with my feature?
SaveDirtyEditors_1.0.2.jarin your plugin directory..
Eclipse plug-in development Unable to instantiate class due to java.lang.NoClassDefFoundError:
You will get a new preference page under.
, allowing you to save dirty files like '
General > Editors > Text Editors > Save Dirty Editors
myfile.java' under '
myfile.java.snapshot' every 30 seconds (can be less if you want).. Without additional plugin, though, Eclipse does not support natively that feature.. The closest could be:.
That way, each time you hit CTRL+B for actually building your sources, they would be saved.
Window > Preferences > type "build" > General > Workspace > [x] Save automatically before build
But I realize this is not exactly what you are after.
Beware your option would not be very efficient with the "build automatically" option activated...
(that would trigger too much builds). Again, without achieving exactly what you are looking for, you also have:.
Note: the difference between IntelliJ IDEA and eclipse is the "compile on save" feature:. As mentioned in the IDEA FAQ:.
Run/Debug > Launching > Save required dirty editors before launching Run/Debug > Launching > [x] Build (if required) before launching
Q:However, with Eclipse, the "build on save" is activated by default, hence the absence of that particular feature..
Can I enable "compile on save" in IntelliJ IDEA?. IntelliJ IDEA currently doesn't support this feature.
However there is an "Eclipse-mode" plug-in which provides similar functionality, so we suggest you to try this plug-in.
Note that by default IntelliJ IDEA saves the files for you, so you don't have to press the Ctrl+S shortcut frequently like you need to do in other IDEs..
However, if you switch away from eclipse it doesn't notice..
. Window -> Preferences -> General -> Workspace and there you can check:.
If that doesn't work try this:. Preferences -> Run/Debug -> Launching -> Save dirty editors before launching.
Save automatically before build + Build automatically