Birayalp SEN
Birayalp SEN

Reputation: 41

How to write an eclipse content assist?

I want to write a plugin which will give me content assist support and work in JSF. I want it to work like the sample below :

Do you have any idea, how can i do this? Any suggestions?

Upvotes: 4

Views: 2067

Answers (2)

VonC
VonC

Reputation: 1324168

One place to look for an example of content assist is to look at XText which already has this feature for DSL-like languages.

XText content assist

See the XText sources in its Git repository: by looking work the log message 'assist', you will have a list of commits all related to content assist implementation, like the XbaseProposalProvider.java class.

Upvotes: 2

unR
unR

Reputation: 1318

The following are both screenshots from the Web Page Editor which comes with the Java EE edition of Eclipse.

wtp editor 1

enter image description here

You can install it by adding the following mirror to your Eclipse repository. Change the name depending on what version you use. For Helios it is http://download.eclipse.org/webtools/repository/helios.

Upvotes: 1

Related Questions