我正在使用Eclipse Juno與Java(Java build 1.7.0_05-b05 64位)和Scala-IDE插件 (Scala IDE for Eclipse 2.1.0.nightly- 2_09-201207100348-f1d9c23 org.scala-ide.sdt.feature.feature.group scala-ide.org)。Scala-IDE和Eclipse的代碼完成問題Juno
下面是我的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
的每次我嘗試使用代碼完成的Eclipse扔我2個錯誤窗口:
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.
和
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.
我的以下scala-ide日誌顯示:
[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]
有什麼辦法解決這個問題嗎?
謝謝。
更新1: 禁用碼推薦器我得到一個不同的錯誤在我Slaca-IDE日誌後:
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]
但Scala代碼完成現在的作品確定
請在[scala-ide-user](https://groups.google.com/forum/?fromgroups#!forum/scala-ide-user)上發佈此信息 – sschaef 2012-07-10 20:59:43
@sschaef:謝謝 - 完成:) – Timka 2012-07-12 20:02:01