blob: 8155327d9ab8f5c2616390f3498834cd14a1814a [file] [log] [blame]
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta name="copyright" content="Copyright (c) IBM Corporation and others 2000, 2007. 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">
<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 are listed in the following paragraph:
</p>
<ul>
<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>
If you select a line in the content assist list, you can view Javadoc information for that line.
</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/contentassist.png" alt="An editor showing a content assist and Javadoc window at the caret position"> <p>
Configure the behavior of the content assist in the <a href="ref-21.htm">Java &gt; Editor &gt; Code Assist</a> preference page.<br>
</p>
<img src="../images/ngrelc.png" alt="Related concepts" border="0" >
<p>
<a href="../concepts/concepts-7.htm">Java editor</a><br>
<a href="../concepts/concepts-1.htm">Java development tools (JDT)</a>
</p>
<p>
<img src="../images/ngrelr.png" 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>
</body>
</html>