Search code examples
eclipseeclipse-pdteclipse-plugin

Eclipse PDT extension points and usage


I'm trying to get started developing eclipse plugins, specifically extending PDT. Is there a list of extensions points, docs, other how to's?

The latest versions, as of writing, are Eclipse Juno 4.2 + PDT 3.1.0.

I've checked eclipse help, there's nothing on PDT. The best I found in the wiki is a few notes on pdt 2.0.

Update - Bounty

What I am looking for:

  • List of PDT extension points
  • Links to any documentation (api's, manual, etc)

For each extension point:

  • Available since what version?
  • A summary of what each extension point is for would be great.

Extra credit:

  • Any links to articles, tutorials, etc. or example usage for any of the points would be fantastic.

Solution

  • There doesn't seem to be up-to-date, comprehensive documentation for PDT development around. The only pieces I could find are Extending PDT 2.2 and the PDT 0.7 Design Document.

    There is, however, a way to build the list of PDT extension points, including since which version they are available and some documentation:

    1. Setup Eclipse according to Working with PDT source code in Eclipse. Note that you should do point 5., "Install missing dependencies", before point 2., "Check out PDT plugins to Eclipse workspace". Also note that beside the missing dependencies mentioned, you will need "EGit Project Set Support" (and possibly more dependencies) to be able to import the Team Project Set from Git.

    2. Once the Project Set is imported, switch to the "Plug-in Development" Perspective and open the "Plug-ins" View. Locate the PDT-Plugins.

      enter image description here

    3. Double clicking each plugin will open its Plugin editor, with general Information about the plugin and - a list of extensions and extension points of this plugin. Opening the "Extension Points" link or tab will - if there are extension points - give you another link: "Show extension point description", including "Since" and "Description". There you are!

    Some background about Eclipse Extension Points and Extensions: http://www.vogella.com/articles/EclipseExtensionPoint/article.html#extensionpoints