How to set up Scala API documents for IntelliJ

Scalais set with homebrew, and when I create a new Scala project, I use the path /usr/local/opt/scala/ideawith the corresponding symbolic links

IntelliJ create new Scala project

IntelliJ correctly defines the compiler and libraries, automatically terminates, compiles and runs.

The problem is that IntelliJ does not detect Scala API documentation, although the correct Javadocs path is

Scala API docs path

Directory contents also look correct:

hanxue-mac: idea hanxue $ ls doc / scala -devel-docs / api index index.js package.html index.html lib scala hanxue-mac: idea hanxue $ ls / usr / local / opt / scala / idea doc lib src hanxue-mac: hanxue idea $ ls / usr / local / opt / scala / idea / doc / scala -devel-docs / api index index.js package.html index.html lib scala

, Scala Ctrl + J

Scala documentation not found

, IntelliJ Idea 132.719, IntelliJ Idea 12 CE. Javadocs API Scala?

+4
1

, , ... sbt sbt-idea (task gen-idea), scala - .

, , - jar scala-library-2.10.3-javadoc.jar API:

enter image description here

IDEA, , (, import collection.immutable.{IndexedSeq => Vec} , Vec.empty), :

enter image description here

( , doc, $bfinfo $thatinfo:)

+5

All Articles