-
Nov 17th, 2011, 03:56 AM
#1
Auto Save not working in STS
Hi,
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,
Riswan
-
Nov 18th, 2011, 10:18 AM
#2
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
#3
Thanks a lot Andrew. That solves the problem
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules