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 254853 - Alternative shortcut for 'CC|Exclude' disables original shortcut
Summary: Alternative shortcut for 'CC|Exclude' disables original shortcut
Status: NEW
Alias: None
Product: editor
Classification: Unclassified
Component: Completion & Templates (show other bugs)
Version: 8.1
Hardware: PC Windows 7 x64
: P3 normal (vote)
Assignee: Dusan Balek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-08-30 08:17 UTC by stwr
Modified: 2015-09-01 20:09 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 stwr 2015-08-30 08:17:12 UTC
Product Version: NetBeans IDE Dev (Build 201508290002)
Java: 1.8.0_60-ea; Java HotSpot(TM) 64-Bit Server VM 25.60-b23
Runtime: Java(TM) SE Runtime Environment 1.8.0_60-ea-b25
System: Windows 7 version 6.1 running on amd64; Cp1250; en_US (nb)
User directory: C:\Users\cendrowiczm\AppData\Roaming\NetBeans\dev
Cache directory: C:\Users\cendrowiczm\AppData\Local\NetBeans\Cache\dev

Test Case --> http://services.netbeans.org/synergy/client/app/#/case/2174/suite/2004/v/1

The issue has been observed in previous development builds as well.

--Use Case 1--
1. Type in a java class 'Hash'
2. Call all symbols CC
3. Using arrow keys pick some item, e.g. 'HashMap<K, V>'
4. Hit ALT+ENTER

--Actual Result 1--
OK. Exclude popup shows up. There are 3 items inside.

--Use Case 2--
1. Open OD|Keymap
2. Add an alternative for the 'Fix Code...' shortcut, e.g. ALT+A
3. Type in a java class 'Hash'
4. Call all symbols CC
5. Using arrow keys pick some item, e.g. 'HashMap<K, V>'
6. Hit ALT+ENTER
7. Hit your alternative shortcut, e.g. ALT+A

--Actual Result 2--
Original shortcut and its alternative do not have the same behavior. When hitting ALT+ENTER there is real 'Fix Code...' action performed at current caret position.