ADCode

Code folding

Collapse a chunk of code down to one line, and open it again when you want it.

When you would want it

A file is easier to read when the parts you are not working on are out of the way.

Where to find it

  • All Features → Code folding
  • Settings → adcode.editing.codeFolding

How to use it, step by step

On by default.

  1. Click the small arrow in the margin beside a line, or press Ctrl+Shift+[ to fold and Ctrl+Shift+] to unfold.

Why this beats the usual way

Other editors give you this through a stack of extensions that each need installing, updating, and reconciling with each other - and half of them reset when a colleague opens the project. ADCode ships these behaviours in the box, on by default, identical on every machine that opens your folder, and each one is a single switch away if you disagree.

Find it in Universal Search

Code folding · Editing