| <?xml version="1.0" encoding="UTF-8"?> |
| <!DOCTYPE html |
| PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
| <html> |
| <head> |
| <link rel="stylesheet" type="text/css" href="../org.eclipse.wst.doc.user/common.css" /> |
| <title>Setting preferences for structured text editors</title> |
| </head> |
| <body id="tsrcedt025"> |
| |
| <h1 class="topictitle1">Setting preferences for structured text editors</h1> |
| <div><div class="skipspace">You can customize your working environment by specifying preferences |
| for the structured text editor.</div> |
| <ol><li class="skipspace"><span>In the main menu, click <span class="menucascade"><span class="uicontrol">Window</span> > <span class="uicontrol">Preferences</span></span>.</span></li> |
| <li class="skipspace"><span>Select one of the choices that are shown in the following table:</span> |
| <table border="1" frame="hsides" rules="rows" cellpadding="4" cellspacing="0" summary="" class="skipspace"> |
| <tbody> |
| <tr><th align="left" valign="bottom" id="d0e29" width="25%">Item</th> |
| <th align="left" valign="bottom" id="d0e31" width="75%">Menu path</th> |
| </tr> |
| <tr><td align="left" valign="top" id="d0e34" headers="d0e29"><b>Annotation settings</b></td> |
| <td align="left" valign="top" headers="d0e31 d0e34"><span class="menucascade"><span class="uicontrol">Workbench</span> > <span class="uicontrol">Editors</span> > <span class="uicontrol">Annotations</span></span></td> |
| </tr> |
| <tr><td align="left" valign="top" id="d0e45" headers="d0e29"><b>Character encoding</b></td> |
| <td align="left" valign="top" headers="d0e31 d0e45"><span class="uicontrol">Web and XML</span>, |
| then one of the following choices: <span class="uicontrol">CSS Files</span>, <span class="uicontrol">HTML |
| Files</span>, <span class="uicontrol">JSP Files</span>, <span class="uicontrol">XML Files</span></td> |
| </tr> |
| <tr><td align="left" valign="top" id="d0e63" headers="d0e29"><b>Content assist: HTML</b></td> |
| <td align="left" valign="top" headers="d0e31 d0e63"><span class="menucascade"><span class="uicontrol">Web |
| and XML</span> > <span class="uicontrol">HTML Files</span> > <span class="uicontrol">HTML Source</span></span></td> |
| </tr> |
| <tr><td align="left" valign="top" id="d0e74" headers="d0e29"><b>Content assist: JavaScript</b></td> |
| <td align="left" valign="top" headers="d0e31 d0e74"><span class="menucascade"><span class="uicontrol">Web and XML</span> > <span class="uicontrol">JavaScript Files</span> > <span class="uicontrol">JavaScript Source</span></span></td> |
| </tr> |
| <tr><td align="left" valign="top" id="d0e85" headers="d0e29"><b>Content assist: XML</b></td> |
| <td align="left" valign="top" headers="d0e31 d0e85"><span class="menucascade"><span class="uicontrol">Web |
| and XML</span> > <span class="uicontrol">XML Files</span> > <span class="uicontrol">XML Source</span></span></td> |
| </tr> |
| <tr><td align="left" valign="top" id="d0e96" headers="d0e29"><b>Editor appearance</b></td> |
| <td align="left" valign="top" headers="d0e31 d0e96"><span class="menucascade"><span class="uicontrol">Workbench</span> > <span class="uicontrol">Editors</span> > <span class="uicontrol">Structured Text Editor</span> > <span class="uicontrol">Appearance</span></span></td> |
| </tr> |
| <tr><td align="left" valign="top" id="d0e109" headers="d0e29"><b>Editor font</b></td> |
| <td align="left" valign="top" headers="d0e31 d0e109"><span class="menucascade"><span class="uicontrol">Workbench</span> > <span class="uicontrol">Colors and Fonts</span> > <span class="uicontrol">Structured Text Editor</span></span></td> |
| </tr> |
| <tr><td align="left" valign="top" id="d0e120" headers="d0e29"><b>Editor navigation</b></td> |
| <td align="left" valign="top" headers="d0e31 d0e120"><span class="menucascade"><span class="uicontrol">Workbench</span> > <span class="uicontrol">Editors</span> > <span class="uicontrol">Structured Text Editor</span> > <span class="uicontrol">Navigation</span></span></td> |
| </tr> |
| <tr><td align="left" valign="top" id="d0e133" headers="d0e29"><b>File-type-specific settings</b></td> |
| <td align="left" valign="top" headers="d0e31 d0e133"><span class="uicontrol">Web |
| and XML</span>, then navigate to the file type and particular setting</td> |
| </tr> |
| <tr><td align="left" valign="top" id="d0e140" headers="d0e29"><b>Hover help</b></td> |
| <td align="left" valign="top" headers="d0e31 d0e140"><span class="menucascade"><span class="uicontrol">Workbench</span> > <span class="uicontrol">Editors</span> > <span class="uicontrol">Structured Text Editor</span> > <span class="uicontrol">Hovers</span></span></td> |
| </tr> |
| <tr><td align="left" valign="top" id="d0e153" headers="d0e29"><b>Key bindings</b></td> |
| <td align="left" valign="top" headers="d0e31 d0e153"><span class="menucascade"><span class="uicontrol">Workbench</span> > <span class="uicontrol">Keys</span> > <span class="uicontrol">Keyboard Shortcuts</span></span> then |
| in the <span class="uicontrol">Category</span> field specify <span class="uicontrol">Source</span></td> |
| </tr> |
| <tr><td align="left" valign="top" id="d0e170" headers="d0e29"><b>Spell checking</b></td> |
| <td align="left" valign="top" headers="d0e31 d0e170"><span class="uicontrol">Spell Check</span></td> |
| </tr> |
| <tr><td align="left" valign="top" id="d0e176" headers="d0e29"><b>Syntax checking</b></td> |
| <td align="left" valign="top" headers="d0e31 d0e176"><span class="menucascade"><span class="uicontrol">Workbench</span> > <span class="uicontrol">Editors</span> > <span class="uicontrol">Structured Text Editor</span> > <span class="uicontrol">Appearance</span></span> then check or uncheck the <span class="uicontrol">Analyze |
| annotations while typing</span> box.</td> |
| </tr> |
| </tbody></table> |
| <div class="note"><span class="notetitle">Note: </span>You cannot set <span class="uicontrol">Web and XML</span> preferences |
| unless the Core XML Support capability (<span class="menucascade"><span class="uicontrol">Workbench</span> > <span class="uicontrol">Capabilities</span></span>) is enabled, and you cannot |
| set preferences for DTD files unless the XML Development capability is enabled.</div> |
| </li> |
| </ol> |
| </div> |
| <div><p><b class="relconceptshd">Related concepts</b><br /> |
| <a href="csrcedt004.html" title="Structured text editor is any of several text editors that you can use to edit various markup languages such as HTML, JavaScript, or XML.">Structured text editors for markup |
| languages</a><br /> |
| </p> |
| <p><b class="reltaskshd">Related tasks</b><br /> |
| <a href="tsrcedt001.html" title="This documentation describes how to set annotation preferences for Web and XML files. The annotation preferences include whether to analyze the syntactic validity of your file while you are typing and what colors to use to highlight errors, warnings, tasks, search results, bookmarks, and other text.">Setting annotation preferences for |
| markup languages</a><br /> |
| <a href="tsrcedt010.html" title="This documentation describes how to check spelling in a structured text editor.">Checking spelling</a><br /> |
| <a href="tsrcedt000.html" title="You can edit text coded in markup languages with a structured text editor. This is a generic term for several editors that you can use to edit any of several markup languages such as HTML or XML.">Editing text coded in markup languages |
| - overview</a><br /> |
| </p> |
| </div><p> |
| (C) Copyright IBM Corporation 2000, 2005. All Rights Reserved. |
| </p> |
| </body> |
| </html> |