Code completion issues with the Scala-IDE and Eclipse Juno
code-completion, eclipse, eclipse-juno, scala, scala-ide
Solution
Would you mind open a bug report on Code Recommenders including a stacktrace in order to fix this?
Problem
I'm using Eclipse Juno with the Java (Java build 1.7.0_05-b05 64bit) and Scala-IDE plugin (Scala IDE for Eclipse 2.1.0.nightly-2_09-201207100348-f1d9c23 org.scala-ide.sdt.feature.feature.group scala-ide.org). Below are my custom settings for Eclipse eclipse.ini: ``` -vmargs -Dosgi.requiredJavaVersion=1.7 -Dhelp.lucene.tokenizer=standard -Xss8m -Xms256m -Xmx1536m -XX:PermSize=64m -server -Xverify:none -XX:+UnlockExperimentalVMOptions -XX:+UseG1GC -XX:MaxGCPauseMillis=50 -XX:+DoEscapeAnalysis -XX:+UseCompressedOops ``` Every-time I try to use code completion Eclipse throwing me 2 error windows: ``` The 'Code Recommenders Calls Proposals' proposal computer from the 'org.eclipse.recommenders.completion.rcp.calls' plug-in did not complete normally. The extension has thrown a runtime exception. ``` and ``` The 'Code Recommenders Overrides Proposals' proposal computer from the 'org.eclipse.recommenders.completion.rcp.overrides' plug-in did not complete normally. The extension has thrown a runtime exception. ``` My scala-ide log below shows: ``` [Xlint:cantFindType] 2012-07-10 15:37:29,404 ERROR [main] - System.err - [org.eclipse.jdt.launching] error can't determine modifiers of missing type org.eclipse.pde.internal.ui.wizards.imports.PluginImportHelper when weaving type org.eclipse.jdt.launching.JavaRuntime when weaving classes when weaving [Xlint:cantFindType] ``` Is there any way to fix this? Thank you. UPDATE 1: After disabling code Recommenders I'm getting a different error in my Slaca-Ide log: ``` 2012-07-10 16:10:24,342 ERROR [main] - System.err - [org.eclipse.jdt.debug.ui] error can't determine modifiers of missing type org.eclipse.pde.internal.ui.wizards.imports.PluginImportHelper when weaving type org.eclipse.jdt.internal.debug.ui.actions.ToggleBreakpointAdapter when weaving classes when weaving [Xlint:cantFindType] ``` but the scala code completion now works ok