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 - [81cat] Alternative shortcut doesn't work for fix code
Summary: [81cat] Alternative shortcut doesn't work for fix code
Status: NEW
Alias: None
Product: editor
Classification: Unclassified
Component: Completion & Templates (show other bugs)
Version: 8.1
Hardware: PC Windows XP x64
: P3 normal (vote)
Assignee: Dusan Balek
Depends on:
Reported: 2015-09-21 15:09 UTC by -Silver-
Modified: 2015-09-21 15:09 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Note You need to log in before you can comment on or make changes to this bug.
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

Change shortcut for exclude

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 

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

Both the shortcut should work in the same manner