Bug 275518 - [assist] Content assist does not provide proposals if invoked right after a method's opening brace
Summary: [assist] Content assist does not provide proposals if invoked right after a m...
Status: VERIFIED FIXED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 3.0   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: 3.6 M1   Edit
Assignee: David Audel CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-05-08 18:19 EDT by Remy Suen CLA
Modified: 2009-08-04 08:06 EDT (History)
4 users (show)

See Also:


Attachments
Proposed fix (10.90 KB, patch)
2009-06-24 03:50 EDT, David Audel CLA
no flags Details | Diff

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