How to write a plugin for Eclipse?

JavaEclipsePlugins

Java Problem Overview


How can I start writing a plugin for Eclipse?

I've looked for documentation, but unfortunately there is very little or it's poor, so what articles can recommended?

Java Solutions


Solution 1 - Java

There are some pretty good resources and tutorials on the main Eclipse and IBM's site. One of the best ways is to pick an open source plug-in that has some similar features to what you want to do and start to dissect it.

Solution 2 - Java

Eclipse has a pretty good "Your First Plug-in" tutorial. If it is confusing, I'm sure they would greatly appreciate your feedback. Keep in mind that Eclipse is essentially Java, so if you don't have a good grasp of Java go for general Java tutorials first, and then come back to Eclipse development.

O'Reilly has two good Eclipse Plugin tutorials:

They not only go through the simple code examples, but give you screen shots of the process since a lot of work is done through wizard type interface windows.

If these aren't helpful, perhaps you could be more specific as to what is difficult to follow.

-Adam

Solution 3 - Java

The best step-by-step that covers almost every aspect of plugin development is the book "Eclipse: Building Commercial Quality Plugins".

It's available at most book shops and electronically at safari: http://safari.oreilly.com/9780321574435

Solution 4 - Java

I found a great Eclipse plugin tutorial named Extending Eclipse - Plug-in Development Tutorial.

Solution 5 - Java

I think a very good resource is also to look at the examples that are available via the new Plug-In Project wizard.

Depending on what you want to provide with your plug-in, you can choose from editor plug-ins, view plug-ins, plug-ins that provide a property page (just to name a few) and see how they're built and what extension points they implement.

Attributions

All content for this solution is sourced from the original question on Stackoverflow.

The content on this page is licensed under the Attribution-ShareAlike 4.0 International (CC BY-SA 4.0) license.

Content TypeOriginal AuthorOriginal Content on Stackoverflow
QuestionAgusti-NView Question on Stackoverflow
Solution 1 - JavaDavid SchlosnagleView Answer on Stackoverflow
Solution 2 - JavaAdam DavisView Answer on Stackoverflow
Solution 3 - JavajdoklovicView Answer on Stackoverflow
Solution 4 - JavaJunvView Answer on Stackoverflow
Solution 5 - JavafheView Answer on Stackoverflow