SBT Plugin for Viewing ScalaDoc and JavaDoc
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.

Scaladoc/JavaDoc Viewer SBT Plugin

Maven Central

Opens a browser window with Javadoc/Scaladoc for the current project or its dependencies.

  1. In project/plugins.sbt add

    addSbtPlugin("com.persist" % "sbt-view" % "1.0.2")

  2. In build.sbt add


  3. Make sure that your SBT dependencies include the javadoc jar. Here is an example

    "" %% "foopackage" % "1.2.3" withJavadoc()

  4. View Scaladoc for current project. Calls doc if none there.


  5. Finds an item in the classpath where all words are matched. Unpack the javadoc jar (if not already done) in the ivy2 cache and then view it.

    view WORD1 WORD2 ...

The plugin is based on a plugin developed by Whitepages

Development of this plugin was supported by 47 Degrees.