Codeformatter preferences should work now
[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.PHPEditor"
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.PHPEditor"
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.PHPEditor"
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.PHPEditor"
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.PHPEditor"
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.PHPEditor"
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.PHPEditor"
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.PHPEditor"
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="Editor"
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="Language Settings"
566             category="net.sourceforge.phpeclipse.preference.PHPEclipsePreferencePage"
567             class="net.sourceforge.phpeclipse.PHPLanguagePreferencePage"
568             id="net.sourceforge.phpeclipse.preference.PHPLanguagePreferencePage">
569       </page>
570    </extension>
571    <extension
572          point="org.eclipse.ui.documentProviders">
573       <provider
574             extensions="%phpFileExtension"
575             class="net.sourceforge.phpeclipse.phpeditor.PHPDocumentProvider"
576             id="net.sourceforge.phpeclipse.phpeditor.PHPDocumentProvider">
577       </provider>
578    </extension>
579    <extension
580          point="org.eclipse.ui.documentProviders">
581       <provider
582             extensions="%php3FileExtension"
583             class="net.sourceforge.phpeclipse.phpeditor.PHPDocumentProvider"
584             id="net.sourceforge.phpeclipse.phpeditor.PHPDocumentProvider">
585       </provider>
586    </extension>
587    <extension
588          point="org.eclipse.ui.documentProviders">
589       <provider
590             extensions="%php4FileExtension"
591             class="net.sourceforge.phpeclipse.phpeditor.PHPDocumentProvider"
592             id="net.sourceforge.phpeclipse.phpeditor.PHPDocumentProvider">
593       </provider>
594    </extension>
595    <extension
596          point="org.eclipse.ui.documentProviders">
597       <provider
598             extensions="%incFileExtension"
599             class="net.sourceforge.phpeclipse.phpeditor.PHPDocumentProvider"
600             id="net.sourceforge.phpeclipse.phpeditor.PHPDocumentProvider">
601       </provider>
602    </extension>
603    <extension
604          point="org.eclipse.ui.documentProviders">
605       <provider
606             extensions="%phtmlFileExtension"
607             class="net.sourceforge.phpeclipse.phpeditor.PHPDocumentProvider"
608             id="net.sourceforge.phpeclipse.phpeditor.PHPDocumentProvider">
609       </provider>
610    </extension>
611    <extension
612          point="org.eclipse.ui.documentProviders">
613       <provider
614             extensions="%htmlFileExtension"
615             class="net.sourceforge.phpeclipse.phpeditor.PHPDocumentProvider"
616             id="net.sourceforge.phpeclipse.phpeditor.PHPDocumentProvider">
617       </provider>
618    </extension>
619    <extension
620          point="org.eclipse.ui.documentProviders">
621       <provider
622             extensions="%htmFileExtension"
623             class="net.sourceforge.phpeclipse.phpeditor.PHPDocumentProvider"
624             id="net.sourceforge.phpeclipse.phpeditor.PHPDocumentProvider">
625       </provider>
626    </extension>
627    <extension
628          point="org.eclipse.ui.documentProviders">
629       <provider
630             extensions="%xmlFileExtension"
631             class="net.sourceforge.phpeclipse.phpeditor.PHPDocumentProvider"
632             id="net.sourceforge.phpeclipse.phpeditor.PHPDocumentProvider">
633       </provider>
634    </extension>
635    <extension
636          point="org.eclipse.ui.views">
637       <view
638             name="%phpConsoleView"
639             icon="icons/obj16/php.gif"
640             class="net.sourceforge.phpeclipse.views.PHPConsole"
641             id="net.sourceforge.phpeclipse.views.phpconsoleview">
642       </view>
643    </extension>
644 <!-- =========================================================================== -->
645 <!-- Java Editor Key Bindings -->
646 <!-- =========================================================================== -->
647    <extension
648          point="org.eclipse.ui.acceleratorSets">
649       <acceleratorSet
650             scopeId="org.eclipse.ui.textEditorScope"
651             configurationId="org.eclipse.ui.emacsAcceleratorConfiguration">
652 <!-- edit -->
653                  <accelerator key="Ctrl+Shift+P" id="net.sourceforge.phpeclipse.ui.edit.text.php.goto.matching.bracket" />
654
655          <accelerator
656                key="Ctrl+1"
657                id="net.sourceforge.phpeclipse.ui.edit.text.php.content.assist.proposals">
658          </accelerator>
659 <!-- source -->
660          <accelerator
661                key="Ctrl+/"
662                id="net.sourceforge.phpeclipse.phpeditor.comment">
663          </accelerator>
664          <accelerator
665                key="Ctrl+\"
666                id="net.sourceforge.phpeclipse.phpeditor.uncomment">
667          </accelerator>
668          <accelerator 
669                key="Ctrl+Shift+F" 
670                id="net.sourceforge.phpeclipse.phpeditor.format">
671          </accelerator>
672       </acceleratorSet>
673       <acceleratorSet
674             scopeId="org.eclipse.ui.textEditorScope"
675             configurationId="org.eclipse.ui.defaultAcceleratorConfiguration">
676 <!-- edit -->
677          <accelerator key="Ctrl+Shift+P" id="net.sourceforge.phpeclipse.ui.edit.text.php.goto.matching.bracket" />
678          <accelerator
679                key="Ctrl+Space"
680                id="net.sourceforge.phpeclipse.ui.edit.text.php.content.assist.proposals">
681          </accelerator>
682 <!-- source -->
683          <accelerator
684                key="Ctrl+/"
685                id="net.sourceforge.phpeclipse.phpeditor.comment">
686          </accelerator>
687          <accelerator
688                key="Ctrl+\"
689                id="net.sourceforge.phpeclipse.phpeditor.uncomment">
690          </accelerator>
691          <accelerator 
692                key="Ctrl+Shift+F" 
693                id="net.sourceforge.phpeclipse.phpeditor.format">
694          </accelerator>
695       </acceleratorSet>
696       <acceleratorSet
697             scopeId="org.eclipse.ui.textEditorScope"
698             configurationId="org.eclipse.ui.defaultAcceleratorConfiguration">
699 <!-- edit -->
700          <accelerator key="Command+Shift+P" id="net.sourceforge.phpeclipse.ui.edit.text.php.goto.matching.bracket" platform="carbon" /> 
701                 
702          <accelerator
703                platform="carbon"
704                key="Command+1"
705                id="net.sourceforge.phpeclipse.ui.edit.text.php.content.assist.proposals">
706          </accelerator>
707 <!-- source -->
708          <accelerator
709                platform="carbon"
710                key="Command+/"
711                id="net.sourceforge.phpeclipse.phpeditor.comment">
712          </accelerator>
713          <accelerator
714                platform="carbon"
715                key="Command+\"
716                id="net.sourceforge.phpeclipse.phpeditor.uncomment">
717          </accelerator>
718       </acceleratorSet>
719    </extension>
720
721 </plugin>