Please use the Apache issue tracking system for new NetBeans issues (https://issues.apache.org/jira/projects/NETBEANS0/issues) !!
Bug 126364 - Shortcuts in Insert code and Surround with
Shortcuts in Insert code and Surround with
Status: REOPENED
Product: editor
Classification: Unclassified
Component: Hints & Annotations
6.x
All All
: P3 (vote)
: TBD
Assigned To: Dusan Balek
issues@editor
:
: 212654 (view as bug list)
Depends on:
Blocks: 211167
  Show dependency treegraph
 
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
:


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)


By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2014, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo