Nov 17th, 2011, 03:56 AM
Auto Save not working in STS
I'm an eclipse user, who is a newbie to STS. Whenever i change some code in a groovy file in STS and try to run it, it always runs the last saved version, unlike in Eclipse which auto saves the edited code and runs the newer version.
This is a little annoying as whenever I change the code and run it (without manual saving, as I'm used to Eclipse) I always get the results for the older version of code.
Is there setting to make the code autosaved or atleast make STS prompt me if I change any code.
Thanks & Regards,
Nov 18th, 2011, 10:18 AM
Try changing this setting:
Preferences -> Run/Debug -> Launching -> "Save dirty editors before launching"
The default is to prompt, perhaps your workspace somehow had that setting changed.
Nov 22nd, 2011, 12:46 AM
Thanks a lot Andrew. That solves the problem
Tags for this Thread