a lot of new exception handled
[phpeclipse.git] / net.sourceforge.phpeclipse / plugin.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <plugin
3    id="net.sourceforge.phpeclipse"
4    name="%pluginName"
5    version="1.0.6"
6    provider-name="%providerName"
7    class="net.sourceforge.phpeclipse.PHPeclipsePlugin">
8
9    <runtime>
10       <library name="phpeclipse.jar">
11          <export name="*"/>
12       </library>
13    </runtime>
14    <requires>
15       <import plugin="org.eclipse.core.resources"/>
16       <import plugin="org.eclipse.ui"/>
17       <import plugin="org.eclipse.help"/>
18       <import plugin="org.eclipse.swt"/>
19       <import plugin="org.eclipse.debug.ui"/>
20       <import plugin="org.apache.xerces"/>
21       <import plugin="org.junit"/>
22       <import plugin="org.eclipse.update.ui"/>
23    </requires>
24
25
26    <extension
27          id="phpnature"
28          name="%naturePHP.name"
29          point="org.eclipse.core.resources.natures">
30       <runtime>
31          <run
32                class="net.sourceforge.phpeclipse.resourcesview.PHPProject">
33          </run>
34       </runtime>
35    </extension>
36    <extension
37          point="org.eclipse.team.core.fileTypes">
38       <fileTypes
39             type="text"
40             extension="php">
41       </fileTypes>
42       <fileTypes
43             type="text"
44             extension="php3">
45       </fileTypes>
46       <fileTypes
47             type="text"
48             extension="php4">
49       </fileTypes>
50       <fileTypes
51             type="text"
52             extension="inc">
53       </fileTypes>
54       <fileTypes
55             type="text"
56             extension="phtml">
57       </fileTypes>
58       <fileTypes
59             type="text"
60             extension="html">
61       </fileTypes>
62       <fileTypes
63             type="text"
64             extension="htm">
65       </fileTypes>
66       <fileTypes
67             type="text"
68             extension="xml">
69       </fileTypes>
70    </extension>
71    <extension
72          point="org.eclipse.ui.perspectives">
73       <perspective
74             name="%perspectivePHP.name"
75             icon="icons/obj16/php.gif"
76             class="net.sourceforge.phpeclipse.PHPPerspectiveFactory"
77             id="net.sourceforge.phpeclipse.PHPPerspective">
78       </perspective>
79    </extension>
80    <extension
81          point="org.eclipse.ui.newWizards">
82       <category
83             name="%newWizardCategory.name"
84             id="net.sourceforge.phpeclipse.wizards.NewWizardCategoryPHP">
85       </category>
86 <!--    
87 Temporarily replaced until errors can be ironed out...
88   <wizard
89             name="%newWizardPHPProject.name"
90             icon="icons/obj16/php.gif"
91             category="net.sourceforge.phpeclipse.wizards.NewWizardCategoryPHP"
92             class="net.sourceforge.phpeclipse.wizards.NewProjectCreationWizard"
93             project="true"
94             id="net.sourceforge.phpeclipse.wizards.NewWizardProjectCreation">
95          <description>
96             Create a new PHP project.
97          </description>
98       </wizard>
99 <this wizard replaces it as it works - maybe not as pretty but still>
100 -->
101       <wizard
102             name="%newWizardPHPProject.name"
103             icon="icons/obj16/php.gif"
104             category="net.sourceforge.phpeclipse.wizards.NewWizardCategoryPHP"
105             class="net.sourceforge.phpeclipse.wizards.TempnewPHPProject"
106             project="true"
107             id="net.sourceforge.phpeclipse.wizards.NewWizardProjectCreation">
108          <description>
109             Create a new PHP project.
110          </description>
111       </wizard>
112       <wizard
113             name="%newWizardPHPFile.name"
114             icon="icons/obj16/phpedit.gif"
115             category="net.sourceforge.phpeclipse.wizards.NewWizardCategoryPHP"
116             class="net.sourceforge.phpeclipse.wizards.PHPFileWizard"
117             id="net.sourceforge.phpeclipse.wizards.PHPFileWizard">
118          <description>
119             Create a basic PHP file.
120          </description>
121       </wizard>
122 <!-- choochter's stuff -->
123       <wizard
124             name="Xaraya Module"
125             icon="icons/obj16/php.gif"
126             category="net.sourceforge.phpeclipse.wizards.NewWizardCategoryPHP"
127             class=" com.xaraya.wizard.NewXarayaResourceWizard"
128             project="true"
129             id="net.sourceforge.phpeclipse.wizards.NewXarayaModuleWizard">
130          <description>
131             Create a Xaraya module.
132          </description>
133       </wizard>
134    </extension>
135    <extension
136          point="org.eclipse.ui.projectNatureImages">
137       <image
138             icon="icons/obj16/php.gif"
139             natureId="net.sourceforge.phpeclipse.phpnature"
140             id="net.sourceforge.phpeclipse.ProjectNatureImagePHP">
141       </image>
142    </extension>
143    <extension
144          point="org.eclipse.ui.propertyPages">
145       <page
146             objectClass="org.eclipse.core.resources.IProject"
147             name="%propertyPagePHPProject.name"
148             class="net.sourceforge.phpeclipse.preferences.PHPProjectPropertyPage"
149             id="net.sourceforge.phpeclipse.preferences.PropertyPagePHPProject">
150          <filter
151                name="nature"
152                value="net.sourceforge.phpeclipse.phpnature">
153          </filter>
154       </page>
155       <page
156             objectClass="net.sourceforge.phpeclipse.PHPProject"
157             name="%propertyPagePHPProject.name"
158             class="net.sourceforge.phpeclipse.preferences.PHPProjectPropertyPage"
159             id="net.sourceforge.phpeclipse.preferences.PropertyPagePHPProject">
160          <filter
161                name="nature"
162                value="net.sourceforge.phpeclipse.phpnature">
163          </filter>
164       </page>
165    </extension>
166 <!--   <extension
167          point="org.eclipse.ui.views">
168       <view
169             name="%viewPHPResources.name"
170             icon="icons/obj16/php.gif"
171             class="net.sourceforge.phpeclipse.resourcesview.PHPResourcesView"
172             id="net.sourceforge.phpeclipse.resourcesview.ViewPHPResources">
173       </view>
174    </extension> -->
175    <extension
176          point="org.eclipse.ui.actionSets">
177       <actionSet
178             label="PHP/Apache"
179             description="Starting MySQL and Apache."
180             visible="true"
181             id="net.sourceforge.phpeclipse.PHPActionSet">
182          <menu
183                label="PHP/Apache"
184                id="net.sourceforge.phpeclipse.PHPMenu">
185             <separator
186                   name="phpeclipse">
187             </separator>
188          </menu>
189          <action
190                label="Restart Apache"
191                icon="icons/obj16/apache_restart.gif"
192                tooltip="Restart Apache"
193                class="net.sourceforge.phpeclipse.actions.PHPRestartApacheAction"
194                menubarPath="net.sourceforge.phpeclipse.PHPMenu/phpeclipse"
195                toolbarPath="Normal"
196                start="true"
197                id="net.sourceforge.phpeclipse.actions.PHPRestartApacheAction">
198          </action>
199          <action
200                label="Stop Apache"
201                icon="icons/obj16/apache_stop.gif"
202                tooltip="Stop Apache"
203                class="net.sourceforge.phpeclipse.actions.PHPStopApacheAction"
204                menubarPath="net.sourceforge.phpeclipse.PHPMenu/phpeclipse"
205                toolbarPath="Normal"
206                start="true"
207                id="net.sourceforge.phpeclipse.actions.PHPStopApacheAction">
208          </action>
209          <action
210                label="Start Apache"
211                icon="icons/obj16/apache.gif"
212                tooltip="Start Apache"
213                class="net.sourceforge.phpeclipse.actions.PHPStartApacheAction"
214                menubarPath="net.sourceforge.phpeclipse.PHPMenu/phpeclipse"
215                toolbarPath="Normal"
216                start="true"
217                id="net.sourceforge.phpeclipse.actions.PHPStartApacheAction">
218          </action>
219          <action
220                label="Start MySQL"
221                icon="icons/obj16/sql.gif"
222                tooltip="Start MySQL"
223                class="net.sourceforge.phpeclipse.actions.PHPStartMySQLAction"
224                menubarPath="net.sourceforge.phpeclipse.PHPMenu/phpeclipse"
225                toolbarPath="Normal"
226                start="true"
227                id="net.sourceforge.phpeclipse.actions.PHPStartMySQLAction">
228          </action>
229       </actionSet>
230       <actionSet
231             label="%CodingActionSet.label"
232             description="%CodingActionSet.description"
233             visible="false"
234             id="net.sourceforge.phpeclipse.ui.CodingActionSet">
235 <!-- =========================================================================== -->
236 <!-- Source Menu                                                                 -->
237 <!-- =========================================================================== -->
238          <menu
239                label="%SourceMenu.label"
240                path="edit"
241                id="net.sourceforge.phpeclipse.ui.source.menu">
242             <separator
243                   name="editGroup">
244             </separator>
245          </menu>
246          <action 
247                         definitionId="net.sourceforge.phpeclipse.phpeditor.format"
248                         label="%FormatAction.label"
249                         retarget="true"
250                         menubarPath="net.sourceforge.phpeclipse.ui.source.menu/editGroup"
251                         id="net.sourceforge.phpeclipse.phpeditor.Format" >
252              </action>
253          <action
254                definitionId="net.sourceforge.phpeclipse.phpeditor.uncomment"
255                label="%UncommentAction.label"
256                retarget="true"
257                menubarPath="net.sourceforge.phpeclipse.ui.source.menu/editGroup"
258                id="net.sourceforge.phpeclipse.phpeditor.Uncomment">
259          </action>
260          <action
261                definitionId="net.sourceforge.phpeclipse.phpeditor.comment"
262                label="%CommentAction.label"
263                retarget="true"
264                menubarPath="net.sourceforge.phpeclipse.ui.source.menu/editGroup"
265                id="net.sourceforge.phpeclipse.phpeditor.Comment">
266          </action>
267       </actionSet>
268    </extension>
269 <!-- =========================================================================== -->
270 <!-- PHP Editor Action Definition IDs -->
271 <!-- =========================================================================== -->
272    <extension
273          point="org.eclipse.ui.actionDefinitions">
274 <!-- edit -->
275       <actionDefinition
276             name="%ActionDefinition.contentAssistProposals.name"
277             description="%ActionDefinition.contentAssistProposals.description"
278             id="net.sourceforge.phpeclipse.phpeditor.ContentAssistProposal">
279       </actionDefinition>
280 <!-- source -->
281       <actionDefinition
282             name="%ActionDefinition.comment.name"
283             description="%ActionDefinition.comment.description"
284             id="net.sourceforge.phpeclipse.phpeditor.Comment">
285       </actionDefinition>
286       <actionDefinition
287             name="%ActionDefinition.uncomment.name"
288             description="%ActionDefinition.uncomment.description"
289             id="net.sourceforge.phpeclipse.phpeditor.Uncomment">
290       </actionDefinition>
291         <actionDefinition
292             name= "%ActionDefinition.format.name"
293             description= "%ActionDefinition.format.description"
294                 id="net.sourceforge.phpeclipse.phpeditor.Format">
295           </actionDefinition>
296    </extension>
297 <!--   <extension
298          point="org.eclipse.ui.acceleratorSets">
299       <acceleratorSet
300             scopeId="org.eclipse.ui.textEditorScope"
301             configurationId="org.eclipse.ui.defaultAcceleratorConfiguration">
302          <accelerator
303                key="Ctrl+/"
304                id="net.sourceforge.phpdt.ui.actions.comment">
305          </accelerator>
306          <accelerator
307                key="Ctrl+\\"
308                id="net.sourceforge.phpdt.ui.actions.uncomment">
309          </accelerator>
310       </acceleratorSet>
311    </extension> -->
312    <extension
313          point="org.eclipse.ui.editors">
314       <editor
315             name="%phpEditorName"
316             icon="icons/obj16/phpedit.gif"
317             extensions="php"
318             contributorClass="net.sourceforge.phpeclipse.phpeditor.PHPActionContributor"
319             class="net.sourceforge.phpeclipse.phpeditor.PHPEditor"
320             id="net.sourceforge.phpeclipse.PHPEditor">
321       </editor>
322       <editor
323             name="%phpEditorName"
324             icon="icons/obj16/phpedit.gif"
325             extensions="php3"
326             contributorClass="net.sourceforge.phpeclipse.phpeditor.PHPActionContributor"
327             class="net.sourceforge.phpeclipse.phpeditor.PHPEditor"
328             id="net.sourceforge.phpeclipse.PHPEditor">
329       </editor>
330       <editor
331             name="%phpEditorName"
332             icon="icons/obj16/phpedit.gif"
333             extensions="php4"
334             contributorClass="net.sourceforge.phpeclipse.phpeditor.PHPActionContributor"
335             class="net.sourceforge.phpeclipse.phpeditor.PHPEditor"
336             id="net.sourceforge.phpeclipse.PHPEditor">
337       </editor>
338       <editor
339             name="%phpEditorName"
340             icon="icons/obj16/phpedit.gif"
341             extensions="inc"
342             contributorClass="net.sourceforge.phpeclipse.phpeditor.PHPActionContributor"
343             class="net.sourceforge.phpeclipse.phpeditor.PHPEditor"
344             id="net.sourceforge.phpeclipse.PHPEditor">
345       </editor>
346       <editor
347             name="%phpEditorName"
348             icon="icons/obj16/phpedit.gif"
349             extensions="phtml"
350             contributorClass="net.sourceforge.phpeclipse.phpeditor.PHPActionContributor"
351             class="net.sourceforge.phpeclipse.phpeditor.PHPEditor"
352             id="net.sourceforge.phpeclipse.PHPEditor">
353       </editor>
354       <editor
355             name="%phpEditorName"
356             icon="icons/obj16/htmledit.gif"
357             extensions="htm"
358             contributorClass="net.sourceforge.phpeclipse.phpeditor.PHPActionContributor"
359             class="net.sourceforge.phpeclipse.phpeditor.PHPEditor"
360             id="net.sourceforge.phpeclipse.PHPEditor">
361       </editor>
362       <editor
363             name="%phpEditorName"
364             icon="icons/obj16/htmledit.gif"
365             extensions="html"
366             contributorClass="net.sourceforge.phpeclipse.phpeditor.PHPActionContributor"
367             class="net.sourceforge.phpeclipse.phpeditor.PHPEditor"
368             id="net.sourceforge.phpeclipse.PHPEditor">
369       </editor>
370       <editor
371             name="%phpEditorName"
372             icon="icons/obj16/xmledit.gif"
373             extensions="xml"
374             contributorClass="net.sourceforge.phpeclipse.phpeditor.PHPActionContributor"
375             class="net.sourceforge.phpeclipse.phpeditor.PHPEditor"
376             id="net.sourceforge.phpeclipse.PHPEditor">
377       </editor>
378    </extension>
379    <extension
380          point="org.eclipse.ui.popupMenus">
381       <objectContribution
382             objectClass="org.eclipse.core.resources.IFile"
383             nameFilter="*.php"
384             id="net.sourceforge.phpeclipse.actions.externalParserAction">
385          <action
386                label="Run External PHP Parser"
387                class="net.sourceforge.phpeclipse.actions.PHPExternalParserAction"
388                menubarPath="additions"
389                id="net.sourceforge.phpeclipse.actions.externalParserAction">
390          </action>
391       </objectContribution>
392       <objectContribution
393             objectClass="org.eclipse.core.resources.IFile"
394             nameFilter="*.php3"
395             id="net.sourceforge.phpeclipse.actions.externalParserAction">
396          <action
397                label="Run External PHP Parser"
398                class="net.sourceforge.phpeclipse.actions.PHPExternalParserAction"
399                menubarPath="additions"
400                id="net.sourceforge.phpeclipse.actions.externalParserAction">
401          </action>
402       </objectContribution>
403       <objectContribution
404             objectClass="org.eclipse.core.resources.IFile"
405             nameFilter="*.php4"
406             id="net.sourceforge.phpeclipse.actions.externalParserAction">
407          <action
408                label="Run External PHP Parser"
409                class="net.sourceforge.phpeclipse.actions.PHPExternalParserAction"
410                menubarPath="additions"
411                id="net.sourceforge.phpeclipse.actions.externalParserAction">
412          </action>
413       </objectContribution>
414       <objectContribution
415             objectClass="org.eclipse.core.resources.IFile"
416             nameFilter="*.inc"
417             id="net.sourceforge.phpeclipse.actions.externalParserAction">
418          <action
419                label="Run External PHP Parser"
420                class="net.sourceforge.phpeclipse.actions.PHPExternalParserAction"
421                menubarPath="additions"
422                id="net.sourceforge.phpeclipse.actions.externalParserAction">
423          </action>
424       </objectContribution>
425       <objectContribution
426             objectClass="org.eclipse.core.resources.IFile"
427             nameFilter="*.phtml"
428             id="net.sourceforge.phpeclipse.actions.externalParserAction">
429          <action
430                label="Run External PHP Parser"
431                class="net.sourceforge.phpeclipse.actions.PHPExternalParserAction"
432                menubarPath="additions"
433                id="net.sourceforge.phpeclipse.actions.externalParserAction">
434          </action>
435       </objectContribution>
436       <objectContribution
437             objectClass="org.eclipse.core.resources.IFile"
438             nameFilter="*.php"
439             id="net.sourceforge.phpeclipse.actions.popupShowAction">
440          <action
441                label="Open PHP Browser"
442                class="net.sourceforge.phpeclipse.actions.PHPEclipseShowAction"
443                menubarPath="additions"
444                id="net.sourceforge.phpeclipse.actions.showAction">
445          </action>
446       </objectContribution>
447       <objectContribution
448             objectClass="org.eclipse.core.resources.IFile"
449             nameFilter="*.php3"
450             id="net.sourceforge.phpeclipse.actions.popupShowAction">
451          <action
452                label="Open PHP Browser"
453                class="net.sourceforge.phpeclipse.actions.PHPEclipseShowAction"
454                menubarPath="additions"
455                id="net.sourceforge.phpeclipse.actions.showAction">
456          </action>
457       </objectContribution>
458       <objectContribution
459             objectClass="org.eclipse.core.resources.IFile"
460             nameFilter="*.php4"
461             id="net.sourceforge.phpeclipse.actions.popupShowAction">
462          <action
463                label="Open PHP Browser"
464                class="net.sourceforge.phpeclipse.actions.PHPEclipseShowAction"
465                menubarPath="additions"
466                id="net.sourceforge.phpeclipse.actions.showAction">
467          </action>
468       </objectContribution>
469       <objectContribution
470             objectClass="org.eclipse.core.resources.IFile"
471             nameFilter="*.inc"
472             id="net.sourceforge.phpeclipse.actions.popupShowAction">
473          <action
474                label="Open PHP Browser"
475                class="net.sourceforge.phpeclipse.actions.PHPEclipseShowAction"
476                menubarPath="additions"
477                id="net.sourceforge.phpeclipse.actions.showAction">
478          </action>
479       </objectContribution>
480       <objectContribution
481             objectClass="org.eclipse.core.resources.IFile"
482             nameFilter="*.phtml"
483             id="net.sourceforge.phpeclipse.actions.popupShowAction">
484          <action
485                label="Open PHP Browser"
486                class="net.sourceforge.phpeclipse.actions.PHPEclipseShowAction"
487                menubarPath="additions"
488                id="net.sourceforge.phpeclipse.actions.showAction">
489          </action>
490       </objectContribution>
491       <viewerContribution
492             targetID="#PHPRulerContext"
493             id="net.sourceforge.phpdt.ui.PHPEditorPopupActions">
494          <action
495                label="%AddTask.label"
496                helpContextId="org.eclipse.ui.AddTask_action_context"
497                tooltip="%AddTask.tooltip"
498                class="org.eclipse.ui.texteditor.TaskRulerAction"
499                menubarPath="add"
500                id="org.eclipse.ui.texteditor.TaskRulerAction">
501          </action>
502          <action
503                label="%AddBookmark.label"
504                helpContextId="org.eclipse.ui.bookmark_action_context"
505                tooltip="%AddBookmark.tooltip"
506                class="org.eclipse.ui.texteditor.BookmarkRulerAction"
507                menubarPath="add"
508                id="org.eclipse.ui.texteditor.BookmarkRulerAction">
509          </action>
510       </viewerContribution>
511    </extension>
512    <extension
513          point="org.eclipse.ui.editorActions">
514       <editorContribution
515             targetID="net.sourceforge.phpeclipse.PHPEditor"
516             id="org.eclipse.ui.texteditor.ruler.actions">
517          <action
518                label="%Dummy.label"
519                helpContextId="org.eclipse.ui.bookmark_action_context"
520                class="org.eclipse.ui.texteditor.BookmarkRulerAction"
521                actionID="RulerDoubleClick"
522                id="org.eclipse.ui.texteditor.BookmarkRulerAction">
523          </action>
524       </editorContribution>
525    </extension>
526    <extension
527          point="org.eclipse.ui.preferencePages">
528       <page
529             name="PHP"
530             class="net.sourceforge.phpeclipse.PHPEclipseBasePreferencePage"
531             id="net.sourceforge.phpeclipse.preference.PHPEclipsePreferencePage">
532       </page>
533       <page
534             name="Editor"
535             category="net.sourceforge.phpeclipse.preference.PHPEclipsePreferencePage"
536             class="net.sourceforge.phpeclipse.PHPSyntaxEditorPreferencePage"
537             id="net.sourceforge.phpeclipse.preference.PHPSyntaxEditorPreferencePage">
538       </page>
539       <page
540             name="Outline"
541             category="net.sourceforge.phpeclipse.preference.PHPEclipsePreferencePage"
542             class="net.sourceforge.phpeclipse.PHPOutlinePreferencePage"
543             id="net.sourceforge.phpeclipse.preference.PHPOutlinePreferencePage">
544       </page>
545       <page
546             name="Templates"
547             category="net.sourceforge.phpeclipse.preference.PHPEclipsePreferencePage"
548             class="net.sourceforge.phpdt.internal.ui.preferences.TemplatePreferencePage"
549             id="net.sourceforge.phpeclipse.preference.TemplatePreferencePage">
550       </page>
551       <page 
552         name="Formatter"
553                 id="net.sourceforge.phpeclipse.preference.CodeFormatterPreferencePage"
554                 class="net.sourceforge.phpdt.internal.ui.preferences.CodeFormatterPreferencePage"
555                 category="net.sourceforge.phpeclipse.preference.PHPEclipsePreferencePage">
556           </page>
557       <page
558             name="Language Settings"
559             category="net.sourceforge.phpeclipse.preference.PHPEclipsePreferencePage"
560             class="net.sourceforge.phpeclipse.PHPLanguagePreferencePage"
561             id="net.sourceforge.phpeclipse.preference.PHPLanguagePreferencePage">
562       </page>
563    </extension>
564    <extension
565          point="org.eclipse.ui.documentProviders">
566       <provider
567             extensions="%phpFileExtension"
568             class="net.sourceforge.phpeclipse.phpeditor.PHPDocumentProvider"
569             id="net.sourceforge.phpeclipse.phpeditor.PHPDocumentProvider">
570       </provider>
571    </extension>
572    <extension
573          point="org.eclipse.ui.documentProviders">
574       <provider
575             extensions="%php3FileExtension"
576             class="net.sourceforge.phpeclipse.phpeditor.PHPDocumentProvider"
577             id="net.sourceforge.phpeclipse.phpeditor.PHPDocumentProvider">
578       </provider>
579    </extension>
580    <extension
581          point="org.eclipse.ui.documentProviders">
582       <provider
583             extensions="%php4FileExtension"
584             class="net.sourceforge.phpeclipse.phpeditor.PHPDocumentProvider"
585             id="net.sourceforge.phpeclipse.phpeditor.PHPDocumentProvider">
586       </provider>
587    </extension>
588    <extension
589          point="org.eclipse.ui.documentProviders">
590       <provider
591             extensions="%incFileExtension"
592             class="net.sourceforge.phpeclipse.phpeditor.PHPDocumentProvider"
593             id="net.sourceforge.phpeclipse.phpeditor.PHPDocumentProvider">
594       </provider>
595    </extension>
596    <extension
597          point="org.eclipse.ui.documentProviders">
598       <provider
599             extensions="%phtmlFileExtension"
600             class="net.sourceforge.phpeclipse.phpeditor.PHPDocumentProvider"
601             id="net.sourceforge.phpeclipse.phpeditor.PHPDocumentProvider">
602       </provider>
603    </extension>
604    <extension
605          point="org.eclipse.ui.documentProviders">
606       <provider
607             extensions="%htmlFileExtension"
608             class="net.sourceforge.phpeclipse.phpeditor.PHPDocumentProvider"
609             id="net.sourceforge.phpeclipse.phpeditor.PHPDocumentProvider">
610       </provider>
611    </extension>
612    <extension
613          point="org.eclipse.ui.documentProviders">
614       <provider
615             extensions="%htmFileExtension"
616             class="net.sourceforge.phpeclipse.phpeditor.PHPDocumentProvider"
617             id="net.sourceforge.phpeclipse.phpeditor.PHPDocumentProvider">
618       </provider>
619    </extension>
620    <extension
621          point="org.eclipse.ui.documentProviders">
622       <provider
623             extensions="%xmlFileExtension"
624             class="net.sourceforge.phpeclipse.phpeditor.PHPDocumentProvider"
625             id="net.sourceforge.phpeclipse.phpeditor.PHPDocumentProvider">
626       </provider>
627    </extension>
628    <extension
629          point="org.eclipse.ui.views">
630       <view
631             name="%phpConsoleView"
632             icon="icons/obj16/php.gif"
633             class="net.sourceforge.phpeclipse.views.PHPConsole"
634             id="net.sourceforge.phpeclipse.views.phpconsoleview">
635       </view>
636    </extension>
637 <!-- =========================================================================== -->
638 <!-- Java Editor Key Bindings -->
639 <!-- =========================================================================== -->
640    <extension
641          point="org.eclipse.ui.acceleratorSets">
642       <acceleratorSet
643             scopeId="org.eclipse.ui.textEditorScope"
644             configurationId="org.eclipse.ui.emacsAcceleratorConfiguration">
645 <!-- edit -->
646          <accelerator
647                key="Ctrl+1"
648                id="net.sourceforge.phpeclipse.ui.edit.text.php.content.assist.proposals">
649          </accelerator>
650 <!-- source -->
651          <accelerator
652                key="Ctrl+/"
653                id="net.sourceforge.phpeclipse.phpeditor.comment">
654          </accelerator>
655          <accelerator
656                key="Ctrl+\"
657                id="net.sourceforge.phpeclipse.phpeditor.uncomment">
658          </accelerator>
659          <accelerator 
660                key="Ctrl+Shift+F" 
661                id="net.sourceforge.phpeclipse.phpeditor.format">
662          </accelerator>
663       </acceleratorSet>
664       <acceleratorSet
665             scopeId="org.eclipse.ui.textEditorScope"
666             configurationId="org.eclipse.ui.defaultAcceleratorConfiguration">
667 <!-- edit -->
668          <accelerator
669                key="Ctrl+Space"
670                id="net.sourceforge.phpeclipse.ui.edit.text.php.content.assist.proposals">
671          </accelerator>
672 <!-- source -->
673          <accelerator
674                key="Ctrl+/"
675                id="net.sourceforge.phpeclipse.phpeditor.comment">
676          </accelerator>
677          <accelerator
678                key="Ctrl+\"
679                id="net.sourceforge.phpeclipse.phpeditor.uncomment">
680          </accelerator>
681          <accelerator 
682                key="Ctrl+Shift+F" 
683                id="net.sourceforge.phpeclipse.phpeditor.format">
684          </accelerator>
685       </acceleratorSet>
686       <acceleratorSet
687             scopeId="org.eclipse.ui.textEditorScope"
688             configurationId="org.eclipse.ui.defaultAcceleratorConfiguration">
689 <!-- edit -->
690          <accelerator
691                platform="carbon"
692                key="Command+1"
693                id="net.sourceforge.phpeclipse.ui.edit.text.php.content.assist.proposals">
694          </accelerator>
695 <!-- source -->
696          <accelerator
697                platform="carbon"
698                key="Command+/"
699                id="net.sourceforge.phpeclipse.phpeditor.comment">
700          </accelerator>
701          <accelerator
702                platform="carbon"
703                key="Command+\"
704                id="net.sourceforge.phpeclipse.phpeditor.uncomment">
705          </accelerator>
706       </acceleratorSet>
707    </extension>
708
709 </plugin>