6

This may be stupid but I'm following a tutorial (https://www.youtube.com/watch?v=D1sRK8JLCQ4) and he mentions around 26:17 that you can download sources and documentations (if available) for dependencies, and plugins, ... But he doesn't show where they are downloaded nor how to download them. I've tried downloading them and after several seconds of downloading intelliJ just does some indexing but i can't find the files.

Thanks

0

1 Answer 1

3

These files are placed next to the library .jar files under Maven home directory (usually .m2 subdirectory under the user's home directory). You can check the library configuration for the exact location:

sources

Sign up to request clarification or add additional context in comments.

8 Comments

Thank you! I've located my files i.imgur.com/os0hsnH.png, but what should one do with those files, I've tried running jimfs-1.1-javadoc.jar but nothing happens. And also, more generally, is this something one does when downloading a new project, i.e. reading the documentations of the dependencies he's never heard of ?
These files provide sources and documentation for the downloaded libraries so that you can browse the source code in the IDE and view the documentation. You can't run these files.
Please check these help pages for the details how you can view the documentation for the third-party code in your project: jetbrains.com/help/idea/… jetbrains.com/help/idea/….
Yes. it's the source code you can navigate and browse. Documentation is the HTML JavaDoc generated from this source code.
Yes, you need to hover on the class/method usage in the .java file, not in pom.xml.
|

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.