Search code examples
javascalanetbeansjavadoc

Netbeans scala javadocs missing in Netbeans 8.0


I've been looking into scala lately and from the conciseness and language features I'm completely thrilled.

I have netbeans 8.0 running on ubuntu 12.04 and downloaded scala, edited netbeans.conf (netbeans_default_options="-J-Dscala.home=...), installed plugins from plugin manager inside netbeans (ALL OF THEM). Then, I created scala project (not maven one) and tried out autocomplete. It works, compiles, runs, however, it shows no document found in autocompletion.

This is how I added javadocs Tools > Scala platforms > javadoc tab

I tried adding following ways:

  1. added the entire scala api doc zip from http://downloads.typesafe.com/scala/2.11.2/scala-docs-2.11.2.zip
  2. extracted the previous zip to scala-home folder under $SCALA_HOME/docs/javadocs/scala-docs-2.11.2 and added that
  3. same as 2 but added $SCALA_HOME/docs/javadocs/scala-docs-2.11.2/api in netbeans

None of these pick up documentation! Of course, I could live without it, but it's such a killer for such a concise language where I could just find out stuff instantly from autocompletion. Also, I don't want to use eclipse special ide for scala because I don't want to throw out all the experience with netbeans out of the window and learn new IDE.

P.S. - Netbeans navigator also seem not to work in scala.

And I wonder why there's so little content on google for such a wonderful language?


Solution

  • Netbeans support for scala seems pathetic so I just decided to jump to IntelliJ IDEA. It was little bit of learning curve but I'm glad I did because now everything was working (autocomplete, documentation, awesome SBT support etc. etc.)