|
Added
Link Here
|
| 1 |
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> |
| 2 |
<html lang="en"> |
| 3 |
<head> |
| 4 |
<meta name="copyright" content="Copyright (c) IBM Corporation and others 2010. This page is made available under license. For full details see the LEGAL in the documentation book that contains this page." > |
| 5 |
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> |
| 6 |
<meta http-equiv="Content-Style-Type" content="text/css"> |
| 7 |
<link rel="stylesheet" href="../book.css" charset="ISO-8859-1" type="text/css"> |
| 8 |
<title> |
| 9 |
Open Resource |
| 10 |
</title> |
| 11 |
</head> |
| 12 |
<body> |
| 13 |
<h1> |
| 14 |
Open Resource |
| 15 |
</h1> |
| 16 |
<p> |
| 17 |
This dialog allows you to browse the workbench for a file to open in an editor |
| 18 |
</p> |
| 19 |
<ul> |
| 20 |
<li> |
| 21 |
<strong>Select an item to open</strong>: In this field, type the first few |
| 22 |
characters of the name of the file you want to select. |
| 23 |
<p>The following pattern kinds are supported:</p> |
| 24 |
<br> |
| 25 |
<strong>Wildcards</strong>:<br> |
| 26 |
<ul> |
| 27 |
<li> |
| 28 |
"*" for any string and "?" for any character |
| 29 |
</li> |
| 30 |
<li> |
| 31 |
terminating "<" or " " (space) |
| 32 |
to prevent the automatic prefix matching, e.g. "M*file<" |
| 33 |
to match <code>Makefile</code> and <code>MockFile</code> but not <code>MakeTheFiles</code> |
| 34 |
</li> |
| 35 |
</ul> |
| 36 |
<strong>Camel case</strong>:<br> |
| 37 |
<ul> |
| 38 |
<li> |
| 39 |
"CS" for file names containing "C" and "S" |
| 40 |
as upper-case letters in camel-case notation, e.g. <code>CreateStuff.java</code> |
| 41 |
</li> |
| 42 |
<li> |
| 43 |
"CreSNo" for file names containing "Cre", "S", |
| 44 |
and "No" as parts in camel-case notation, e.g. |
| 45 |
<code>CreateStuffNow.jsp</code> |
| 46 |
</li> |
| 47 |
<li> |
| 48 |
terminating "<" or " " (space) to fix the number of camel-case parts, |
| 49 |
e.g. "CreS<" |
| 50 |
matches "CreateStuff.java", but not |
| 51 |
"CreateStuffNow.jsp" nor "Createstuff.txt". |
| 52 |
</li> |
| 53 |
</ul> |
| 54 |
<strong>Folder prefixes</strong>:<br> |
| 55 |
<p> |
| 56 |
Both pattern kinds also support <strong>folder prefixes</strong>, e.g. |
| 57 |
"org.eclipse.ui/plugin.xml". |
| 58 |
Or a bit more complex: "*/ui</pack*.html" matches e.g. files called "package.html" |
| 59 |
in a folder named "ui" (but not in folders like "uitools" or "*/ui/internal"). |
| 60 |
</p> |
| 61 |
<br> |
| 62 |
</li> |
| 63 |
<li> |
| 64 |
<strong>Matching items</strong>: This list displays matches for the pattern you type in the <strong>Select an item to open</strong> field. |
| 65 |
Recently opened files show up in a history section at the top of the list. |
| 66 |
</li> |
| 67 |
</ul> |
| 68 |
|
| 69 |
<p> |
| 70 |
The <b>Open</b> button opens the file with the default editor for the chosen file. |
| 71 |
A different editor can be selected in the context menu on a file or in the drop-down button besides the <b>Open</b> button. |
| 72 |
</p> |
| 73 |
|
| 74 |
<p> |
| 75 |
The behavior of the <strong>Open Resource</strong> dialog can be further customized using the dialog menu: |
| 76 |
</p> |
| 77 |
<table border="1" cellspacing="0" cellpadding="5" summary="Open resource options"> |
| 78 |
<caption> |
| 79 |
Open Resource Options |
| 80 |
</caption> |
| 81 |
<thead> |
| 82 |
<tr> |
| 83 |
<th> |
| 84 |
<p> |
| 85 |
Option |
| 86 |
</p> |
| 87 |
</th> |
| 88 |
<th> |
| 89 |
<p> |
| 90 |
Description |
| 91 |
</p> |
| 92 |
</th> |
| 93 |
<th> |
| 94 |
<p> |
| 95 |
Default |
| 96 |
</p> |
| 97 |
</th> |
| 98 |
</tr> |
| 99 |
</thead> |
| 100 |
<tbody> |
| 101 |
|
| 102 |
<tr> |
| 103 |
<td valign="top"> |
| 104 |
Show Status Line |
| 105 |
</td> |
| 106 |
<td valign="top"> |
| 107 |
When selected, the <strong>Open Resource</strong> dialog shows an additional bar at the bottom of the dialog which displays the |
| 108 |
full path of the selected file. |
| 109 |
</td> |
| 110 |
<td valign="top"> |
| 111 |
Show status line |
| 112 |
</td> |
| 113 |
</tr> |
| 114 |
|
| 115 |
<tr> |
| 116 |
<td valign="top"> |
| 117 |
Show Derived Resources |
| 118 |
</td> |
| 119 |
<td valign="top"> |
| 120 |
When selected, the <strong>Open Resource</strong> dialog also shows derived resources. |
| 121 |
</td> |
| 122 |
<td valign="top"> |
| 123 |
Do not show derived resources |
| 124 |
</td> |
| 125 |
</tr> |
| 126 |
|
| 127 |
<tr> |
| 128 |
<td valign="top"> |
| 129 |
Working Set actions |
| 130 |
</td> |
| 131 |
<td valign="top"> |
| 132 |
The search scope can be restricted by selecting one or more working sets |
| 133 |
or the global Window Working Set. |
| 134 |
</td> |
| 135 |
<td valign="top"> |
| 136 |
Show all files in the workspace. |
| 137 |
</td> |
| 138 |
</tr> |
| 139 |
|
| 140 |
</tbody> |
| 141 |
</table> |
| 142 |
|
| 143 |
<p> |
| 144 |
<img src="../images/ngrelt.png" alt="Related tasks" border="0" > |
| 145 |
</p> |
| 146 |
<p> |
| 147 |
<a href="../tasks/tasks-46.htm">Opening Resources</a><br> |
| 148 |
</p> |
| 149 |
<p> |
| 150 |
<img src="../images/ngrelr.png" alt="Related reference"> |
| 151 |
</p> |
| 152 |
<p> |
| 153 |
<a href="../concepts/cworkset.htm">Working sets</a><br> |
| 154 |
<a href="../reference/ref-menu-navigate.htm">Navigate actions</a> |
| 155 |
</p> |
| 156 |
|
| 157 |
</body> |
| 158 |
</html> |
| 159 |
|