blob: 1bf980cf222bd10c208acf1e5104dc4256bbb3a2 [file] [log] [blame]
<!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>
Content/code assist
</title>
<link rel="stylesheet" href="../book.css" charset="ISO-8859-1" type="text/css">
</head>
<body>
<h1>
Content/code assist
</h1>
<p>
If activated from a valid line of code in an editor, this command opens a scrollable list of available code completions. Some tips for using code assist:
</p>
<ul>
<li>
If you select and then hover over a selected line in the content assist list, you can view Javadoc information for that line.
</li>
<li>
You can use the mouse or the keyboard (Up Arrow, Down Arrow, Page Up, Page Down, Home, End, Enter) to navigate and select lines in the list.
</li>
<li>
Clicking or pressing Enter on a selected line in the list inserts the selection into the editor.
</li>
<li>
You can access specialized content assist features inside Javadoc comments.
</li>
</ul>
<img src="../images/ref-44.gif" width=417 height=216 alt="An editor showing a content assist and Javadoc window at the caret position"> <br>
Configure the behaviour of the content assist in the <a href="ref-21.htm">Java &gt; Editor preference page</a> (Code Assist tab).<br>
<br>
<img src="../images/ngrelc.gif" alt="Related concepts" border="0" height="27" width="159">
<p>
<a href="../concepts/concepts-7.htm">Java editor</a><br>
<a href="../concepts/concepts-1.htm">Java Development Tools (JDT)</a>
</p>
<br>
<br>
<p>
<br>
<img src="../images/ngrelt.gif" alt="Related tasks" border="0" height="27" width="159">
</p>
<p>
<a href="../tasks/tasks-65.htm">Using content/code assist<br>
<br>
</a>
</p>
<p>
<img src="../images/ngrelr.gif" width=159 height=27 alt="Related reference">
</p>
<p>
<a href="../reference/ref-menu-edit.htm">Edit menu</a><br>
<a href="../reference/ref-21.htm">Java editor preferences</a><br>
<a href="../reference/ref-preferences-templates.htm">Templates preferences</a><br>
</p>
<p>
<br>
<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>