Viewing Scaladoc in Eclipse
eclipse, scala, scala-ide, scaladoc
Solution
Scaladoc is now integrated since release 4.0.0 RC1 of the Scala-IDE plugin. You can just hover over your term, or press F2 while the cursor is on the identifier.
Problem
In Eclipse I have 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 am 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 since Eclipse tries to open `<ObjectName>.html` whereas the Scaladoc-generated file name is `<ObjectName>$.html`. Is there any workaround?