Community
Participate
Working Groups
- Install 3.0.0.I20080525-2100 build in Eclipse 3.4 RC2. - Check the Java/Editor/Content Assist/Advanced preference page, and make sure the default proposal kinds are disabled and the Mylyn ones are enabled. - Create a Java class. - The content assist doesn't work.
I can't reproduce this bug. Willian, can you provide more detailed steps (kind of Java project, runtime environment...)?
It is a normal Java project. I'm running with a Java 6 VM, 1.6 compiler compliance. Tested with a blank workspace, so using default settings. Make sure the default Java proposals are disabled ("Other Java Proposals", "Template Proposals", "Type Proposals") and the Mylyn counterparts are enabled ("Other Java Proposals (Mylyn)", "Template Proposals (Mylyn)", "Type Proposals (Mylyn)"). BTW, I thought Mylyn would automatically disable the "normal" versions of proposals, AFAIK, which is not happening in my test. Create a class Test, and in the method body type: main<Ctrl+Space> -> you should be getting the proposal for main method template; you get nothing. String<Strl+Space> -> you should be getting the proposal for java type content assist; you get nothing.
I can reproduce it when I start editing the Java file before activating a task. The Java bridge is probably not activated hence not contributing proposals. The same applies to the preferences: If you activate a task before opening the preferences the default proposals should be selected.
Mik, the "activate" flag needs to be set for all completion processors contributed java.ui otherwise JDT will assume that the list of completions is empty.
This bug essentially breaks Java content assist until the first task activation. Looking into fixing this now.
Created attachment 101905 [details] patch
Created attachment 101906 [details] mylyn/context/zip
Patch committed.