I'm using Spark from a java project on IntelliJ 14 CE. Is there any way to navigate to the Spark sources or javadoc? By default it only shows the rough decompile code without any comment. I wouldn't mind navigating to the scala code if there was a way to do it. But maybe it would be better to plug in the javadoc, but I cannot find it anywhere
thanks
What did the trick to me was to install the Scala plugin for IntelliJ, I was then able to navigate and debug through the spark core (which is written in scala), in spite of the project being in Java, and properly see the Javadoc, which was automatically inferred from the scala source code. Of course, you also need to have the Spark source code properly setup, easy to do using Gradle or Maven.
"right click on your pom.xml" -> "Maven" -> then choose "Download Sources and Documentation"
To avoid this in the future: "Preferences" -> "Build, Execution, Deployment" -> "Build Tools" -> "Maven" -> "Importing" -> Check the Automatically download Sources and Documentation boxes.
Credit to Yacov Schondorf and Stephen Boesch from Intellij user forums.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With