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.
và
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
Vui lòng đăng bài này lên [scala-ide-user] (https://groups.google.com/forum/?fromgroups#!forum/scala-ide-user) – sschaef
@sschaef: Thanks - done :) – Timka