| <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> |
| <html lang="en"> |
| <head> |
| <meta name="copyright" content="Copyright (c) IBM Corporation and others 2007, 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 Content Assist Favorites 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 Content Assist Favorites Preferences</h1> |
| <p>Indicate your preferences settings for the content assist for static members on the <a class="command-link" href='javascript:executeCommand("org.eclipse.ui.window.preferences(preferencePageId=org.eclipse.jdt.ui.preferences.CodeAssistStaticMembersPreferencePage)")'> <img src="PLUGINS_ROOT/org.eclipse.help/command_link.svg" alt="Opens the Advanced preference page"><b>Java > Editor > Content Assist > Favorites</b></a> preference page.</p> |
| <p>You can define a list of static members and types containing static members on this page. Content assist will propose those members even if the |
| import is missing.</p> |
| <p>To see the static import proposals, make sure <strong>Use static imports</strong> is enabled on the |
| <a class="command-link" href='javascript:executeCommand("org.eclipse.ui.window.preferences(preferencePageId=org.eclipse.jdt.ui.preferences.CodeAssistPreferencePage)")'> <img src="PLUGINS_ROOT/org.eclipse.help/command_link.svg" alt="Opens the Content Assist preference page"> |
| Content Assist preference page</a> |
| </p> |
| |
| <table border="1" cellspacing="0" cellpadding="5" summary="Static import favorites"> |
| <thead> |
| <tr> |
| <th> |
| <p>Action</p> |
| </th> |
| <th> |
| <p>Description</p> |
| </th> |
| </tr> |
| </thead> |
| <tbody> |
| <tr> |
| <td valign="top"> |
| <p>New Type</p> |
| </td> |
| <td valign="top"> |
| <p>Add a new type to the list. All static members declared by the added type will be proposed by content assist.</p> |
| </td> |
| </tr> |
| <tr> |
| <td valign="top"> |
| <p>New Member</p> |
| </td> |
| <td valign="top"> |
| <p>Add a static member to the list. The member will be proposed by content assist.</p> |
| </td> |
| </tr> |
| <tr> |
| <td valign="top"> |
| <p>Edit</p> |
| </td> |
| <td valign="top"> |
| <p>Edit the selected entry.</p> |
| </td> |
| </tr> |
| <tr> |
| <td valign="top"> |
| <p>Remove</p> |
| </td> |
| <td valign="top"> |
| <p>Removes the selected entry from the list.</p> |
| </td> |
| </tr> |
| </tbody> |
| </table> |
| <h3 class="related">Related references</h3> |
| <a href="../../../../reference/ref-java-editor-code-assist.htm">Content/Code assist</a><br> |
| <a href="../../../../reference/preferences/java/editor/ref-preferences-content-assist.htm">Content assist preference page</a> |
| </body> |
| </html> |