Save just the tab? Follow
Is it possible to just save the tab / active file? The only save I could find is a "Save All"
I ask because I'm using autotest for automatically running tests; if I have say three specs open and click "Save All" then autotest will see that three files have changed via a save and run all three specs. This tends to slow things down a bit
Thanks!
Please sign in to leave a comment.
Andrew,
Actually, you do not need to worry about saving, RubyMine saves changes automatically.
What if you just edit files and do not do 'Save All' but rely on RubyMine to save when needed? I think it should help in your working scenario.
Regads,
-Eugene
Hi Eugene:
Unfortunately, I don't think that will work. Let me explain a little more...
When writing code, I'll have multiple tabs open... my cucumber feature, a cucumber step file, a controller, controller spec, and maybe a model and model spec.
What I see happening is that while I'm working on my cucumber code and I do a "Save All", autotest will see that the controller/controller spec has changed and will kickoff a test. At times, I'll have autotest run through several iterations of spec tests when there is no need because it thinks a file has changed.
What I've done to alleviate some of this is to uncheck "Save Files on frame deactivation" and "Save files automatically if application is idle". If I didn't turn this off, autotest would never stop running tests
Does this make sense? Have I overlooked something? This is why I was hoping to be able to save just the active tab... to be able to control whenver autotest decides to run tests.
Thanks for your help!
Hello Andrew,
RubyMine cannot save the only particular tab, thought we will consider adding such a feature for autotest users in future versions.
Regards,
Oleg