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 211167 - UMBRELLA: Review all keyboard shortcuts (hotkey, keymap, keybindings)
Summary: UMBRELLA: Review all keyboard shortcuts (hotkey, keymap, keybindings)
Status: NEW
Alias: None
Product: ide
Classification: Unclassified
Component: UI (show other bugs)
Version: 7.1
Hardware: PC Windows 7
: P2 normal (vote)
Assignee: issues@ide
URL:
Keywords: UI, UMBRELLA, USABILITY
Depends on: 59000 126364 207871 214783 218938 218939 227247 58126 167892 182429 193509 198771 202149 204345 208042 209158 211101 211572 211647 211649 212599 212654 213421 215616 217497 217575 218831
Blocks:
  Show dependency tree
 
Reported: 2012-04-13 15:01 UTC by Petr Somol
Modified: 2015-02-24 09:08 UTC (History)
3 users (show)

See Also:
Issue Type: TASK
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Petr Somol 2012-04-13 15:01:10 UTC
NetBeans defines or permits definition of a large number of keyboard shortcuts. The current state of shortcut assignment/availability needs to be reviewed to improve consistency and to remove deficiencies (e.g., there have been reports of counter-intuitive shortcuts on Mac). 

This umbrella issue will gather links to issues that relate (at least partly) to shortcut assignment. It will also collect links outside bugzilla, as long as they are relevant or important with respect to shortcut management.

Various existing resources (often outdated):
http://wiki.netbeans.org/Keyboard_Shortcuts
http://netbeans.org/project_downloads/www/shortcuts.pdf
http://ui.netbeans.org/docs/hi/shortcuts/shortcut.html
http://ui.netbeans.org/

Please add any link or dependence on filed issue that you find missing here and needing attention.

------------------
Quoting Jesse Glick's explanation how to find current shortcut assignment:

"For double-checking availability of C-F11 I used the layer list [1] though this is rather low-level: does not show target of a binding, only defining module; uses 'O' and 'D' as platform-neutral modifier aliases [2]; show bindings from all netbeans.org modules, including contrib; and does not intermix Shortcuts/ (i.e. global keymap-independent accelerators) with Keymaps/*/ (i.e. global accelerators in named keymaps) with Editors/*/*/Keybindings/ (editor-specific accelerators).

Probably we need a different generated table just of accelerators: limited to modules in the standard "full" distribution (maybe plus Stable UC); separate list per keymap (?); accelerators of all sorts (generic, keymap-specific, editor) intermingled; readable form of (non-Mac OS X) accelerator; display name of action; defining module. If you file an issue for me (jglick) in www/Builds & Repositories I can try to get to it. One advantage of the generated file system is that diffs get sent to api-changes@netbeans.org so it is possible to keep tabs on ongoing changes resulting from developers' work.

Independently of that, there ought to be an easy way for any user to create their own accelerator reference from the Options window. Either in the main Keymap panel, or in the Manage Keymap Profiles child dialog, there should be a Print button, or a way to export to PDF or HTML or something. ("Export" from M.K.P. does not produce anything human-readable.) This should be filed in platform/Options & Settings (Theofanis is default owner). As Geertjan wrote [3] there is already such a feature of some kind but it is extremely hard to find and the result is not very readable."

[1] http://deadlock.netbeans.org/hudson/job/nbms-and-javadoc/lastStableBuild/artifact/nbbuild/build/generated/layers.txt
[2] http://bits.netbeans.org/dev/javadoc/org-openide-util/org/openide/util/Utilities.html#stringToKey(java.lang.String)
[3] https://blogs.oracle.com/geertjan/entry/hidden_netbeans_feature_export_shortcuts
Comment 1 markiewb 2013-03-18 16:48:14 UTC
(In reply to comment #0)
> Either in the main
> Keymap panel, or in the Manage Keymap Profiles child dialog, there should be a
> Print button, or a way to export to PDF or HTML or something. ("Export" from
> M.K.P. does not produce anything human-readable.) This should be filed in
> platform/Options & Settings (Theofanis is default owner). As Geertjan wrote [3]
> there is already such a feature of some kind but it is extremely hard to find
> and the result is not very readable."

See http://netbeans.org/bugzilla/show_bug.cgi?id=226955, which introduces such a print button to export the current keymap profile. The HTML-output is still not stylish but is more usable than before...