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.
Add "Debug focused test" to go along with "Run Focused Test." ("Run focused test" finds the test method containing the cursor and runs it using ruby <filename> -n testname)
Since module is not part of NB 6.0, I may do this soon.
Copying a mail I sent to ruby 'Run focused test' has Ctrl + Alt + F6, right? For 'Debug focused test' would be ideal Ctrl + Alt + F5(PC) but this can not be used due to a clash with KDE (KDE switches to console with this shortcut). Therefore, we can use Alt + Shift + F5 (on mac Ctrl + Shift + F5) which would make Run focused test and debug focused test inconsistent or we can still change the shortcut for run focused test to Alt + Shift + F6 and have Run focused test: Alt + Shift + F6 Ctrl + Shift + F6 Debug focused test: Alt + Shift + F5 Ctrl + Shift + F5 This is imo the best solution as it makes remembering these shortcuts easier which can be crucial for actions not present in the menu. I tried to test this, but unfortunately can not add Ctrl + Shift + F* shortcut in 'Add Shortcut Dialog' on mac to any action. Is there a problem with these shortcuts on mac I am not aware of?
Copying a mail I sent to ruby e-mail conference: ------------------------------------------------ 'Run focused test' has Ctrl + Alt + F6, right? For 'Debug focused test' would be ideal Ctrl + Alt + F5(PC) but this can not be used due to a clash with KDE (KDE switches to console with this shortcut). Therefore, we can use Alt + Shift + F5 (on mac Ctrl + Shift + F5) which would make Run focused test and debug focused test inconsistent or we can still change the shortcut for run focused test to Alt + Shift + F6 and have Run focused test: Alt + Shift + F6 Ctrl + Shift + F6 Debug focused test: Alt + Shift + F5 Ctrl + Shift + F5 This is imo the best solution as it makes remembering these shortcuts easier which can be crucial for actions not present in the menu. I tried to test this, but unfortunately can not add Ctrl + Shift + F* shortcut in 'Add Shortcut Dialog' on mac to any action. Is there a problem with these shortcuts on mac I am not aware of?
Just to clarify - the action (debug focused test) was added without a default keybinding, so users can add their own. I can't add a ctrl-shift-FN keybinding on Linux, either.
Ignore my comment about not being able to assign ctrl-shift-FN on Linux - it was a window manager conflict. Assigning ctrl-shift-FN works just fine once I unassigned the key in KDE.
> 'Run focused test' has Ctrl + Alt + F6, right? Seems to me that it has Alt + Shift + F6. > I tried to test this, but unfortunately can not add Ctrl + Shift + F* shortcut in 'Add Shortcut Dialog' on mac to any > action. Is there a problem with these shortcuts on mac I am not aware of? I'm not aware of any. Until they are eaten by your WM (MacOS). If still problem for you could you file separate issue for core? So I'll go with Alt + Shift + F5 for now.
I've added the shortcuts: http://hg.netbeans.org/main/rev/f6d8f1e8c3e9 Note there seems to be some general problem with those actions in the meantime (issue 101715).