| <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> |
| <html lang="en"> |
| <head> |
| <meta name="copyright" content="Copyright (c) IBM Corporation and others 2000, 2008. 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"> |
| <title>Java Syntax Coloring Preferences</title> |
| <link rel="stylesheet" href="../../../../book.css" charset="ISO-8859-1" type="text/css"> |
| <script language="JavaScript" src="PLUGINS_ROOT/org.eclipse.help/livehelp.js" type="text/javascript"> </script> |
| </head> |
| <body> |
| <h1>Java Syntax Coloring Preferences</h1> |
| <p>Indicate your preferences for the Syntax Coloring settings on the <a class="command-link" href='javascript:executeCommand("org.eclipse.ui.window.preferences(preferencePageId=org.eclipse.jdt.ui.preferences.JavaEditorColoringPreferencePage)")'> <img src="PLUGINS_ROOT/org.eclipse.help/command_link.svg" alt="Opens the Syntax Coloring preference page"><b> Java > Editor > Syntax Coloring </b></a> preference page.</p> |
| <p> |
| Syntax Coloring specifies how Java source code is rendered. Note that general |
| text editor settings such as the background color can be configured on the general 'Text Editors' preference pages. Fonts |
| may be configured on the general 'Colors and Fonts' preference page. |
| </p> |
| <table border="1" cellspacing="0" cellpadding="5" width="100%" summary="Syntax coloring setting"> |
| <thead> |
| <tr> |
| <th> |
| <p> |
| Option |
| </p> |
| </th> |
| <th> |
| <p> |
| Description |
| </p> |
| </th> |
| <th> |
| <p> |
| Default |
| </p> |
| </th> |
| </tr> |
| </thead> |
| <tbody> |
| <tr> |
| <td valign="top"> |
| Element |
| </td> |
| <td valign="top"> |
| <p> |
| Each category (<strong>Java</strong>, <strong>Javadoc</strong> and <strong>Comments</strong>) |
| contains a list of language elements that may be rendered with its own color and style. |
| </p> |
| <p> |
| Some identifiers (for eg. var ,yield, record etc..) are restricted identifiers because they are not allowed in some contexts. |
| Semantic highlighting options for such identifiers can be controlled by the language element <strong>Restricted identifiers</strong> |
| under <strong>Java</strong> category. |
| </p> |
| <p> |
| Note that some semantic highlighting options can be disabled by the user in order to |
| ensure editor performance on low-end systems. |
| </p> |
| </td> |
| <td valign="top"> |
| <p> |
| default colors and styles |
| </p> |
| </td> |
| </tr> |
| <tr> |
| <td valign="top"> |
| Preview |
| </td> |
| <td valign="top"> |
| <p> |
| Displays the preview of a Java source code respecting the current colors and styles. |
| </p> |
| </td> |
| <td valign="top"> |
| <p> |
| n/a |
| </p> |
| </td> |
| </tr> |
| </tbody> |
| </table> |
| <h3 class="related">Related concepts</h3> |
| <a href="../../../../concepts/concept-java-editor.htm">Java editor</a> |
| <h3 class="related">Related references</h3> |
| <a href="../ref-preferences-editor.htm">Java editor preference page</a> |
| </body> |
| </html> |