1

In Eclipse content assist is usually implemented by some class that implements IContentAssistProcessor (JavaDoc, example)

How to implement the same CompletionProposals for JSDT based Editor?

The only example I know is http://code.google.com/a/eclipselabs.org/p/jsdt-jquery/ , but it is large and unclear how to extend JSDT for code assist.

Are there other APIs in JSDT? Please point to APIs to use.

Related
How to extend javascript editor in JSDT in Eclipse with adding new functions

1 Answer 1

2

You need to implement the completion proposal extension point of the JSDT editor. In there you have to specify a class implementing the necessary interface, but it is a different one than the very generic IContentAssistProcessor.

Depending on your use case you may also want to have a look at the related quickAssist and quickFix extension points.

Sign up to request clarification or add additional context in comments.

1 Comment

Thanks for help, you did led me to right place. I stumbled over stackoverflow.com/questions/20779899/…

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.