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