Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 444383

Summary: [content assist] Applying a proposal after opening brace is entered fails
Product: [Eclipse Project] JDT Reporter: Marcel Bruch <marcel.bruch>
Component: TextAssignee: JDT-Text-Inbox <jdt-text-inbox>
Status: CLOSED DUPLICATE QA Contact:
Severity: normal    
Priority: P3 CC: markus.kell.r
Version: 4.4   
Target Milestone: ---   
Hardware: PC   
OS: Mac OS X   
Whiteboard:

Description Marcel Bruch CLA 2014-09-17 11:35:48 EDT
Given the snippet below I tried to apply a proposal after I've inserted an opening brace. It seems like this breaks content assist, i.e. proposals cannot be applied.


>>

package some;

import org.eclipse.jdt.core.dom.ASTVisitor;

public class StatementsVisitor extends ASTVisitor {

   // 1. trigger content assist here:    
    visit|<> 

  // then continue typing to:
  visit(Ann|<>) 
  
  // then press enter. Nothing happens. The proposal I've selected is not applied. 

}


This has been verified on two different Eclipse installations of two different users.
Comment 1 Markus Keller CLA 2014-09-18 11:40:24 EDT

*** This bug has been marked as a duplicate of bug 308217 ***