How to see source code of standard classes and methods in Intellij IDEA?

How to look at the implementation of a particular method in intellij IDEA? How to open documentation on a specific class?
July 2nd 19 at 14:11
2 answers
July 2nd 19 at 14:13
The source code of classes or JavaCore JDK under which the work, Ctrl+clicking on a name opens in a new tab.
By default there will be dekompilierung code of the standard library.

I think the author was referring to normal source with the normal documentation - cassie_Doyl commented on July 2nd 19 at 14:16
: Yes, exactly. While the Council is also useful) - mathias.Mayert commented on July 2nd 19 at 14:19
: : and you source put what would they see? - charity84 commented on July 2nd 19 at 14:22
And they are automatically installed with the IDE? - mathias.Mayert commented on July 2nd 19 at 14:25
in fact the question of how to put them. It's clear that to view the source code and documentation you first need to download yourself. The question is how to connect IDEA?
For maven dependencies, you can click RMB and choose Download Source & Documentation, and for the family no such item and a quick search gave nothing. - cassie_Doyl commented on July 2nd 19 at 14:28
: : they are in distribution Windows JDK, for example in ArchLinux we need to deliver the package openjdkN-src and it is possible to specify in the settings of the JDK in IDEA the path to the source - charity84 commented on July 2nd 19 at 14:31
: And there is a link with a detailed explanation of the installation sortov for Windows versions of intellij IDEA? - mathias.Mayert commented on July 2nd 19 at 14:34
: https://intellij-support.jetbrains.com/hc/en-us/co... - charity84 commented on July 2nd 19 at 14:37
July 2nd 19 at 14:15
1)ctrl+q (it will come out popup docks)
2)F4 (or on the icon to see the source)

Find more questions by tags Java