intellij idea - Keyboard shortcut to completely hide Java-doc comments so they take no lines in the code anymore -
i know shortcuts:
ctrl
+ shift
+ +
ctrl
+ shift
+ -
which expand , minimize java-doc comments respectively. way of line collapsing keeps line of space:
how collapse no lines of code occupied comments anymore? how see java-doc comments above takes 1 line of code.
i try work distraction free , want show actual code.
here official page of intellij code folding shortcuts summarised (android studio fork of intellij have same shortcuts). can't find shortcut looking here.
select part want hide , press ctrl+alt+t. choose either
//<editor-fold desc="description"> // part hide //</editor-fold>
or
//region description // part hide //endregion
change description
won't distract you, example _
.
after collapsing block see _
.
Comments
Post a Comment