2012-07-10 79 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