Bug 275518

Summary: [assist] Content assist does not provide proposals if invoked right after a method's opening brace
Product: [Eclipse Project] JDT Reporter: Remy Suen <remy.suen>
Component: CoreAssignee: David Audel <david_audel>
Status: VERIFIED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: daniel_megert, david_audel, jarthana, srikanth_sankaran
Version: 3.0   
Target Milestone: 3.6 M1   
Hardware: All   
OS: All   
Whiteboard:
Attachments:
Description Flags
Proposed fix none

Description Remy Suen CLA 2009-05-08 18:19:43 EDT
Build id: I20090430-2300

1. Create a new class with the content below.
2. Place the cursor right after the v() method's opening brace on line 3.
3. Invoke content assist.
4. Nothing comes up.
5. Add a space.
6. Invoke content assist.
7. Stuff comes up. The problem does not appear to surface with the class declaration's opening brace on line 1.

public class Test {
	
	void v() {
		
	}

}
Comment 1 Dani Megert CLA 2009-05-11 05:54:58 EDT
Can reproduce on I20090508-2000. Not a regression: probably like that since day 1.
Comment 2 David Audel CLA 2009-06-24 03:50:08 EDT
Created attachment 139951 [details]
Proposed fix
Comment 3 David Audel CLA 2009-06-24 04:45:38 EDT
Released for 3.6M1

Tests added
   CompletionTests#testBug275518a() -> testBug275518c()
Comment 4 Jay Arthanareeswaran CLA 2009-08-04 02:39:15 EDT
Verified for 3.6M1 using I20090803-1800