7

I have installed Plugin Development Environment on my Eclipse 3.8 via http://download.eclipse.org/releases/juno update site. Now in PDE projects under the "Plugin Dependencies" tree I see that all PDE JARs have attached source set to the same JARs. Yet, the JARs do not contain any sources - only class files.

Because of this I see no Javadoc for PDE/JFace classes and get ugly arg0, arg1, etc for auto-generated code.

Where and how can I get sources or Javadoc for PDE/JFace?

Fixpoint
  • 9,619
  • 17
  • 59
  • 78
  • Where did you get your eclipse 3.8 without PDE installed? The 3.8 eclipse SDK includes PDE and all of the source plugins. – Paul Webster Sep 24 '12 at 15:31
  • Here: http://download.eclipse.org/eclipse/downloads/drops/R-3.8-201206081200/ see "Platform Runtime Binary". I like building my Eclipse form scratch. – Fixpoint Sep 24 '12 at 15:47

2 Answers2

12

First, I tried to reproduce your problem.

  • downloaded Eclipse Platform Runtime Binary from the location you provided
  • installed Plugin Development Tools -> Neither source nor Javadocs

Now, the following worked for me:

  • Help -> Install new Software
  • Work with 'The Eclipse Project Updates' (not the Juno main site!)
  • installed 'Eclipse RCP Plugin Developer Resources'

This gave me sources and Javadocs for all the Plugin Dependencies in a newly created 'Hello World' Plugin Project. The size of the Eclipse installation increase by only 10 MB to a total of 116 MB.

tobias_k
  • 81,265
  • 12
  • 120
  • 179
5

Thank you tobias_k,

This works great but further to this I had also to install these resources to get IFolder javadoc for instance :

  • Eclipse Platform SDK
  • PDE/API Tools Envirnement Descriptions

Which was not installed in my Eclipse distribution. Hope this helps someone !

Bludwarf
  • 824
  • 9
  • 21
  • 1
    I needed to see source of `org.eclipse.ui.part.MultiPageEditorPart` and installing **Eclipse Platform SDK** worked for this purpose. – Danny Lo Jul 03 '14 at 10:14
  • 1
    In general, there are many "xxx SDK" or "xxx Developer Resources" packages which contain various parts of the source code. Depending on which sources you need access to you need to pick the respective package to install. For instance, JDT stuff for launch configurations such as "AbstractLaunchShortcut" are in "Eclipse JDT Plug-in Developer Resources" – Alexandros Oct 14 '18 at 09:28