| <!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, 2010. 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 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 Preferences |
| </h1> |
| |
| <p> |
| The following Java preferences can be set on the |
| <a class="command-link" href='javascript:executeCommand("org.eclipse.ui.window.preferences(preferencePageId=org.eclipse.jdt.ui.preferences.JavaBasePreferencePage)")'> |
| <img src="PLUGINS_ROOT/org.eclipse.help/command_link.svg" alt="Opens the Java preference page"> |
| <b>Java</b></a> preference page |
| and its sub-pages. |
| </p> |
| <ul> |
| <li><a href="java/ref-preferences-appearance.htm">Appearance</a></li> |
| <li><a href="java/ref-preferences-build-path.htm">Build Path</a></li> |
| <li><a href="java/ref-preferences-code-style.htm">Code Style</a></li> |
| <li><a href="java/ref-preferences-compiler.htm">Compiler</a></li> |
| <li><a href="java/debug/ref-debug.htm">Debug</a></li> |
| <li><a href="java/ref-preferences-editor.htm">Editor</a></li> |
| <li><a href="java/ref-preferences-installed-jres.htm">Installed JREs</a></li> |
| <li><a href="java/ref-preferences-junit.htm">JUnit</a></li> |
| <li><a href="java/ref-preferences-properties-files-editor.htm">Properties File Editor</a></li> |
| </ul> |
| |
| <table border="1" cellspacing="0" cellpadding="5" summary="General Java settings"> |
| <thead> |
| <tr> |
| <th> |
| <p> |
| Option |
| </p> |
| </th> |
| <th> |
| <p> |
| Description |
| </p> |
| </th> |
| <th> |
| <p> |
| Default |
| </p> |
| </th> |
| </tr> |
| </thead> |
| <tbody> |
| |
| <tr> |
| <td valign="top"> |
| Action on double click in the Package Explorer |
| </td> |
| <td valign="top"> |
| <dl> |
| <dt> |
| <strong>Go into the selected element</strong> |
| </dt> |
| <dd> |
| When you double click a container, a <strong>Go Into</strong> command is executed. |
| <br> |
| See <strong>Go Into</strong> from the <a href="../ref-menu-navigate.htm">Navigate</a> menu. |
| </dd> |
| <dt> |
| <strong>Expand the selected element</strong> |
| </dt> |
| <dd> |
| When you double click a container, it is expanded and its children are revealed. |
| </dd> |
| </dl> |
| </td> |
| <td valign="top"> |
| Expand the selected element |
| </td> |
| </tr> |
| |
| <tr> |
| <td valign="top"> |
| When opening a Type Hierarchy |
| </td> |
| <td valign="top"> |
| <dl> |
| <dt> |
| <strong>Open a new Type Hierarchy Perspective</strong> |
| </dt> |
| <dd> |
| Opens a new Type Hierarchy perspective whenever a Type Hierarchy view is opened. |
| </dd> |
| <dt> |
| <strong>Show the Type Hierarchy View in the current perspective</strong> |
| </dt> |
| <dd> |
| The Type Hierarchy view is displayed in the current perspective. |
| </dd> |
| </dl> |
| <em>Note: On the Workbench preferences page, you can choose whether new perspectives open in a new window, in the current window, or as a replacement for the current |
| perspective.</em> |
| </td> |
| <td valign="top"> |
| Show the Type Hierarchy View in the current perspective |
| </td> |
| </tr> |
| |
| <tr> |
| <td valign="top"> |
| Refactoring Java code |
| </td> |
| <td valign="top"> |
| <dl> |
| <dt> |
| <strong>Save all modified resources automatically prior to refactoring</strong> |
| </dt> |
| <dd> |
| If this option is turned off, refactorings may prompt to save modified files if required. |
| If it is turned on, all modified files are saved without prompting prior to opening a refactoring wizard. |
| </dd> |
| </dl> |
| </td> |
| <td valign="top"> |
| Off |
| </td> |
| </tr> |
| |
| <tr> |
| <td valign="top"> |
| </td> |
| <td valign="top"> |
| <dl> |
| <dt> |
| <strong>Rename in editor without dialog</strong> |
| </dt> |
| <dd> |
| If this option is turned on, then the rename refactoring will not show a dialog if invoked inside a Java editor. |
| Instead the new name for the element to rename can be typed into the editor right away. |
| </dd> |
| </dl> |
| </td> |
| <td valign="top"> |
| On |
| </td> |
| </tr> |
| |
| <tr> |
| <td valign="top"> |
| Search |
| </td> |
| <td valign="top"> |
| <dl> |
| <dt> |
| <strong>Use reduced search menu</strong> |
| </dt> |
| <dd> |
| If this option is turned on, the search context menus show only the most frequently used search actions. |
| </dd> |
| </dl> |
| </td> |
| <td valign="top"> |
| On |
| </td> |
| </tr> |
| <tr> |
| <td valign="top"> |
| Search |
| </td> |
| <td valign="top"> |
| <dl> |
| <dt> |
| <strong>Enable new Java index</strong> |
| </dt> |
| <dd> |
| If this option is turned on, Eclipse will build and use a new index for |
| accelerating many Java operations. This will reduce the number of UI freezes but |
| will consume additional memory and disk space. |
| </dd> |
| </dl> |
| </td> |
| <td valign="top"> |
| Off |
| </td> |
| </tr> |
| <tr> |
| <td valign="top"> |
| Search |
| </td> |
| <td valign="top"> |
| <dl> |
| <dt> |
| <strong>Rebuild Index</strong> |
| </dt> |
| <dd> |
| Pressing this button will delete all information cached in the Java index. |
| This can be used to save disk space since the rebuilt index is often smaller |
| than the original. It can also be used to fix index corruption in cases where |
| types appear to be missing from the UI. |
| </dd> |
| </dl> |
| </td> |
| <td valign="top"> |
| </td> |
| </tr> |
| <tr> |
| <td valign="top"> |
| Java dialogs |
| </td> |
| <td valign="top"> |
| <dl> |
| <dt> |
| <strong>Clear all 'do not show again' settings and show all hidden dialogs again</strong> |
| </dt> |
| <dd> |
| If pressed, all 'do not show' settings are cleared. |
| </dd> |
| </dl> |
| </td> |
| <td valign="top"> |
| Button |
| </td> |
| </tr> |
| </tbody> |
| </table> |
| <h3 class="related">Related concepts</h3> |
| <a href="../../concepts/concept-java-views.htm">Java views</a> |
| <h3 class="related">Related references</h3> |
| <a href="../../reference/views/ref-view-package-explorer.htm">Package Explorer view</a><br> |
| <a href="../../reference/views/ref-type-hierarchy.htm">Type Hierarchy view</a> |
| </body> |
| </html> |
| |