Announcement Announcement Module
Collapse
No announcement yet.
Auto Save not working in STS Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • 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

  • #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.

    Comment


    • #3
      Thanks a lot Andrew. That solves the problem

      Comment

      Working...
      X