cornercorner
FeaturesPluginsDocs & SupportCommunityPartners



Editor window contextual menu


You can access many of the commands you need in the Editor window by right-clicking and choosing the command from the contextual menu. The following commands are available when you are editing a Java file:

  • Go to Source - opens the source file for the the identifier that the insertion point is on (or immediately before or after) and moves the insertion point to the relevant section of code.
  • Go to Declaration - moves the insertion point to the declaration for the method or field that the insertion point is on (or immediately before or after).
  • Go to Super Implementation - moves the insertion point to the super implementation for the method or field that the insertion point is on (or immediately before or after).
  • Go to Line - moves the insertion point to the line in current file you specify in the dialog.
  • Go to Class - opens a dialog from which you can choose a class where you want to navigate. This is either the class where you are positioned currently with your cursor or any other class you specify.
  • Go to Class - opens a dialog from which you can choose a class where you want to navigate. This is either the class where you are positioned currently with your cursor or any other class you specify.
  • Find Usages - searches for usages of current method or field (this is a refactoring feature).
  • Show Javadoc - assuming that the proper Javadoc directory is configured in the library manager or platform manager, opens the web browser on the Javadoc documentation for the identifier that the insertion point is on (or immediately before or after).
  • Refactor Submenu - this submenu give access to refactoring feature).
  • Reformat Code - regenerates the automatic code formatting for the current file (or for the selected text, if any text is selected).
  • Fix Imports - adds automatically missing imports into currently edited file. A dialog with a select box is opened in case there are unambiguous imports (such as List).
  • Run File - executes currently opened file.
  • New Watch - adds a debugging watch (feature of the debugger).
  • Toggle Breakpoint - adds a breakpoint on current line (feature of the debugger).
  • Cut - removes the selected text from the file and pastes it to the clipboard.
  • Copy - copies the selected text to the clipboard.
  • Paste - pastes text from the clipboard to the insertion point in the file.

Contents Prev Next
Companion
Projects:
MySQL Database Server   GlassFish Community: an Open Source Application Server   Open Solaris  Open JDK: an Open SourceJDK   Mobile & Embedded Community     Sponsored by 
Sponsored by Sun Microsystems