ctr-opt-R doesn't work unless the test pane is already active. How to?

ctrl-option-R makes a spec test re-run... but only if the rspec pane is the active one.

More often, I've made a change in the code, and want to re-run the test. Is there a way to do this without needing to use the mouse?

9 comments

This is not possible at the moment.

0

Is there a keyboard command to activate that pane, so I can do it in two steps?

0

Check out View | Tool Windows | Run

0

Any plans on supporting this? A single hotkey from any view (at least any editor view) would make this quite powerful. And it used to work that way (some versions ago).

Also, rerun should also apply to any execution, not just tests. I think of it as "rerun the last thing I ran", which is usually a test, but make be something else (again, used to work this way).

Thanks!
Christian     

0

Yes, this was requested a number of times, and it's quite likely that it will be eventually implemented.

0

Is there an issue logged for it already? I looked and didn't see anything immediately obvious.

Also, didn't this used to work without window focus? When using IDEA (now using Rubymine) I used rerun from an editor view all the time, as part of TDD.

Thanks!
Christian

0

I just wonder what is the special about re-run?
If the run is the current run configuration you can use Ctrl+F10 (or what is the shortcut for "Run <current run configuration>" on your system).
Why this doesn't work for you?

Regards, Oleg.

0

Ah, this is perfect. I had not noticed that this was available. (Cmd-ctrl-F8 on the Mac).

0

Please sign in to leave a comment.