This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 108600 - Enhance usability of "Rerun" action
Summary: Enhance usability of "Rerun" action
Status: NEW
Alias: None
Product: ruby
Classification: Unclassified
Component: Platform (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: issues@ruby
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-07-02 04:12 UTC by jamespb
Modified: 2011-01-28 20:10 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description jamespb 2007-07-02 04:12:01 UTC
I'd like to be able to start a debug session (debug file), stop the debug in the middle, and then use a key combo to
start debugging that same file, even if I'm now looking at a new file.  (Another useful RadRails feature)
Comment 1 Martin Krauskopf 2007-07-02 07:58:05 UTC
When you start a debug session (single file or project) the new or reused Output Window is used for the output (if any).
There is a ">>" button which repeat the action of that Output Window - so it is serve the purpose. Does this work for
you? Thanks.
Comment 2 jamespb 2007-07-02 15:35:48 UTC
Yes, that's the right functionality - thanks for pointing it out.

The problem is that shouldn't be called "rerun."  "run" and "debug" seem to be used to mean two different things in
NetBeans Ruby, so saying "rerun" when the last thing you did was a "debug" is kind of strange.  Change the tooltip to be
something more like "repeat" maybe?  

As a new user, it's non-intuitive that there would be a "repeat your last action" kind of button in what I think of as a
text output window - seems like it belongs on the Run menu.

It'd be good to have a keyboard shortcut for it, too (there may be one, but keyboard shortcut help is broken, so I don't
know how to find out if there already is one).
Comment 3 Martin Krauskopf 2007-07-02 16:30:46 UTC
This is not Ruby specific RFE. We may change the tooltip just for Ruby easily (Tor,
ruby/projects/src/org/netbeans/modules/ruby/rubyproject/execution/Bundle.properties). But probably should be the same
for all languages.

Regarding menu item, it would have to be implemented in the project infrastructure, right? Presumably to be reassigned
to the project component or HIE. Tor, your code, passing to you in the case you do not agree.
Comment 4 Martin Krauskopf 2007-07-02 16:31:41 UTC
Forgot to reassign, Tor see above....
Comment 5 Jiri Kovalsky 2007-07-03 14:05:51 UTC
Reassigning this issue to newly created 'ruby' component.
Comment 6 21croissants 2008-01-09 10:26:59 UTC
adding a shortcut to the command "Rerun" would be very useful in the context of unit testing when not using Autotest.
Comment 7 Martin Krauskopf 2008-03-30 18:57:10 UTC
"Version" means the version of the IDE in which the bug/RFE became valid. That's 6.0+.
Comment 8 jamespb 2008-03-30 19:25:46 UTC
My change was just pilot error - I had submitted a change for another bug, and meant to change the version for that one,
not this one.