Is there a button to show documentation for the element under cursor in IntelliJ Idea?
-
03-06-2021 - |
Question
Some times it would be handy to see a ScalaDoc/JavaDoc page for the type of the element under cursor. Surprisingly, I could find no IDE-built-in way to do this (despite the fact the most of the libraries I use are accompanied by documentation and source jars). Is it there?
Solution
You can use View -> Quick Documentation
(Default shortcut Ctrl + Q)
or you can display Javadoc in browser with View -> External Documentation
(Default shortcut Shift + F1)
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow