89e85680583b1e3f216314e0bdee67df4914e660
[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 name="editGroup"/>
243          </menu>        
244         
245          <action 
246                         definitionId="net.sourceforge.phpeclipse.phpeditor.format"
247                         label="%FormatAction.label"
248                         retarget="true"
249                         menubarPath="net.sourceforge.phpeclipse.ui.source.menu/editGroup"
250                         id="net.sourceforge.phpeclipse.phpeditor.Format" >
251              </action>
252          <action
253                definitionId="net.sourceforge.phpeclipse.phpeditor.uncomment"
254                label="%UncommentAction.label"
255                retarget="true"
256                menubarPath="net.sourceforge.phpeclipse.ui.source.menu/editGroup"
257                id="net.sourceforge.phpeclipse.phpeditor.Uncomment">
258          </action>
259          <action
260                definitionId="net.sourceforge.phpeclipse.phpeditor.comment"
261                label="%CommentAction.label"
262                retarget="true"
263                menubarPath="net.sourceforge.phpeclipse.ui.source.menu/editGroup"
264                id="net.sourceforge.phpeclipse.phpeditor.Comment">
265          </action>
266       </actionSet>
267    </extension>
268 <!-- =========================================================================== -->
269 <!-- PHP Editor Action Definition IDs -->
270 <!-- =========================================================================== -->
271    <extension
272          point="org.eclipse.ui.actionDefinitions">
273 <!-- edit -->
274       <actionDefinition
275             name="%ActionDefinition.contentAssistProposals.name"
276             description="%ActionDefinition.contentAssistProposals.description"
277             id="net.sourceforge.phpeclipse.phpeditor.ContentAssistProposal">
278       </actionDefinition>
279 <!-- source -->
280       <actionDefinition
281             name="%ActionDefinition.comment.name"
282             description="%ActionDefinition.comment.description"
283             id="net.sourceforge.phpeclipse.phpeditor.Comment">
284       </actionDefinition>
285       <actionDefinition
286             name="%ActionDefinition.uncomment.name"
287             description="%ActionDefinition.uncomment.description"
288             id="net.sourceforge.phpeclipse.phpeditor.Uncomment">
289       </actionDefinition>
290         <actionDefinition
291             name= "%ActionDefinition.format.name"
292             description= "%ActionDefinition.format.description"
293                 id="net.sourceforge.phpeclipse.phpeditor.Format">
294           </actionDefinition>
295    </extension>
296 <!--   <extension
297          point="org.eclipse.ui.acceleratorSets">
298       <acceleratorSet
299             scopeId="org.eclipse.ui.textEditorScope"
300             configurationId="org.eclipse.ui.defaultAcceleratorConfiguration">
301          <accelerator
302                key="Ctrl+/"
303                id="net.sourceforge.phpdt.ui.actions.comment">
304          </accelerator>
305          <accelerator
306                key="Ctrl+\\"
307                id="net.sourceforge.phpdt.ui.actions.uncomment">
308          </accelerator>
309       </acceleratorSet>
310    </extension> -->
311    <extension
312          point="org.eclipse.ui.editors">
313       <editor
314             name="%phpEditorName"
315             icon="icons/obj16/phpedit.gif"
316             extensions="php"
317             contributorClass="net.sourceforge.phpeclipse.phpeditor.PHPActionContributor"
318             class="net.sourceforge.phpeclipse.phpeditor.PHPUnitEditor"
319             id="net.sourceforge.phpeclipse.PHPEditor"
320             default="true">
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.PHPUnitEditor"
328             id="net.sourceforge.phpeclipse.PHPEditor"
329             default="true">
330       </editor>
331       <editor
332             name="%phpEditorName"
333             icon="icons/obj16/phpedit.gif"
334             extensions="php4"
335             contributorClass="net.sourceforge.phpeclipse.phpeditor.PHPActionContributor"
336             class="net.sourceforge.phpeclipse.phpeditor.PHPUnitEditor"
337             id="net.sourceforge.phpeclipse.PHPEditor"
338             default="true">
339       </editor>
340       <editor
341             name="%phpEditorName"
342             icon="icons/obj16/phpedit.gif"
343             extensions="inc"
344             contributorClass="net.sourceforge.phpeclipse.phpeditor.PHPActionContributor"
345             class="net.sourceforge.phpeclipse.phpeditor.PHPUnitEditor"
346             id="net.sourceforge.phpeclipse.PHPEditor"
347             default="true">
348       </editor>
349       <editor
350             name="%phpEditorName"
351             icon="icons/obj16/phpedit.gif"
352             extensions="phtml"
353             contributorClass="net.sourceforge.phpeclipse.phpeditor.PHPActionContributor"
354             class="net.sourceforge.phpeclipse.phpeditor.PHPUnitEditor"
355             id="net.sourceforge.phpeclipse.PHPEditor"
356             default="true">
357       </editor>
358       <editor
359             name="%phpEditorName"
360             icon="icons/obj16/htmledit.gif"
361             extensions="htm"
362             contributorClass="net.sourceforge.phpeclipse.phpeditor.PHPActionContributor"
363             class="net.sourceforge.phpeclipse.phpeditor.PHPUnitEditor"
364             id="net.sourceforge.phpeclipse.PHPEditor"
365             default="true">
366       </editor>
367       <editor
368             name="%phpEditorName"
369             icon="icons/obj16/htmledit.gif"
370             extensions="html"
371             contributorClass="net.sourceforge.phpeclipse.phpeditor.PHPActionContributor"
372             class="net.sourceforge.phpeclipse.phpeditor.PHPUnitEditor"
373             id="net.sourceforge.phpeclipse.PHPEditor"
374             default="true">
375       </editor>
376       <editor
377             name="%phpEditorName"
378             icon="icons/obj16/xmledit.gif"
379             extensions="xml"
380             contributorClass="net.sourceforge.phpeclipse.phpeditor.PHPActionContributor"
381             class="net.sourceforge.phpeclipse.phpeditor.PHPUnitEditor"
382             id="net.sourceforge.phpeclipse.PHPEditor"
383             default="true">
384       </editor>
385    </extension>
386    <extension
387          point="org.eclipse.ui.popupMenus">
388       <objectContribution
389             objectClass="org.eclipse.core.resources.IFile"
390             nameFilter="*.php"
391             id="net.sourceforge.phpeclipse.actions.externalParserAction">
392          <action
393                label="Run External PHP Parser"
394                class="net.sourceforge.phpeclipse.actions.PHPExternalParserAction"
395                menubarPath="additions"
396                id="net.sourceforge.phpeclipse.actions.externalParserAction">
397          </action>
398       </objectContribution>
399       <objectContribution
400             objectClass="org.eclipse.core.resources.IFile"
401             nameFilter="*.php3"
402             id="net.sourceforge.phpeclipse.actions.externalParserAction">
403          <action
404                label="Run External PHP Parser"
405                class="net.sourceforge.phpeclipse.actions.PHPExternalParserAction"
406                menubarPath="additions"
407                id="net.sourceforge.phpeclipse.actions.externalParserAction">
408          </action>
409       </objectContribution>
410       <objectContribution
411             objectClass="org.eclipse.core.resources.IFile"
412             nameFilter="*.php4"
413             id="net.sourceforge.phpeclipse.actions.externalParserAction">
414          <action
415                label="Run External PHP Parser"
416                class="net.sourceforge.phpeclipse.actions.PHPExternalParserAction"
417                menubarPath="additions"
418                id="net.sourceforge.phpeclipse.actions.externalParserAction">
419          </action>
420       </objectContribution>
421       <objectContribution
422             objectClass="org.eclipse.core.resources.IFile"
423             nameFilter="*.inc"
424             id="net.sourceforge.phpeclipse.actions.externalParserAction">
425          <action
426                label="Run External PHP Parser"
427                class="net.sourceforge.phpeclipse.actions.PHPExternalParserAction"
428                menubarPath="additions"
429                id="net.sourceforge.phpeclipse.actions.externalParserAction">
430          </action>
431       </objectContribution>
432       <objectContribution
433             objectClass="org.eclipse.core.resources.IFile"
434             nameFilter="*.phtml"
435             id="net.sourceforge.phpeclipse.actions.externalParserAction">
436          <action
437                label="Run External PHP Parser"
438                class="net.sourceforge.phpeclipse.actions.PHPExternalParserAction"
439                menubarPath="additions"
440                id="net.sourceforge.phpeclipse.actions.externalParserAction">
441          </action>
442       </objectContribution>
443       <objectContribution
444             objectClass="org.eclipse.core.resources.IFile"
445             nameFilter="*.php"
446             id="net.sourceforge.phpeclipse.actions.popupShowAction">
447          <action
448                label="Open PHP Browser"
449                class="net.sourceforge.phpeclipse.actions.PHPEclipseShowAction"
450                menubarPath="additions"
451                id="net.sourceforge.phpeclipse.actions.showAction">
452          </action>
453       </objectContribution>
454       <objectContribution
455             objectClass="org.eclipse.core.resources.IFile"
456             nameFilter="*.php3"
457             id="net.sourceforge.phpeclipse.actions.popupShowAction">
458          <action
459                label="Open PHP Browser"
460                class="net.sourceforge.phpeclipse.actions.PHPEclipseShowAction"
461                menubarPath="additions"
462                id="net.sourceforge.phpeclipse.actions.showAction">
463          </action>
464       </objectContribution>
465       <objectContribution
466             objectClass="org.eclipse.core.resources.IFile"
467             nameFilter="*.php4"
468             id="net.sourceforge.phpeclipse.actions.popupShowAction">
469          <action
470                label="Open PHP Browser"
471                class="net.sourceforge.phpeclipse.actions.PHPEclipseShowAction"
472                menubarPath="additions"
473                id="net.sourceforge.phpeclipse.actions.showAction">
474          </action>
475       </objectContribution>
476       <objectContribution
477             objectClass="org.eclipse.core.resources.IFile"
478             nameFilter="*.inc"
479             id="net.sourceforge.phpeclipse.actions.popupShowAction">
480          <action
481                label="Open PHP Browser"
482                class="net.sourceforge.phpeclipse.actions.PHPEclipseShowAction"
483                menubarPath="additions"
484                id="net.sourceforge.phpeclipse.actions.showAction">
485          </action>
486       </objectContribution>
487       <objectContribution
488             objectClass="org.eclipse.core.resources.IFile"
489             nameFilter="*.phtml"
490             id="net.sourceforge.phpeclipse.actions.popupShowAction">
491          <action
492                label="Open PHP Browser"
493                class="net.sourceforge.phpeclipse.actions.PHPEclipseShowAction"
494                menubarPath="additions"
495                id="net.sourceforge.phpeclipse.actions.showAction">
496          </action>
497       </objectContribution>
498       <viewerContribution
499             targetID="#PHPRulerContext"
500             id="net.sourceforge.phpdt.ui.PHPEditorPopupActions">
501          <action
502                label="%AddTask.label"
503                helpContextId="org.eclipse.ui.AddTask_action_context"
504                tooltip="%AddTask.tooltip"
505                class="org.eclipse.ui.texteditor.TaskRulerAction"
506                menubarPath="add"
507                id="org.eclipse.ui.texteditor.TaskRulerAction">
508          </action>
509          <action
510                label="%AddBookmark.label"
511                helpContextId="org.eclipse.ui.bookmark_action_context"
512                tooltip="%AddBookmark.tooltip"
513                class="org.eclipse.ui.texteditor.BookmarkRulerAction"
514                menubarPath="add"
515                id="org.eclipse.ui.texteditor.BookmarkRulerAction">
516          </action>
517       </viewerContribution>
518    </extension>
519    <extension
520          point="org.eclipse.ui.editorActions">
521       <editorContribution
522             targetID="net.sourceforge.phpeclipse.PHPEditor"
523             id="org.eclipse.ui.texteditor.ruler.actions">
524          <action
525                label="%Dummy.label"
526                helpContextId="org.eclipse.ui.bookmark_action_context"
527                class="org.eclipse.ui.texteditor.BookmarkRulerAction"
528                actionID="RulerDoubleClick"
529                id="org.eclipse.ui.texteditor.BookmarkRulerAction">
530          </action>
531       </editorContribution>
532    </extension>
533    <extension
534          point="org.eclipse.ui.preferencePages">
535       <page
536             name="PHP"
537             class="net.sourceforge.phpeclipse.PHPEclipseBasePreferencePage"
538             id="net.sourceforge.phpeclipse.preference.PHPEclipsePreferencePage">
539       </page>
540   <!--    <page
541             name="Editor2"
542             category="net.sourceforge.phpeclipse.preference.PHPEclipsePreferencePage"
543             class="net.sourceforge.phpeclipse.PHPSyntaxEditorPreferencePage"
544             id="net.sourceforge.phpeclipse.preference.PHPSyntaxEditorPreferencePage">
545       </page>  -->
546       <page
547             name="Outline"
548             category="net.sourceforge.phpeclipse.preference.PHPEclipsePreferencePage"
549             class="net.sourceforge.phpeclipse.PHPOutlinePreferencePage"
550             id="net.sourceforge.phpeclipse.preference.PHPOutlinePreferencePage">
551       </page>
552       <page
553             name="Templates"
554             category="net.sourceforge.phpeclipse.preference.PHPEclipsePreferencePage"
555             class="net.sourceforge.phpdt.internal.ui.preferences.TemplatePreferencePage"
556             id="net.sourceforge.phpeclipse.preference.TemplatePreferencePage">
557       </page>
558       <page 
559         name="Formatter"
560                 id="net.sourceforge.phpeclipse.preference.CodeFormatterPreferencePage"
561                 class="net.sourceforge.phpdt.internal.ui.preferences.CodeFormatterPreferencePage"
562                 category="net.sourceforge.phpeclipse.preference.PHPEclipsePreferencePage">
563           </page>
564           <page 
565         name="Editor"
566                 id="net.sourceforge.phpeclipse.preference.PHPEditorPreferencePage"
567                 class="net.sourceforge.phpdt.internal.ui.preferences.PHPEditorPreferencePage"
568                 category="net.sourceforge.phpeclipse.preference.PHPEclipsePreferencePage">
569           </page>
570       <page
571             name="Language Settings"
572             category="net.sourceforge.phpeclipse.preference.PHPEclipsePreferencePage"
573             class="net.sourceforge.phpeclipse.PHPLanguagePreferencePage"
574             id="net.sourceforge.phpeclipse.preference.PHPLanguagePreferencePage">
575       </page>
576    </extension>
577    <extension
578          point="org.eclipse.ui.documentProviders">
579       <provider
580             extensions="%phpFileExtension"
581             class="net.sourceforge.phpeclipse.phpeditor.PHPDocumentProvider"
582             id="net.sourceforge.phpeclipse.phpeditor.PHPDocumentProvider">
583       </provider>
584    </extension>
585    <extension
586          point="org.eclipse.ui.documentProviders">
587       <provider
588             extensions="%php3FileExtension"
589             class="net.sourceforge.phpeclipse.phpeditor.PHPDocumentProvider"
590             id="net.sourceforge.phpeclipse.phpeditor.PHPDocumentProvider">
591       </provider>
592    </extension>
593    <extension
594          point="org.eclipse.ui.documentProviders">
595       <provider
596             extensions="%php4FileExtension"
597             class="net.sourceforge.phpeclipse.phpeditor.PHPDocumentProvider"
598             id="net.sourceforge.phpeclipse.phpeditor.PHPDocumentProvider">
599       </provider>
600    </extension>
601    <extension
602          point="org.eclipse.ui.documentProviders">
603       <provider
604             extensions="%incFileExtension"
605             class="net.sourceforge.phpeclipse.phpeditor.PHPDocumentProvider"
606             id="net.sourceforge.phpeclipse.phpeditor.PHPDocumentProvider">
607       </provider>
608    </extension>
609    <extension
610          point="org.eclipse.ui.documentProviders">
611       <provider
612             extensions="%phtmlFileExtension"
613             class="net.sourceforge.phpeclipse.phpeditor.PHPDocumentProvider"
614             id="net.sourceforge.phpeclipse.phpeditor.PHPDocumentProvider">
615       </provider>
616    </extension>
617    <extension
618          point="org.eclipse.ui.documentProviders">
619       <provider
620             extensions="%htmlFileExtension"
621             class="net.sourceforge.phpeclipse.phpeditor.PHPDocumentProvider"
622             id="net.sourceforge.phpeclipse.phpeditor.PHPDocumentProvider">
623       </provider>
624    </extension>
625    <extension
626          point="org.eclipse.ui.documentProviders">
627       <provider
628             extensions="%htmFileExtension"
629             class="net.sourceforge.phpeclipse.phpeditor.PHPDocumentProvider"
630             id="net.sourceforge.phpeclipse.phpeditor.PHPDocumentProvider">
631       </provider>
632    </extension>
633    <extension
634          point="org.eclipse.ui.documentProviders">
635       <provider
636             extensions="%xmlFileExtension"
637             class="net.sourceforge.phpeclipse.phpeditor.PHPDocumentProvider"
638             id="net.sourceforge.phpeclipse.phpeditor.PHPDocumentProvider">
639       </provider>
640    </extension>
641    <extension
642          point="org.eclipse.ui.views">
643       <view
644             name="%phpConsoleView"
645             icon="icons/obj16/php.gif"
646             class="net.sourceforge.phpeclipse.views.PHPConsole"
647             id="net.sourceforge.phpeclipse.views.phpconsoleview">
648       </view>
649    </extension>
650 <!-- =========================================================================== -->
651 <!-- Java Editor Key Bindings -->
652 <!-- =========================================================================== -->
653    <extension
654          point="org.eclipse.ui.acceleratorSets">
655       <acceleratorSet
656             scopeId="org.eclipse.ui.textEditorScope"
657             configurationId="org.eclipse.ui.emacsAcceleratorConfiguration">
658 <!-- edit -->
659                  <accelerator key="Ctrl+Shift+P" id="net.sourceforge.phpeclipse.ui.edit.text.php.goto.matching.bracket" />
660
661          <accelerator
662                key="Ctrl+1"
663                id="net.sourceforge.phpeclipse.ui.edit.text.php.content.assist.proposals">
664          </accelerator>
665 <!-- source -->
666          <accelerator
667                key="Ctrl+/"
668                id="net.sourceforge.phpeclipse.phpeditor.comment">
669          </accelerator>
670          <accelerator
671                key="Ctrl+\"
672                id="net.sourceforge.phpeclipse.phpeditor.uncomment">
673          </accelerator>
674          <accelerator 
675                key="Ctrl+Shift+F" 
676                id="net.sourceforge.phpeclipse.phpeditor.format">
677          </accelerator>
678       </acceleratorSet>
679       <acceleratorSet
680             scopeId="org.eclipse.ui.textEditorScope"
681             configurationId="org.eclipse.ui.defaultAcceleratorConfiguration">
682 <!-- edit -->
683          <accelerator key="Ctrl+Shift+P" id="net.sourceforge.phpeclipse.ui.edit.text.php.goto.matching.bracket" />
684          <accelerator
685                key="Ctrl+Space"
686                id="net.sourceforge.phpeclipse.ui.edit.text.php.content.assist.proposals">
687          </accelerator>
688 <!-- source -->
689          <accelerator
690                key="Ctrl+/"
691                id="net.sourceforge.phpeclipse.phpeditor.comment">
692          </accelerator>
693          <accelerator
694                key="Ctrl+\"
695                id="net.sourceforge.phpeclipse.phpeditor.uncomment">
696          </accelerator>
697          <accelerator 
698                key="Ctrl+Shift+F" 
699                id="net.sourceforge.phpeclipse.phpeditor.format">
700          </accelerator>
701       </acceleratorSet>
702       <acceleratorSet
703             scopeId="org.eclipse.ui.textEditorScope"
704             configurationId="org.eclipse.ui.defaultAcceleratorConfiguration">
705 <!-- edit -->
706          <accelerator key="Command+Shift+P" id="net.sourceforge.phpeclipse.ui.edit.text.php.goto.matching.bracket" platform="carbon" /> 
707                 
708          <accelerator
709                platform="carbon"
710                key="Command+1"
711                id="net.sourceforge.phpeclipse.ui.edit.text.php.content.assist.proposals">
712          </accelerator>
713 <!-- source -->
714          <accelerator
715                platform="carbon"
716                key="Command+/"
717                id="net.sourceforge.phpeclipse.phpeditor.comment">
718          </accelerator>
719          <accelerator
720                platform="carbon"
721                key="Command+\"
722                id="net.sourceforge.phpeclipse.phpeditor.uncomment">
723          </accelerator>
724       </acceleratorSet>
725    </extension>
726
727 </plugin>