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.
Go to declaration keystroke (ctrl-b) is defined according to Tools > Options. Ctrl-b is not set according to Navigate > Go to declaration, and the keystroke doesn't appear to do anything. Choosing Navigate > Go to declaration from the menu works fine. Screenshots enclosed. Product Version: NetBeans IDE Dev (Build 200802151203) Java: 1.6.0_03; Java HotSpot(TM) Client VM 1.6.0_03-b05 System: Linux version 2.6.22-14-generic running on i386; UTF-8; en_US (nb) Userdir: /home/james/.netbeans/dev
Created attachment 56755 [details] navigate menu
Created attachment 56756 [details] options menu with ctrl-b set
Created attachment 56758 [details] new upload of options dialog
Toggle comment has the same problem.
Weird, works for me on Mac. This is not Ruby-specific, assigning to core.
Reassigned Editor/Options
reproducible, but only with ruby distribution, in javase distribution it works fine
I think that this is a classic implication of issue #90403 (aka kitclass vs mimetype dichotomy). Ruby is GSF based language, which does not have its own EditorKit implementation, therefore the only shortcuts that are available for it are those defined for MimePath.EMPTY, which is not the case of ctrl+B as it is registered for text/x-ruby. The quick workaround would be to move the shortcut declaration to the editor infrastructure and under the empty mimepath (ie. make it available for all file types). Correct solution obviously is fixing #90403.
I moved the shortcut to the editor infrastructure. changeset 3795f025e02d in main details: http://hg.netbeans.org/main?cmd=changeset;node=3795f025e02d
Broken again in this build: Product Version: NetBeans IDE Dev (Build 20080325130838) Java: 1.6.0_03; Java HotSpot(TM) Client VM 1.6.0_03-b05 System: Linux version 2.6.22-14-generic running on i386; UTF-8; en_US (nb) Userdir: /home/james/.netbeans/dev
I'm sorry, I couldn't get the exact same build, but tried 200803251204 from nb.org and my own dev build 080326 and the shortcut is working in both. Could you please try in a dev build? Thanks Product Version: NetBeans IDE Dev (Build 200803251204) Java: 1.6.0_10-ea; Java HotSpot(TM) Client VM 11.0-b11 System: Linux version 2.6.22-14-generic running on i386; UTF-8; en_US (nb) Userdir: /home/vita/.netbeans/dev Product Version: NetBeans IDE Dev (Build 080326) Java: 1.5.0_12; Java HotSpot(TM) Client VM 1.5.0_12-b04 System: Linux version 2.6.22-14-generic running on i386; UTF-8; en_US (nb) Userdir: /home/vita/devel/netbeans/main/nbbuild/testuserdir
I'm downloading 1315 from http://deadlock.netbeans.org/hudson/job/trunk/lastSuccessfulBuild/artifact/nbbuild/dist/zip/ now. I'll give it a shot this morning.
It's working in 1315 - and I think the problem is a user directory issue. I installed 1315, saw the problem, shut down, removed my .netbeans directory, and restarted. The problem went away. I'm going to reopen the issue and include both the working and non-working user directories. I'll also drop this to a P4 - seems like the sort of problem that might be interesting to look at if someone thinks it might be an indication of a deeper problem, but certainly isn't a priority.
Created attachment 59163 [details] good userdir, no problems
Created attachment 59165 [details] bad userdir, keyboard shortcuts are broken
Thanks for this, I'll have a look.
*** This issue has been marked as a duplicate of 128931 ***