Tip: Use Ctrl+W to select content in the IDE code editor.

Tip: Use Ctrl+W to select content in the IDE code editor.

Place your cursor some random piece of code, preferably deep in code that have nested blocks. Press Ctrl+W. Repeat, and repeat while watching the goodness progress.

This tidbit was shared by Jim Mack in a comment in the FB Delphi group.

Edit: The feature was introduced in Berlin 10.1

The feature struggles with Unicode characters in code and strings.

Those of you that use national characters in your strings or code (such as Cyrillic, Greek, or Chinese) that also misbehaves, should add a comment / example to the QP issue and vote on it.

https://quality.embarcadero.com/browse/RSP-19787

Comments