How can I access javadoc or sources from a java project?

I am using Spark from a java project on IntelliJ 14 CE. Is there a way to go to spark or javadoc sources? By default, it only shows crude decompilation code with no comments. I would not mind switching to scala code if there was a way to do this. But maybe it would be better to connect javadoc, but I can not find it anywhere

thanks

+5
source share
2 answers

After discussing in the comments, the solution seems to be to simply add the JavaDoc manually to the desired β€œModule” or β€œProject”.

A detailed answer is in the next thread Attaching an additional javadoc in Intellij IDEA

Then select the "Dependencies" tab, select the dependency that is not in javadoc, and click "Change." In the window that appears, you see two buttons "Attach Javadoc" and "Specify Javadoc URL". If you have javadoc in the jar file, select the first one, if you want to specify a website containing javadoc, select the last one. What is it.

+1
source

In your sbt build file you can always do this:

"org.apache.spark" %% "spark-core" % versions('spark) withSources() withJavadoc(), "org.apache.spark" %% "spark-sql" % versions('spark) withSources() withJavadoc(), 

versions('spark) is only the version of the spark that you are using.

0
source

All Articles