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 126364 - Shortcuts in Insert code and Surround with
Summary: Shortcuts in Insert code and Surround with
Status: REOPENED
Alias: None
Product: editor
Classification: Unclassified
Component: Hints & Annotations (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Dusan Balek
URL:
Keywords:
: 212654 (view as bug list)
Depends on:
Blocks: 211167
  Show dependency tree
 
Reported: 2008-01-31 08:44 UTC by erikhl
Modified: 2016-07-10 18:00 UTC (History)
1 user (show)

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 erikhl 2008-01-31 08:44:35 UTC
The entries in the Surround with and Insert code lists should have a shortcut starting with 1-9 and then moving on to
A-Z. Pressing the key for the shortcut should immediately activate that action. As the lists in these functions will
grow, such a shortcut would be very appreciated. Check IntelliJ IDEA for how they implemented it.
Comment 1 Vitezslav Stejskal 2008-02-06 13:37:37 UTC
Thanks
Comment 2 Vitezslav Stejskal 2008-02-06 13:38:31 UTC
Related to issue #126363.
Comment 3 daina 2009-11-14 15:46:18 UTC
I would suggest that code templates entries in "Surround with..." for shortcuts leave same own code template abbreviation keys, so would be handily, with same key sequence insert code templates by Tab (or other expand key) and wrap selected text by Alt-Enter, after all abbreviations can be short, why not use the same in both cases. I use NB for client side programing, and miss such functionality for quick coding.

"Surround with..." popup could has auto filtering as you type, like standard completion window.

Thanking You in Anticipation
Comment 4 markiewb 2013-03-03 23:13:08 UTC
*** Bug 212654 has been marked as a duplicate of this bug. ***
Comment 5 markiewb 2013-03-03 23:15:53 UTC
212654 was a duplicate of this issue and was linked as "blocks" to 211167. So i change this issue to "blocks" 211167 too.
Comment 6 Martin Balin 2016-07-07 07:25:51 UTC
This old bug may not be relevant anymore. If you can still reproduce it in 8.2 development builds please reopen this issue.

Thanks for your cooperation,
NetBeans IDE 8.2 Release Boss
Comment 7 markiewb 2016-07-10 18:00:36 UTC
Still valid in 8.2 dev 
Product Version: NetBeans IDE Dev (Build 201607100002)