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 201277 - IDEA shortcut profile in NetBeans is not accurate
Summary: IDEA shortcut profile in NetBeans is not accurate
Status: RESOLVED FIXED
Alias: None
Product: editor
Classification: Unclassified
Component: Key bindings (show other bugs)
Version: 7.1
Hardware: PC Windows XP
: P3 normal (vote)
Assignee: Svata Dedic
URL:
Keywords:
Depends on: 203203
Blocks:
  Show dependency tree
 
Reported: 2011-08-24 13:34 UTC by Vladimir Riha
Modified: 2012-05-28 10:26 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Vladimir Riha 2011-08-24 13:34:25 UTC
There are several inaccuracies in IDEA shortcut profile:

Shortcut       | IntelliJ IDEA 10.5.1                         | Idea profile in NetBeans
============================================================
Alt+Shift+I    | Inspect Code With Editor Settings            | Fast Import
Ctrl+Alt+Space | Complete Class Name and add import for it    | Show All Code Completion Popup
Ctrl+N         | Go To Class                                  | New File
Ctrl+Shift+N   | Go To File                                   | New Project
Ctrl+Shift+J   | Join Lines                                   | Insert Internationalized String


Action (as labeled in NB)  | IntelliJ IDEA 10.5.1 | Idea profile in NetBeans
============================================================
New File                   | Alt+Insert           | Ctrl+N
Rename                     | Shift+F6             | Ctrl+R

In II 10.5.1, Alt+Insert invoke small dialog 	offering to create new file/package etc, it is probably the closest similiar action to New File in NetBeans

Conflicts:
Ctrl+Shift+F7 - assigned to both New Watch and Find Selection action
Shift+F8 - assignet to both Step out and Step Over Expression

Small inconsistency:
In NetBeans profile, there are 2 shortcuts: Ctrl+1 and Ctrl+2 for Previous/Next Bookmark. However, in IntelliJ IDEA, there is shortcut assigned for Next and Previous and Ctrl+[0-9] is used for Go To Bookmark 0-9


Product Version: NetBeans IDE Dev (Build 201108210601)
Java: 1.7.0; Java HotSpot(TM) Client VM 21.0-b17
System: Windows XP version 5.1 running on x86; Cp1252; en_US (nb)
Comment 1 Svata Dedic 2011-10-06 09:07:22 UTC
Cannot really disable AS-I: there are no equivalent actions and I cannot remove a binding using a profile - see enhancement #203203

The same for conflict CS-F7: there is an editor shortcut and a global one; I cannot remove the global one with a profile definition and the keystroke will work depending on context.

CS-J *could* be registered as editor binding, since it only works in text/x-java and it could be then possible to remove it, but Editor does not seem to support all-profile registrations (defaults).
Comment 2 Quality Engineering 2011-10-10 12:29:01 UTC
Integrated into 'main-golden'
Changeset: http://hg.netbeans.org/main-golden/rev/262af0357731
User: Svata Dedic <sdedic@netbeans.org>
Log: #201277: Improved IDEA profile a little
Comment 3 Svata Dedic 2012-05-28 10:26:45 UTC
Changeset: 7b4626c45741
Author:    Svata Dedic <sdedic@netbeans.org>
Date:      2012-05-28 12:26
Message:   Issue #201277 - IDEA shortcut profile in NetBeans is not accurate: fixed
Fixed shortcut mapping