View Scaladoc in Eclipse

In Eclipse, I set the Javadoc Location property of my Scala project to file:/D:/EclipseWorkspace/MyProject/target/scala-2.9.1/api , where D:/EclipseWorkspace/MyProject is the location of my Scala project.

Now, if I'm in a Scala file that implements a class / trait, when I type Shift + F2 , Eclipse opens the Scaladoc page of that class / trait. However, this does not work if it is an object, because Eclipse is trying to open <ObjectName>.html , while the name of the file created by Scaladoc is <ObjectName>$.html <ObjectName>.html .

Is there any workaround?

+46
eclipse scala scala-ide scaladoc
May 3 '12 at 10:47 a.m.
source share
2 answers

Scaladoc is now integrated with Scala -IDE plugin release 4.0.0 RC1 . You can simply hang over your term or press F2 while the cursor is on the identifier.

+15
Oct 29 '14 at 11:24
source share
announced Scala compiler plugin that generates JavaDoc for your Scala API. The plugin and its documentation are available on github . Perhaps this helps in a workaround.
+4
Mar 20 '13 at 9:55
source share



All Articles