The Go To Class feature (sometimes also known as Fast Open) enables you to open a Java file in the Source Editor by typing only the class name. The IDE helps you identify the correct package name for the class.
To open a file using the Go To Class feature:
The Go To Class feature can find and open a file only if its filesystem is mounted in the Filesystems window. Follow the "See also" links at the bottom of the page for more information on mounting filesystems.
As you type, a list of full package names that match the class name appears in the Matching Classes display area. The matches are case sensitive.
You can select a full package name at any time or you can keep typing the class name until the list is narrowed to only one package name. You can use the Down and Up arrow keys to select a package name in the scrolling list.
If the class name exists in multiple packages, you must select the one to open.
The list of package names displayed is generated from the IDE's code completion database.
For example, if you type Simple in the Class Name field, the items in the display list include javax.swingtext.SimpleAttributeSet, java.beans.SimpleBeanInfo, java.text.SimpleDataFormat, java.util.SimpleTimeZone, and any other classes you have in your code completion database that start with Simple.
![]() |
When you display the Go To Class dialog box, an information window is also displayed.
You can check an option to disable the information window in the future.
If you disable the information window, you can get it back by setting the Display Go To Class Info Window property. See Source Editor Properties for information on finding this property. |
See Also | |
---|---|
Mounting a Filesystem
Mounting the Java 2 SDK Using "Go To" Shortcuts Opening a File in the Source Editor Editing Java Code |