| <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> |
| <html> |
| <head> |
| <meta name="copyright" content="Copyright (c) IBM Corporation and others 2000, 2005. This page is made available under license. For full details see the LEGAL in the documentation book that contains this page." > |
| <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> |
| <meta http-equiv="Content-Style-Type" content="text/css"> |
| <title> |
| Shifting lines of code left and right |
| </title> |
| <link rel="stylesheet" href="../book.css" charset="ISO-8859-1" type="text/css"> |
| </head> |
| <body> |
| <h1> |
| Shifting lines of code left and right |
| </h1> |
| To shift lines of code to the right (i.e. indent): |
| <ul> |
| <li> |
| Select the lines you wish to shift right |
| </li> |
| <li> |
| Do one of the following: |
| <ul> |
| <li> |
| Press <kbd>Tab</kbd> or |
| </li> |
| <li> |
| Select <strong>Source > Shift Right</strong> from the menu bar |
| </li> |
| </ul> |
| </li> |
| </ul> |
| To shift lines of code to the left (i.e. outdent): |
| <ul> |
| <li> |
| Select the lines you wish to shift left |
| </li> |
| <li> |
| Do one of the following: |
| <ul> |
| <li> |
| Press <kbd>Shift+Tab</kbd> or |
| </li> |
| <li> |
| Select <strong>Source > Shift Left</strong> from the menu bar |
| </li> |
| </ul> |
| </li> |
| </ul> |
| <p> |
| <img src="../images/ngrelc.png" alt="Related concepts" border="0" ><br> |
| <a href="../concepts/concepts-7.htm">Java editor</a> |
| </p> |
| <p> |
| <img src="../images/ngrelt.png" alt="Related tasks" border="0" ><br> |
| <a href="tasks-54.htm">Using the Java editor</a><a href="tasks-54.htm"></a> |
| </p> |
| <p> |
| <img src="../images/ngrelr.png" alt="Related reference" border="0" ><br> |
| <a href="../reference/ref-menu-source.htm">Source menu</a> |
| </p> |
| |
| </body> |
| </html> |
| |