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 255454

Summary: [81cat] Alternative shortcut doesn't work for fix code
Product: editor Reporter: -Silver-
Component: Completion & TemplatesAssignee: Dusan Balek <dbalek>
Status: NEW ---    
Severity: normal    
Priority: P3    
Version: 8.1   
Hardware: PC   
OS: Windows XP x64   
Issue Type: DEFECT Exception Reporter:

Description -Silver- 2015-09-21 15:09:45 UTC
Product Version = NetBeans IDE Dev (Build 201509210002)
Operating System = Windows 7 version 6.1 running on amd64
Java; VM; Vendor = 1.8.0_66-ea
Runtime = Java HotSpot(TM) 64-Bit Server VM 25.66-b02

Testcase: https://services.netbeans.org/synergy/client/app/#/assignment/1617/v/1
Change shortcut for exclude

STEPS:
1. Start NetBeans with a clear profile
2. Open the  TS_74_JavaCodeCompletionSampleProject to initialize the java modules.
3.  Go to tools options keymap.
4.  Click on the "..."  button on the line corresponding to the action "Fix code..." 
5. Select "add alternative" and use "Alt+Z" as alternative
6. Click on apply
(At this point the key shortcut for "Fix code" should be Alt+Enter and Alt+Z)
7. Go to the editor open a java file and write "Hash"
8. Hit CTRL+Spacebar two times to have the code completion
9. Highlight HashMap 


ACTUAL:
Hit Alt + Enter doesn't work anymore, but the new alternative shortcut (Alt+Z) Works

EXPECTED:
Both the shortcut should work in the same manner