30 Days with IntelliJ IDEA. Folding

To keep our promise to publish a new article from our 30-day guide on the trickiest features of IntelliJ IDEA every week, today we are talking about code folding, a feature that helps you read and understand complex or lenghty pieces of code quickly.

Did you know?

Did you know that you can toggle folding of code blocks at the caret by invoking the Fold selection action via the shortcut Ctrl + “.” (Cmd + “.” for Mac).

Another useful action is Expand All via Shift + Ctrl + “+” (Shift + Cmd + “+” for Mac) which automatically expands all folded blocks in the current editor.

Please read the complete article to learn more about this feature.

Develop with Pleasure!

About Andrey Cheptsov

Andrey Cheptsov is IntelliJ IDEA product marketing manager at JetBrains. He's passionate about productivity, programming languages and tools.
This entry was posted in Tips & Tricks and tagged . Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code class="" title="" data-url=""> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre class="" title="" data-url=""> <span class="" title="" data-url="">