2012-07-10 29 views
11

Tôi đang sử dụng Eclipse Juno với Java (Java build 1.7.0_05-b05 64bit) và plugin Scala-IDE (Scala IDE cho Eclipse 2.1.0.nightly- 2_09-201207100348-f1d9c23 org.scala-ide.sdt.feature.feature.group scala-ide.org).Các vấn đề về hoàn thành mã với Scala-IDE và Eclipse Juno

Dưới đây là các thiết lập tùy chỉnh của tôi cho eclipse.ini Eclipse:

-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 

Mỗi lần tôi cố gắng sử dụng mã hoàn thành Eclipse ném tôi 2 cửa sổ lỗi:

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. 

Nhật ký scala-ide của tôi bên dưới cho thấy:

[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] 

Có cách nào để sửa lỗi này không?

Cảm ơn bạn.

UPDATE 1: Sau khi vô hiệu hóa người giới thiệu code Tôi đang nhận được một lỗi khác nhau trong nhật ký Slaca-Ide của tôi:

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] 

nhưng hoàn thành mã scala hiện đang làm việc ok

+0

Vui lòng đăng bài này lên [scala-ide-user] (https://groups.google.com/forum/?fromgroups#!forum/scala-ide-user) – sschaef

+0

@sschaef: Thanks - done :) – Timka

Trả lời

2

Bạn có nhớ mở một báo cáo lỗi trên Code Recommenders bao gồm một stacktrace để sửa lỗi này?

+0

Marcel : Tôi tìm thấy báo cáo lỗi này ở đây: [hỗ trợ mã không hoạt động trong bản dựng hàng đêm + nhật thực 4.2 juno] (http://scala-ide-portfolio.assembla.com/spaces/scala-ide/tickets/1001132) – Timka

+0

cảm ơn. stacktrace giúp ích. Khắc phục bên đề xuất đang được tiến hành. https://bugs.eclipse.org/bugs/show_bug.cgi?id=383395#c4 – Marcel

+0

Chỉ cần cho bạn biết: Tôi nhận được cùng một pb, Eclipse Juno + Scala IDE hàng đêm cho các bản dựng của Juno. – ROLO

Các vấn đề liên quan