I can't find some IntelliJ IDEA shortcuts.
When I go to a class, I want to be able to see only the method signature without additional details.
Here is what I mean. Before:
And after:
Is there a shortcut for this?
To collapse or expand all code fragments, press Ctrl+Shift+NumPad - / Ctrl+Shift+NumPad + . IntelliJ IDEA collapses or expands all fragments within the selection, or, if nothing is selected, all fragments in the current file, for example, all methods in a file.
you can use Ctrl+Shift+Minus to collapse all of them and then use Ctrl+Alt+Plus to open one of that recursively.
To navigate to the implementation, press Ctrl+Alt+B .
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.
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