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 57201 - Keyboard shortcuts cleanup
Summary: Keyboard shortcuts cleanup
Alias: None
Product: editor
Classification: Unclassified
Component: Options (show other bugs)
Version: 4.x
Hardware: All All
: P3 blocker (vote)
Assignee: Jan Jancura
Depends on:
Blocks: 58412
  Show dependency tree
Reported: 2005-03-30 14:33 UTC by Roman Strobl
Modified: 2007-11-05 13:40 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Note You need to log in before you can comment on or make changes to this bug.
Description Roman Strobl 2005-03-30 14:33:24 UTC
Let's clean up keyboard shortcuts for release after 4.1, there are some obsolete
or unused actions. Here's the list:

- annotations cycling - not very useful action
- beep - :-)
- bookmarks-kit-install - needs to be hidden
- dump view hierarchy - hard to understand
- expand abbreviation - cannot be redefined from default space
- hide code completion - not neccessary, we have escape
- insert content - not needed
- select next parameter - quite obscure
- set read only - not usable
- set write only - not usable

As we've discussed the Alt-U U or similar shortcuts are difficult for using, we
should make it so that users keep holding the Alt key for the second key, too.

It would be great to divide the shortcuts into basic (those who users will most
likely want to override) and advanced. Currently we have a lot of actions and
it's quite hard to find the right one in the list. This would make keyboard
shortuct settings much friendlier.

Can you also consider if anyone needs settings of keys like left, right, up,
down, tab and similar keys? It's fine if we keep it as it is but my goal is to
remove everything that is not necessary to make the configuration easier for
users. So if we find out that nobody needs these settings there's no reason to
keep them there.
Comment 1 Roman Strobl 2005-03-30 14:50:03 UTC
I have also gone through java keybindings and the following two actions are strange:

- debug filename and line number
- debug identifier
Comment 2 Martin Roskanin 2005-03-30 15:10:35 UTC
bookmarks-kit-install already hidden.

As for other changes, setting TM to PromoF

new revision: 1.2; previous revision: 1.1
Comment 3 Jan Jancura 2005-04-28 19:24:28 UTC
Thanks for this issue, Roumen! We definitelly need to fix current set of actions
/ shortcuts for the new Options Dialog. Currently I have 470 actions there! It
makes Options Dialog - Keymaps unusable. 
Comment 4 Martin Roskanin 2005-10-21 14:24:15 UTC
Hanz, to fix the problem at your side simply use the filter similarly as in code
of KeyBindingsEditorPanel:
Object internalActionObj = actions[i].getValue(BaseAction.NO_KEYBINDING);
                if (internalActionObj instanceof Boolean){
                    if (((Boolean)internalActionObj).booleanValue()){
                        continue; //filter out editor internal actions - #49589

By this, you will get rid of the actions like Build Popup Menu, Build Tool Tip,
etc.. as mentioned at issue #49589

For actions mentioned here in this issue the value NO_KEYBINDING needs to be
added yet
Comment 5 Martin Roskanin 2005-10-21 15:01:33 UTC
fixed in [maintrunk] as for editor:
/cvs/editor/libsrc/org/netbeans/editor/,v  <--
new revision: 1.69; previous revision: 1.68

/cvs/editor/libsrc/org/netbeans/editor/,v  <--
new revision: 1.140; previous revision: 1.139

/cvs/editor/libsrc/org/netbeans/editor/ext/,v  <--
new revision: 1.62; previous revision: 1.61

/cvs/java/editor/src/org/netbeans/modules/editor/java/,v  <--
new revision: 1.22; previous revision: 1.21

Comment 6 Jan Jancura 2005-11-16 15:59:44 UTC
fixed in trunk:

IDE: [16.11.05 16:59] Committing "" started
Checking in;
new revision: 1.2; previous revision: 1.1
IDE: [16.11.05 16:59] Committing "" finished
Comment 7 Roman Strobl 2005-11-21 13:14:13 UTC