Pramod Karandikar
Pramod Karandikar

Reputation: 5329

Developing an Eclipse Content Assist plugin

I am trying to extend the default behaviour of content assist for XML files in Eclipse (Helios or lower). I need to add some predefined list items in an XML file when a user types a particular string and presses Ctrl+Space.
I tried to search over the internet and got some basic knowledge from Eclipse Help and from this blog.
However, being a newbie in writing plugins, I'm unable to figure out some points, like

I am unable to find any tutorial which can explain it in a better way. Any suggestions in terms of useful links/tutorials would be a great help.

TIA.

Upvotes: 4

Views: 2818

Answers (1)

greg-449
greg-449

Reputation: 111142

The help you link to is for developing content assist in a new editor. If what you want is to add to the existing Eclipse WST XML editor then you have to use the org.eclipse.wst.sse.ui.completionProposal extension point defined by WST to add content proposals. There is an example here

Upvotes: 2

Related Questions