Is there a way to save开发者_如何学Python files without asking in Eclipse? Every time I click Run, it asks me if I want to save the file, and I always do.
Preferences > Run/Debug > Launching.
There's a setting called "Save required dirty editors before launching". Set it to "Always".
There should be a check box on that Save File dialog:
Or you can choose the option in Window->Preferences->General->Workspace and check the option called "Save automatically before build". This would make your life definitely easier
You can select the Automatically save resources
checkbox the next time it prompts but I believe that's a per project setting.
精彩评论