Extended the builder with an index file generator for PHP class- and function-names.
authorkhartlage <khartlage>
Mon, 8 Sep 2003 22:46:32 +0000 (22:46 +0000)
committerkhartlage <khartlage>
Mon, 8 Sep 2003 22:46:32 +0000 (22:46 +0000)
The index is stored in a "project.index" file for every project with php-nature.
Right-mouse click in the PHP editor on an indexed class- or function-name should open the file, where the identifier is declared.

net.sourceforge.phpeclipse/plugin.xml

index 71158ed..6405e84 100644 (file)
@@ -571,7 +571,18 @@ Temporarily replaced until errors can be ironed out...
                id="net.sourceforge.phpeclipse.actions.showAction">
          </action>
       </objectContribution>
-
+  
+      <viewerContribution
+            targetID="#PHPEditorContext"
+            id="net.sourceforge.phpeclipse.actions.popupOpenDeclaration">
+         <action
+               label="Open PHP Declaration"
+               class="net.sourceforge.phpeclipse.actions.PHPOpenDeclarationEditorActon"
+               menubarPath="additions"
+               id="net.sourceforge.phpeclipse.actions.opendeclaration">
+         </action>
+      </viewerContribution>
+   
       <viewerContribution
             targetID="#PHPRulerContext"
             id="net.sourceforge.phpdt.ui.PHPEditorPopupActions">