Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Eclipse: Save files without asking when I click run

Tags:

eclipse

Is there a way to save files without asking in Eclipse? Every time I click Run, it asks me if I want to save the file, and I always do.

like image 922
700 Software Avatar asked Apr 14 '11 21:04

700 Software


People also ask

How can you set files to save automatically when launching an application in Eclipse?

A check-box allows to enable the auto-save. The preferences page is accessible from Window > Preferences > General > Editors > Auto-save. The default value of inactivity before a save is set by default to 60 seconds. This value is customizable.

How can you set files to save automatically when launching an application?

First, try Window -> Preferences -> General -> Workspace. There you can check "Save automatically before build" and "Build automatically."

Does Eclipse have auto-save?

Auto-save of dirty editors is now available in Eclipse. The autosave option is disabled by default. A new autosave preference page (Preferences > General > Editors > Autosave) is available and allows to enable/disable the autosave and change the interval of autosave.

How do I save all files in Eclipse?

1 Answer. Show activity on this post. Under preferences General->Workspace, there's an "Save automatically before build" option.


1 Answers

Preferences > Run/Debug > Launching.

There's a setting called "Save required dirty editors before launching". Set it to "Always".

like image 153
dty Avatar answered Oct 02 '22 10:10

dty