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 205515

Summary: Completion should ignore the Enter key (VK_ENTER) with modifiers
Product: editor Reporter: emi <emi>
Component: Completion & TemplatesAssignee: Dusan Balek <dbalek>
Status: RESOLVED WONTFIX    
Severity: normal    
Priority: P3    
Version: 7.0   
Hardware: PC   
OS: All   
Issue Type: DEFECT Exception Reporter:
Attachments: Patch which fixes the issue

Description emi 2011-11-24 10:48:15 UTC
Pressing Ctrl+Enter will still insert the currently selection completion item and mask any possible external action.

The completion item should only respond to the Enter key without any modifiers.
Comment 1 emi 2011-11-24 10:50:24 UTC
Created attachment 113501 [details]
Patch which fixes the issue
Comment 2 Dusan Balek 2012-04-27 07:49:13 UTC
As designed behavior:
Enter -> completed text is inserted at caret position
Ctrl+Enter -> completed text overwrites identifier at caret position
Alt+Enter -> if completed text creates an expression, the expression is assigned to a new variable

Closing as WONTFIX.