intellij shortcut - how to fold all javadocs + method implementations
Go to File\Settings\Keymap\Main menu\Code\Folding
(or just search for "Expand doc comments
" in Settings.
You can set a custom shortcut (i.e. CTRL + ALT + SHIFT + +/-) to expand or collapse all Javadocs in the file.
Code Folding of a whole file is
Ctrl+Shift+Minus and Ctrl+Shift+Numpad_Plus
or in the menu
choose Code | Folding | Collapse All or Code | Folding | Expand All.
For more shortcuts for code folding:
Docs for Code Folding Shortcuts