|
Lines 112-296
Link Here
|
| 112 |
<extension-point id="dragSourceTransfers" name="Drag Source Transfers"/> |
112 |
<extension-point id="dragSourceTransfers" name="Drag Source Transfers"/> |
| 113 |
--> |
113 |
--> |
| 114 |
<extension point="org.eclipse.ui.commands"> |
114 |
<extension point="org.eclipse.ui.commands"> |
| 115 |
<scope |
|
|
| 116 |
name="%scope.structuredTextEditor.name" |
| 117 |
parent="org.eclipse.ui.textEditorScope" |
| 118 |
description="%scope.structuredTextEditor.description" |
| 119 |
id="org.eclipse.wst.sse.ui.structuredTextEditorScope"> |
| 120 |
</scope> |
| 121 |
<!-- dmw 6/6 (and 11/10 :) removed from 'scope' parentId="org.eclipse.ui.textEditorScope" --> |
| 122 |
<!-- afw 11/11 added scope back in because these are keybindings for structuredtexteditors only --> |
| 123 |
|
| 124 |
<!-- Edit commands --> |
115 |
<!-- Edit commands --> |
| 125 |
<command |
116 |
<command |
| 126 |
name="%ActionDefinition.selectEnclosing.name" |
117 |
name="%ActionDefinition.selectEnclosing.name" |
| 127 |
description="%ActionDefinition.selectEnclosing.description" |
118 |
description="%ActionDefinition.selectEnclosing.description" |
| 128 |
category="org.eclipse.ui.category.edit" |
119 |
categoryId="org.eclipse.ui.category.edit" |
| 129 |
id="org.eclipse.wst.sse.ui.structure.select.enclosing"> |
120 |
id="org.eclipse.wst.sse.ui.structure.select.enclosing"> |
| 130 |
</command> |
121 |
</command> |
| 131 |
<command |
122 |
<command |
| 132 |
name="%ActionDefinition.selectNext.name" |
123 |
name="%ActionDefinition.selectNext.name" |
| 133 |
description="%ActionDefinition.selectNext.description" |
124 |
description="%ActionDefinition.selectNext.description" |
| 134 |
category="org.eclipse.ui.category.edit" |
125 |
categoryId="org.eclipse.ui.category.edit" |
| 135 |
id="org.eclipse.wst.sse.ui.structure.select.next"> |
126 |
id="org.eclipse.wst.sse.ui.structure.select.next"> |
| 136 |
</command> |
127 |
</command> |
| 137 |
<command |
128 |
<command |
| 138 |
name="%ActionDefinition.selectPrevious.name" |
129 |
name="%ActionDefinition.selectPrevious.name" |
| 139 |
description="%ActionDefinition.selectPrevious.description" |
130 |
description="%ActionDefinition.selectPrevious.description" |
| 140 |
category="org.eclipse.ui.category.edit" |
131 |
categoryId="org.eclipse.ui.category.edit" |
| 141 |
id="org.eclipse.wst.sse.ui.structure.select.previous"> |
132 |
id="org.eclipse.wst.sse.ui.structure.select.previous"> |
| 142 |
</command> |
133 |
</command> |
| 143 |
<command |
134 |
<command |
| 144 |
name="%ActionDefinition.selectLast.name" |
135 |
name="%ActionDefinition.selectLast.name" |
| 145 |
description="%ActionDefinition.selectLast.description" |
136 |
description="%ActionDefinition.selectLast.description" |
| 146 |
category="org.eclipse.ui.category.edit" |
137 |
categoryId="org.eclipse.ui.category.edit" |
| 147 |
id="org.eclipse.wst.sse.ui.structure.select.last"> |
138 |
id="org.eclipse.wst.sse.ui.structure.select.last"> |
| 148 |
</command> |
139 |
</command> |
| 149 |
<command |
140 |
<command |
| 150 |
name="%ActionDefinition.showJavadoc.name" |
141 |
name="%ActionDefinition.showJavadoc.name" |
| 151 |
description="%ActionDefinition.showJavadoc.description" |
142 |
description="%ActionDefinition.showJavadoc.description" |
| 152 |
category="org.eclipse.ui.category.edit" |
143 |
categoryId="org.eclipse.ui.category.edit" |
| 153 |
id="org.eclipse.wst.sse.ui.show.javadoc"> |
144 |
id="org.eclipse.wst.sse.ui.show.javadoc"> |
| 154 |
</command> |
145 |
</command> |
| 155 |
<command |
146 |
<command |
| 156 |
name="%ActionDefinition.quickFix.name" |
147 |
name="%ActionDefinition.quickFix.name" |
| 157 |
description="%ActionDefinition.quickFix.description" |
148 |
description="%ActionDefinition.quickFix.description" |
| 158 |
category="org.eclipse.ui.category.edit" |
149 |
categoryId="org.eclipse.ui.category.edit" |
| 159 |
id="org.eclipse.wst.sse.ui.edit.text.java.correction.assist.proposals"> |
150 |
id="org.eclipse.wst.sse.ui.edit.text.java.correction.assist.proposals"> |
| 160 |
</command> |
151 |
</command> |
| 161 |
<!-- Source commands --> |
152 |
<!-- Source commands --> |
| 162 |
<command |
153 |
<command |
| 163 |
name="%command.toggle.comment.name" |
154 |
name="%command.toggle.comment.name" |
| 164 |
description="%command.toggle.comment.description" |
155 |
description="%command.toggle.comment.description" |
| 165 |
category="org.eclipse.ui.category.edit" |
156 |
categoryId="org.eclipse.ui.category.edit" |
| 166 |
id="org.eclipse.wst.sse.ui.toggle.comment"> |
157 |
id="org.eclipse.wst.sse.ui.toggle.comment"> |
| 167 |
</command> |
158 |
</command> |
| 168 |
<command |
159 |
<command |
| 169 |
name="%command.add.block.comment.name" |
160 |
name="%command.add.block.comment.name" |
| 170 |
description="%command.add.block.comment.description" |
161 |
description="%command.add.block.comment.description" |
| 171 |
category="org.eclipse.ui.category.edit" |
162 |
categoryId="org.eclipse.ui.category.edit" |
| 172 |
id="org.eclipse.wst.sse.ui.add.block.comment"> |
163 |
id="org.eclipse.wst.sse.ui.add.block.comment"> |
| 173 |
</command> |
164 |
</command> |
| 174 |
<command |
165 |
<command |
| 175 |
name="%command.remove.block.comment.name" |
166 |
name="%command.remove.block.comment.name" |
| 176 |
description="%command.remove.block.comment.description" |
167 |
description="%command.remove.block.comment.description" |
| 177 |
category="org.eclipse.ui.category.edit" |
168 |
categoryId="org.eclipse.ui.category.edit" |
| 178 |
id="org.eclipse.wst.sse.ui.remove.block.comment"> |
169 |
id="org.eclipse.wst.sse.ui.remove.block.comment"> |
| 179 |
</command> |
170 |
</command> |
| 180 |
<command |
171 |
<command |
| 181 |
name="%command.cleanup.document.name" |
172 |
name="%command.cleanup.document.name" |
| 182 |
description="%command.cleanup.document.description" |
173 |
description="%command.cleanup.document.description" |
| 183 |
category="org.eclipse.ui.category.edit" |
174 |
categoryId="org.eclipse.ui.category.edit" |
| 184 |
id="org.eclipse.wst.sse.ui.cleanup.document"> |
175 |
id="org.eclipse.wst.sse.ui.cleanup.document"> |
| 185 |
</command> |
176 |
</command> |
| 186 |
<command |
177 |
<command |
| 187 |
name="%command.format.document.name" |
178 |
name="%command.format.document.name" |
| 188 |
description="%command.format.document.description" |
179 |
description="%command.format.document.description" |
| 189 |
category="org.eclipse.ui.category.edit" |
180 |
categoryId="org.eclipse.ui.category.edit" |
| 190 |
id="org.eclipse.wst.sse.ui.format.document"> |
181 |
id="org.eclipse.wst.sse.ui.format.document"> |
| 191 |
</command> |
182 |
</command> |
| 192 |
<command |
183 |
<command |
| 193 |
name="%command.format.active.elements.name" |
184 |
name="%command.format.active.elements.name" |
| 194 |
description="%command.format.active.elements.description" |
185 |
description="%command.format.active.elements.description" |
| 195 |
category="org.eclipse.ui.category.edit" |
186 |
categoryId="org.eclipse.ui.category.edit" |
| 196 |
id="org.eclipse.wst.sse.ui.format.active.elements"> |
187 |
id="org.eclipse.wst.sse.ui.format.active.elements"> |
| 197 |
</command> |
188 |
</command> |
| 198 |
<!-- Navigate commands --> |
189 |
<!-- Navigate commands --> |
| 199 |
<command |
190 |
<command |
| 200 |
name="%command.open.file.from.source.name" |
191 |
name="%command.open.file.from.source.name" |
| 201 |
description="%command.open.file.from.source.description" |
192 |
description="%command.open.file.from.source.description" |
| 202 |
category="org.eclipse.ui.category.edit" |
193 |
categoryId="org.eclipse.ui.category.edit" |
| 203 |
id="org.eclipse.wst.sse.ui.open.file.from.source"> |
194 |
id="org.eclipse.wst.sse.ui.open.file.from.source"> |
| 204 |
</command> |
195 |
</command> |
| 205 |
<!-- Find Occurrences --> |
196 |
<!-- Find Occurrences --> |
| 206 |
<command |
197 |
<command |
| 207 |
name="%command.search.find.occurrences.name" |
198 |
name="%command.search.find.occurrences.name" |
| 208 |
description="%command.search.find.occurrences.description" |
199 |
description="%command.search.find.occurrences.description" |
| 209 |
category="org.eclipse.ui.category.edit" |
200 |
categoryId="org.eclipse.ui.category.edit" |
| 210 |
id="org.eclipse.wst.sse.ui.search.find.occurrences"> |
201 |
id="org.eclipse.wst.sse.ui.search.find.occurrences"> |
| 211 |
</command> |
202 |
</command> |
|
|
203 |
</extension> |
| 204 |
<!-- Keybinding scope for source editor --> |
| 205 |
<extension point="org.eclipse.ui.contexts"> |
| 206 |
<context |
| 207 |
name="%scope.structuredTextEditor.name" |
| 208 |
parentId="org.eclipse.ui.textEditorScope" |
| 209 |
description="%scope.structuredTextEditor.description" |
| 210 |
id="org.eclipse.wst.sse.ui.structuredTextEditorScope"> |
| 211 |
</context> |
| 212 |
</extension> |
| 213 |
<!-- Keybindings for source editor --> |
| 214 |
<extension point="org.eclipse.ui.bindings"> |
| 212 |
<!-- Edit commands --> |
215 |
<!-- Edit commands --> |
| 213 |
<keyBinding |
216 |
<key |
| 214 |
string="Alt+Shift+ARROW_UP" |
217 |
sequence="Alt+Shift+ARROW_UP" |
| 215 |
scope="org.eclipse.wst.sse.ui.structuredTextEditorScope" |
218 |
contextId="org.eclipse.wst.sse.ui.structuredTextEditorScope" |
| 216 |
command="org.eclipse.wst.sse.ui.structure.select.enclosing" |
219 |
commandId="org.eclipse.wst.sse.ui.structure.select.enclosing" |
| 217 |
configuration="org.eclipse.ui.defaultAcceleratorConfiguration"> |
220 |
schemeId="org.eclipse.ui.defaultAcceleratorConfiguration"> |
| 218 |
</keyBinding> |
221 |
</key> |
| 219 |
<keyBinding |
222 |
<key |
| 220 |
string="Alt+Shift+ARROW_RIGHT" |
223 |
sequence="Alt+Shift+ARROW_RIGHT" |
| 221 |
scope="org.eclipse.wst.sse.ui.structuredTextEditorScope" |
224 |
contextId="org.eclipse.wst.sse.ui.structuredTextEditorScope" |
| 222 |
command="org.eclipse.wst.sse.ui.structure.select.next" |
225 |
commandId="org.eclipse.wst.sse.ui.structure.select.next" |
| 223 |
configuration="org.eclipse.ui.defaultAcceleratorConfiguration"> |
226 |
schemeId="org.eclipse.ui.defaultAcceleratorConfiguration"> |
| 224 |
</keyBinding> |
227 |
</key> |
| 225 |
<keyBinding |
228 |
<key |
| 226 |
string="Alt+Shift+ARROW_LEFT" |
229 |
sequence="Alt+Shift+ARROW_LEFT" |
| 227 |
scope="org.eclipse.wst.sse.ui.structuredTextEditorScope" |
230 |
contextId="org.eclipse.wst.sse.ui.structuredTextEditorScope" |
| 228 |
command="org.eclipse.wst.sse.ui.structure.select.previous" |
231 |
commandId="org.eclipse.wst.sse.ui.structure.select.previous" |
| 229 |
configuration="org.eclipse.ui.defaultAcceleratorConfiguration"> |
232 |
schemeId="org.eclipse.ui.defaultAcceleratorConfiguration"> |
| 230 |
</keyBinding> |
233 |
</key> |
| 231 |
<keyBinding |
234 |
<key |
| 232 |
string="Alt+Shift+ARROW_DOWN" |
235 |
sequence="Alt+Shift+ARROW_DOWN" |
| 233 |
scope="org.eclipse.wst.sse.ui.structuredTextEditorScope" |
236 |
contextId="org.eclipse.wst.sse.ui.structuredTextEditorScope" |
| 234 |
command="org.eclipse.wst.sse.ui.structure.select.last" |
237 |
commandId="org.eclipse.wst.sse.ui.structure.select.last" |
| 235 |
configuration="org.eclipse.ui.defaultAcceleratorConfiguration"> |
238 |
schemeId="org.eclipse.ui.defaultAcceleratorConfiguration"> |
| 236 |
</keyBinding> |
239 |
</key> |
| 237 |
<keyBinding |
240 |
<key |
| 238 |
string="F2" |
241 |
sequence="F2" |
| 239 |
scope="org.eclipse.wst.sse.ui.structuredTextEditorScope" |
242 |
contextId="org.eclipse.wst.sse.ui.structuredTextEditorScope" |
| 240 |
command="org.eclipse.wst.sse.ui.show.javadoc" |
243 |
commandId="org.eclipse.wst.sse.ui.show.javadoc" |
| 241 |
configuration="org.eclipse.ui.defaultAcceleratorConfiguration"> |
244 |
schemeId="org.eclipse.ui.defaultAcceleratorConfiguration"> |
| 242 |
</keyBinding> |
245 |
</key> |
| 243 |
<keyBinding |
246 |
<key |
| 244 |
string="Ctrl+1" |
247 |
sequence="Ctrl+1" |
| 245 |
scope="org.eclipse.wst.sse.ui.structuredTextEditorScope" |
248 |
contextId="org.eclipse.wst.sse.ui.structuredTextEditorScope" |
| 246 |
command="org.eclipse.wst.sse.ui.edit.text.java.correction.assist.proposals" |
249 |
commandId="org.eclipse.wst.sse.ui.edit.text.java.correction.assist.proposals" |
| 247 |
configuration="org.eclipse.ui.defaultAcceleratorConfiguration"> |
250 |
schemeId="org.eclipse.ui.defaultAcceleratorConfiguration"> |
| 248 |
</keyBinding> |
251 |
</key> |
| 249 |
<!-- Source commands --> |
252 |
<!-- Source commands --> |
| 250 |
<keyBinding |
253 |
<key |
| 251 |
string="Ctrl+Shift+C" |
254 |
sequence="Ctrl+Shift+C" |
| 252 |
scope="org.eclipse.wst.sse.ui.structuredTextEditorScope" |
255 |
contextId="org.eclipse.wst.sse.ui.structuredTextEditorScope" |
| 253 |
command="org.eclipse.wst.sse.ui.toggle.comment" |
256 |
commandId="org.eclipse.wst.sse.ui.toggle.comment" |
| 254 |
configuration="org.eclipse.ui.defaultAcceleratorConfiguration"> |
257 |
schemeId="org.eclipse.ui.defaultAcceleratorConfiguration"> |
| 255 |
</keyBinding> |
258 |
</key> |
| 256 |
<keyBinding |
259 |
<key |
| 257 |
string="Ctrl+Shift+/" |
260 |
sequence="Ctrl+Shift+/" |
| 258 |
scope="org.eclipse.wst.sse.ui.structuredTextEditorScope" |
261 |
contextId="org.eclipse.wst.sse.ui.structuredTextEditorScope" |
| 259 |
command="org.eclipse.wst.sse.ui.add.block.comment" |
262 |
commandId="org.eclipse.wst.sse.ui.add.block.comment" |
| 260 |
configuration="org.eclipse.ui.defaultAcceleratorConfiguration"> |
263 |
schemeId="org.eclipse.ui.defaultAcceleratorConfiguration"> |
| 261 |
</keyBinding> |
264 |
</key> |
| 262 |
<keyBinding |
265 |
<key |
| 263 |
string="Ctrl+Shift+\" |
266 |
sequence="Ctrl+Shift+\" |
| 264 |
scope="org.eclipse.wst.sse.ui.structuredTextEditorScope" |
267 |
contextId="org.eclipse.wst.sse.ui.structuredTextEditorScope" |
| 265 |
command="org.eclipse.wst.sse.ui.remove.block.comment" |
268 |
commandId="org.eclipse.wst.sse.ui.remove.block.comment" |
| 266 |
configuration="org.eclipse.ui.defaultAcceleratorConfiguration"> |
269 |
schemeId="org.eclipse.ui.defaultAcceleratorConfiguration"> |
| 267 |
</keyBinding> |
270 |
</key> |
| 268 |
<keyBinding |
271 |
<key |
| 269 |
string="Ctrl+Shift+F" |
272 |
sequence="Ctrl+Shift+F" |
| 270 |
scope="org.eclipse.wst.sse.ui.structuredTextEditorScope" |
273 |
contextId="org.eclipse.wst.sse.ui.structuredTextEditorScope" |
| 271 |
command="org.eclipse.wst.sse.ui.format.document" |
274 |
commandId="org.eclipse.wst.sse.ui.format.document" |
| 272 |
configuration="org.eclipse.ui.defaultAcceleratorConfiguration"> |
275 |
schemeId="org.eclipse.ui.defaultAcceleratorConfiguration"> |
| 273 |
</keyBinding> |
276 |
</key> |
| 274 |
<keyBinding |
277 |
<key |
| 275 |
string="Ctrl+I" |
278 |
sequence="Ctrl+I" |
| 276 |
scope="org.eclipse.wst.sse.ui.structuredTextEditorScope" |
279 |
contextId="org.eclipse.wst.sse.ui.structuredTextEditorScope" |
| 277 |
command="org.eclipse.wst.sse.ui.format.active.elements" |
280 |
commandId="org.eclipse.wst.sse.ui.format.active.elements" |
| 278 |
configuration="org.eclipse.ui.defaultAcceleratorConfiguration"> |
281 |
schemeId="org.eclipse.ui.defaultAcceleratorConfiguration"> |
| 279 |
</keyBinding> |
282 |
</key> |
| 280 |
<!-- Navigate commands --> |
283 |
<!-- Navigate commands --> |
| 281 |
<keyBinding |
284 |
<key |
| 282 |
string="F3" |
285 |
sequence="F3" |
| 283 |
scope="org.eclipse.wst.sse.ui.structuredTextEditorScope" |
286 |
contextId="org.eclipse.wst.sse.ui.structuredTextEditorScope" |
| 284 |
command="org.eclipse.wst.sse.ui.open.file.from.source" |
287 |
commandId="org.eclipse.wst.sse.ui.open.file.from.source" |
| 285 |
configuration="org.eclipse.ui.defaultAcceleratorConfiguration"> |
288 |
schemeId="org.eclipse.ui.defaultAcceleratorConfiguration"> |
| 286 |
</keyBinding> |
289 |
</key> |
| 287 |
<!-- Find Occurrences --> |
290 |
<!-- Find Occurrences --> |
| 288 |
<keyBinding |
291 |
<key |
| 289 |
string="Ctrl+Shift+A" |
292 |
sequence="Ctrl+Shift+A" |
| 290 |
scope="org.eclipse.wst.sse.ui.structuredTextEditorScope" |
293 |
contextId="org.eclipse.wst.sse.ui.structuredTextEditorScope" |
| 291 |
command="org.eclipse.wst.sse.ui.search.find.occurrences" |
294 |
commandId="org.eclipse.wst.sse.ui.search.find.occurrences" |
| 292 |
configuration="org.eclipse.ui.defaultAcceleratorConfiguration"> |
295 |
schemeId="org.eclipse.ui.defaultAcceleratorConfiguration"> |
| 293 |
</keyBinding> |
296 |
</key> |
| 294 |
</extension> |
297 |
</extension> |
| 295 |
<!-- Font and colors contributions --> |
298 |
<!-- Font and colors contributions --> |
| 296 |
<extension point="org.eclipse.ui.themes"> |
299 |
<extension point="org.eclipse.ui.themes"> |