Started with PHP/HTML Formatter menu => doesn't work right now
[phpeclipse.git] / net.sourceforge.phpeclipse / plugin.xml
index 5d25fbb..ddafca2 100644 (file)
@@ -243,6 +243,13 @@ Temporarily replaced until errors can be ironed out...
                   name="editGroup">
             </separator>
          </menu>
+         <action 
+                       definitionId="net.sourceforge.phpeclipse.phpeditor.format"
+                       label="%FormatAction.label"
+                       retarget="true"
+                       menubarPath="net.sourceforge.phpeclipse.ui.source.menu/editGroup"
+                       id="net.sourceforge.phpeclipse.phpeditor.Format" >
+            </action>
          <action
                definitionId="net.sourceforge.phpeclipse.phpeditor.uncomment"
                label="%UncommentAction.label"
@@ -281,6 +288,11 @@ Temporarily replaced until errors can be ironed out...
             description="%ActionDefinition.uncomment.description"
             id="net.sourceforge.phpeclipse.phpeditor.Uncomment">
       </actionDefinition>
+       <actionDefinition
+           name= "%ActionDefinition.format.name"
+           description= "%ActionDefinition.format.description"
+               id="net.sourceforge.phpeclipse.phpeditor.Format">
+         </actionDefinition>
    </extension>
 <!--   <extension
          point="org.eclipse.ui.acceleratorSets">
@@ -638,6 +650,10 @@ Temporarily replaced until errors can be ironed out...
                key="Ctrl+\"
                id="net.sourceforge.phpeclipse.phpeditor.uncomment">
          </accelerator>
+         <accelerator 
+               key="Ctrl+Shift+F" 
+               id="net.sourceforge.phpeclipse.phpeditor.format">
+         </accelerator>
       </acceleratorSet>
       <acceleratorSet
             scopeId="org.eclipse.ui.textEditorScope"
@@ -656,6 +672,10 @@ Temporarily replaced until errors can be ironed out...
                key="Ctrl+\"
                id="net.sourceforge.phpeclipse.phpeditor.uncomment">
          </accelerator>
+         <accelerator 
+               key="Ctrl+Shift+F" 
+               id="net.sourceforge.phpeclipse.phpeditor.format">
+         </accelerator>
       </acceleratorSet>
       <acceleratorSet
             scopeId="org.eclipse.ui.textEditorScope"