How can I implement Eclipse Content Assist feature into my editor? [message #1060509] |
Sat, 25 May 2013 12:32  |
Eclipse User |
|
|
|
I have been working on a Java web editor and I want take advantage of Eclipse's great features like content assist.
I'm able to compile my Java project on the fly using org.eclipse.jdt.internal.compiler.Compiler. It gives me a list of errors that contains row and column information for highlighting.
The next step is to implement Proposals feature of Eclipse but I couldn't do it because many packages of content assist feature use UI packages of Eclipse, however what I need is a list of proposals for a specific error/warning in the code that I compiled. Also I have only an ICompilationUnit object instead of IJavaProject and so not even sure whether it's possible or not without using only ICompilationUnit, so it would be great if you share your ideas on this issue.
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03510 seconds