Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
The Visual J# Code Editor provides the ability to quickly comment out a block of code in order to deactivate it. You can also remove the comments to activate your code just as easily.
To comment out lines of code
Highlight the block of code you want to convert into comments in the Code Editor.
On the Edit menu, point to Advanced, and then click Comment Selection.
-or-
Press CTR + K, CTR + C.
-or-
Click the Comment out the selected lines. button on the Text Editor toolbar.
The Code Editor precedes each line in the highlighted block with
//, thereby converting it into a comment.