Bug 40321 - Code assist doesn't propose types
Summary: Code assist doesn't propose types
Status: RESOLVED WORKSFORME
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 3.0   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 3.0 M9   Edit
Assignee: David Audel CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-07-17 07:02 EDT by Dirk Baeumer CLA
Modified: 2004-05-10 07:44 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dirk Baeumer CLA 2003-07-17 07:02:33 EDT
I20030716

- create workspace
- load JUnit
- create project Test and put JUnit on its build path
- create class A in default package

public class A {
	void bar() {
		int[] a= new int[] { 
			10, 20
		};
		String s= "\"{" +
			"\"}";   
			
		class X {
			
		}
		switch (10) {
			case 1: {
				bar();
			}
			case 2:
			
		}
		if (true)
			bar();
			
		Test<code assist>
	}
	
	public void foo() {
		if (true) {
			
		}
	}
}

- open code assist at position <code assist>

observe: only proposal is testMethod. All types Test* are missing
Comment 1 David Audel CLA 2004-05-10 07:44:43 EDT
I can reproduce the problem in I20030616
I cannot reproduce the problem in I20040506

Seems to be fixed

Closed.