This dialog allows you to browse the workbench for a file to open in an editor
The following pattern kinds are supported:
README.txt
, but not creators.txt
Makefile
and xMockFile
, but not xMockFiles
CreateStuff.java
CreateStuffNow.jsp
CreateStuff.java
, but not DoCreateStuff.java
CreateStuff.java
, but not CreateStuffNow.jsp
nor Createstuff.txt
Both pattern kinds also support folder prefixes. If the pattern contains a /, the part before
the last / is used to match a path in the workspace, e.g. "org.eclipse.ui/plugin.xml".
Or a bit more complex: "*/ui</pack*.html" matches e.g. files called "package.html" in a folder named "ui" (but
not in folders like "uitools" or "*/ui/internal").
For example, "./Mak" matches all files which have "Mak" in their name and are in the folder of the active editor or selection, while "../Mak" matches such files in the parent folder.
The Open button opens the file with the default editor for the chosen file. A different editor can be selected in the context menu on a file or in the Open With drop-down button.
The Show In drop-down button can be used to show the chosen file in a view.
The behavior of the Open Resource dialog can be further customized using the dialog menu:
Option |
Description |
Default |
---|---|---|
Show Status Line | When selected, the Open Resource dialog shows an additional bar at the bottom of the dialog which displays the full path of the selected file. | Show status line |
Show Derived Resources | When selected, the Open Resource dialog also shows derived resources. | Do not show derived resources |
Working Set actions | The search scope can be restricted by selecting one or more working sets or the global Window Working Set. | Show all files in the workspace. |