| <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> |
| <html> |
| <head> |
| <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> |
| <meta http-equiv="Content-Style-Type" content="text/css"> |
| <meta name="GENERATOR" content="Mozilla/4.75 [en] (Windows NT 5.0; U) [Netscape]"> |
| <title> |
| Commenting and uncommenting lines of code |
| </title> |
| <link rel="stylesheet" href="../book.css" charset="ISO-8859-1" type="text/css"> |
| </head> |
| <body> |
| <h1> |
| Commenting and uncommenting lines of code |
| </h1> |
| To comment lines of code in the Java editor: |
| <ul> |
| <li> |
| Select the lines you wish to comment |
| </li> |
| <li> |
| Do one of the following: |
| <ul> |
| <li> |
| Press <kbd>Ctrl+/</kbd> or |
| </li> |
| <li> |
| Select <strong>Source > Comment</strong> from the menu bar |
| </li> |
| </ul> |
| </li> |
| </ul> |
| To uncomment lines of code in the Java editor: |
| <ul> |
| <li> |
| Select the lines you wish to uncomment |
| </li> |
| <li> |
| Do one of the following |
| <ul> |
| <li> |
| Press <kbd>Ctrl+\</kbd> or |
| </li> |
| <li> |
| Select <strong>Source > Uncomment</strong> from the menu bar |
| </li> |
| </ul> |
| </li> |
| </ul> |
| <p> |
| <img src="../images/ngrelc.gif" alt="Related concepts" border="0" height="27" width="159"> <br> |
| <a href="../concepts/concepts-7.htm">Java editor</a> |
| </p> |
| <p> |
| <img src="../images/ngrelt.gif" alt="Related tasks" border="0" height="27" width="159"><br> |
| <a href="tasks-54.htm">Using the Java editor</a><a href="tasks-54.htm"></a> |
| </p> |
| <p> |
| <img src="../images/ngrelr.gif" alt="Related reference" border="0" height="27" width="159"><br> |
| <a href="../reference/ref-menu-source.htm">Source menu</a> |
| </p> |
| <p> |
| <a href="../hglegal2003.htm"><img src="../images/ngibmcpy2003.gif" alt="Copyright (c) 2000, 2003 IBM Corporation and others. All Rights Reserved." border="0" height="14" width="324"></a> |
| </p> |
| </body> |
| </html> |
| |