Bug 141065 - [assist] no proposals for C.class
Summary: [assist] no proposals for C.class
Status: RESOLVED WORKSFORME
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 3.2   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 3.3 RC4   Edit
Assignee: David Audel CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-05-10 11:49 EDT by Johannes Rieken CLA
Modified: 2007-06-19 09:47 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Johannes Rieken CLA 2006-05-10 11:49:13 EDT
public class C {
	
	void m(){
		C.class.
	}
}

Invoke code assist (Ctrl+Space) after 'C.class.' will say 'no proposals'

Note: in some cases -which I can not reproduce- I got proposals. However, I could fool code assist by select a proposal, deleting the newly inserted code and invoking the code assist a second time.
Comment 1 David Audel CLA 2006-05-10 12:33:57 EDT
I cannot reproduce the problem, i got proposals. 

Johannes - What Eclipse build do you use ? Could you verify if code assist is enabled ? ('Preferences>Java>Editor>Content Assist>Advanced>Type Proposals' and 'Preferences>Java>Editor>Content Assist>Advanced>Other Java Proposals' must be enabled)
Comment 2 Johannes Rieken CLA 2006-05-10 12:53:21 EDT
I'm using a fresh RC3, content assist for types and other java elements is enabled and works - except for the 'CU.class.' case.

I have just made some interesting observations: I have switched between the installed JREs (Window -> Pref -> Java -> Installed...) and now it works. The JREs are IBMJava 1.4.2 and IBM-J9 1.5.0_01 (initially as default). Switching to 1.4.2 (compile, invoke code assist) and back to 1.5.0 solved it for me. 
Comment 3 David Audel CLA 2007-06-19 09:47:41 EDT
I cannot reproduce using 3.3RC4, so i close this bug as WORKSFORME