blob: d7e1220a7cc787f384d1b1584485387a4c9a95b8 [file]
<!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">
<title>
Editor
</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"> </script>
</head>
<body>
<h1>
Editor
</h1>
<p>
The following Java editor preferences can be set on the
<a class="command-link" href='javascript:executeCommand("org.eclipse.ui.window.preferences(preferencePageId=org.eclipse.jdt.ui.preferences.JavaEditorPreferencePage)")'>
<img src="PLUGINS_ROOT/org.eclipse.help/command_link.png" alt="Opens the Java Editor preference page">
<b>Java &gt; Editor</b></a> preference page
and its sub-pages.
</p>
<ul>
<li><a href="../reference/preferences/java/editor/ref-preferences-content-assist.htm">Content Assist</a></li>
<li><a href="../reference/preferences/java/editor/ref-preferences-content-assist-advanced.htm">Content Assist Advanced</a></li>
<li><a href="../reference/preferences/java/editor/ref-preferences-folding.htm">Folding</a></li>
<li><a href="../reference/preferences/java/editor/ref-preferences-hovers.htm">Hovers</a></li>
<li><a href="../reference/preferences/java/editor/ref-preferences-mark-occurrences.htm">Mark Occurrences</a></li>
<li><a href="../reference/preferences/java/editor/ref-preferences-syntax-coloring.htm">Syntax Coloring</a></li>
<li><a href="../reference/ref-preferences-templates.htm">Templates</a></li>
<li><a href="../reference/preferences/java/editor/ref-preferences-typing.htm">Typing</a></li>
</ul>
<p>
Note that some options that are generally applicable to text editors can be configured on the text editor preference page.
</p>
<table border="1" cellspacing="0" cellpadding="5" width="100%">
<thead>
<tr>
<th>Option</th>
<th>Description</th>
<th>Default</th>
</tr>
</thead>
<tbody>
<tr>
<td valign="top">
Smart caret positioning at line start and end
</td>
<td valign="top">
<p>
If enabled, the <strong>Home</strong> and <strong>End</strong> commands jump to the first and last non whitespace character on a line.
</p>
</td>
<td valign="top">
<p>
On
</p>
</td>
</tr>
<tr>
<td valign="top">
Smart caret positioning in Java names (overrides platform behavior)
</td>
<td valign="top">
<p>
If enabled, there are additional word boundaries inside <tt>|Camel|Case|</tt> Java names.
</p>
</td>
<td valign="top">
<p>
On
</p>
</td>
</tr>
<tr>
<td valign="top">
Report problems as you type
</td>
<td valign="top">
<p>
If enabled, the editor marks errors and warnings as you type, even if you do not save the editor contents. The problems are updated after a short delay.
</p>
</td>
<td valign="top">
<p>
On
</p>
</td>
</tr>
<tr>
<td valign="top">
Highlight matching brackets
</td>
<td valign="top">
<p>
If enabled, whenever the cursor is next to a parenthesis, bracket or curly braces, its opening or closing counter part is highlighted.
</p>
<p>
The color of the bracket highlight is specified with <strong>Appearance color options</strong>.
</p>
</td>
<td valign="top">
<p>
On
</p>
</td>
</tr>
<tr>
<td valign="top">
Light bulb for quick assists
</td>
<td valign="top">
<p>
If enabled, a <img src="../images/org.eclipse.jdt.ui/obj16/quickassist_obj.png" alt="light bulb"> shows up in the vertical ruler whenever a <strong>quick assist</strong> is available. See the <a href="../concepts/cquickassists.htm">quick assist section</a> for a list of the available assists.
</p>
</td>
<td valign="top">
<p>
Off
</p>
</td>
</tr>
<tr>
<td valign="top">
Appearance color options
</td>
<td valign="top">
<p>
The colors of various Java editor appearance features are specified here.
</p>
<dl>
<dt>Matching brackets highlight</dt>
<dd>The color of brackets highlight.</dd>
<dt>Find scope</dt>
<dd>The color of find scope.</dd>
<dt>Completion proposal background</dt>
<dd>The background color of the completion proposal window</dd>
<dt>Completion proposal foreground</dt>
<dd>The foreground color of the completion proposal window</dd>
<dt>Method parameter background</dt>
<dd>The background color of the parameter window</dd>
<dt>Method parameter foreground</dt>
<dd>The foreground color of the parameter window</dd>
<dt>Completion overwrite background</dt>
<dd>The background color of the completion overwrite window</dd>
<dt>Completion overwrite foreground</dt>
<dd>The foreground color of the completion overwrite window</dd>
</dl>
</td>
<td valign="top">
<p>
default colors
</p>
</td>
</tr>
</tbody>
</table>
<p>
<img src="../images/ngrelc.png" alt="Related concepts" border="0" >
</p>
<p>
<a href="../concepts/concepts-7.htm">Java Editor</a>
</p>
<p>
<img src="../images/ngrelr.png" alt="Related reference" border="0" >
</p>
<p>
<a href="../reference/ref-java-editor.htm">Java editor</a><br>
<a href="../reference/ref-17.htm">Code Formatter preferences</a><br>
<a href="../reference/ref-view-outline.htm">Java outline</a><br>
<a href="../reference/ref-143.htm">Java Content Assist</a><br>
<a href="../reference/ref-java-editor-quickfix.htm">Quick Fix</a>
</p>
</body>
</html>