Block Comments (IDE Tutorial)

From RAD Studio
Jump to: navigation, search

Go Up to The Code Editor Index (IDE Tutorial)


You can comment-out a section of code by selecting the code in the Code Editor and pressing CTRL+/ (slash). Each line of the selected code is then prefixed with // and is ignored by the compiler. Pressing CTRL+/ adds or removes the slashes, based on whether the first line of the selected code is prefixed with //.

When using the Visual Studio or Visual Basic key mappings, use CTRL+K+C to add and remove comment slashes.

Next

Live Templates