2012-07-10 49 views
11

我正在使用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代碼完成現在的作品確定

+0

請在[scala-ide-user](https://groups.google.com/forum/?fromgroups#!forum/scala-ide-user)上發佈此信息 – sschaef 2012-07-10 20:59:43

+0

@sschaef:謝謝 - 完成:) – Timka 2012-07-12 20:02:01

回答

2

你不介意打開包含堆棧跟蹤的代碼重組器的錯誤報告以解決此問題?

+0

Marcel :我在這裏發現了這個錯誤報告:[code assist not working in nightly build + eclipse 4.2 juno](http://scala-ide-portfolio.assembla.com/spaces/scala-ide/tickets/1001132) – Timka 2012-07-12 20:01:02

+0

謝謝。堆棧跟蹤有幫助。修復推薦者一面正在進行中。 https://bugs.eclipse.org/bugs/show_bug.cgi?id=383395#c4 – Marcel 2012-07-13 06:32:08

+0

只是爲了讓你知道:我得到了與Juno構建的Eclipse Juno +每晚Scala IDE相同的pb。 – ROLO 2012-07-18 09:34:28