1. Home
  2. Computing & Technology
  3. Delphi Programming

Delphi for .Net Code Folding keyboard shortcuts

By , About.com Guide

Delphi for .Net's Code Editor introduced Code folding. Code folding lets you collapse (hide) and expand (show) sections of your code to make it easier to navigate and read. Code folding is enabled by default for methods/routines, code blocks (regions) and structured types.

When using the mouse, click the plus (+) sign to the left of a code block to collapse the code; click the minus (-) sign to expand the code block.

Here are a few handy code folding keyboard shortucts:

  • CTRL + SHIFT + K + E : Collapses the nearest block (+)
  • CTRL + SHIFT + K + U : Expands the nearest block (-)
  • CTRL + SHIFT + K + A : Expand all code in a unit (- "all")
  • CTRL + SHIFT + K + T : Toogle block (+/-)
  • CTRL + SHIFT + K + O : Turn on/off code folding for the current document

Delphi tips navigator:
» How to programmatically change the enctype attribute (to "Multipart/Form-Data" for example) of an ASP.Net web form
« Sending email messages in .Net

Explore Delphi Programming
About.com Special Features

Holiday Central

What to eat, where to go, fun things to do and how to save money on the perfect gifts. More >

Family Tech Center

Stay connected and entertained with reviews on tips on the latest HDTVs, cellphones and more. More >

  1. Home
  2. Computing & Technology
  3. Delphi Programming
  4. Coding Delphi Applications
  5. Delphi Tips and Tricks
  6. 2004 Delphi Tips
  7. Delphi for .Net Code Folding keyboard shortcuts

©2009 About.com, a part of The New York Times Company.

All rights reserved.