</actionSet>
</extension>
+ <!-- FIXME: there is too much duplication of contributions pointing to the same action. we should find a better way-->
+ <!-- php, phpc,php3,php4,php5,phpt-->
<extension
point="org.eclipse.ui.popupMenus">
<objectContribution
objectClass="org.eclipse.core.resources.IFile"
- nameFilter="*.php"
- id="net.sourceforge.phpdt.externaltools.actions.externalParserAction.php">
+ nameFilter="*.php*"
+ id="net.sourceforge.phpdt.externaltools.actions.externalParserAction.phpS">
<action
label="Run External PHP Parser"
class="net.sourceforge.phpdt.externaltools.actions.PHPExternalParserAction"
</objectContribution>
<objectContribution
objectClass="org.eclipse.core.resources.IFile"
- nameFilter="*.php3"
- id="net.sourceforge.phpdt.externaltools.actions.externalParserAction.php3">
+ nameFilter="*.ctp"
+ id="net.sourceforge.phpdt.externaltools.actions.externalParserAction.ctp">
<action
label="Run External PHP Parser"
class="net.sourceforge.phpdt.externaltools.actions.PHPExternalParserAction"
</objectContribution>
<objectContribution
objectClass="org.eclipse.core.resources.IFile"
- nameFilter="*.php4"
- id="net.sourceforge.phpdt.externaltools.actions.externalParserAction.php4">
- <action
- label="Run External PHP Parser"
- class="net.sourceforge.phpdt.externaltools.actions.PHPExternalParserAction"
- menubarPath="additions"
- id="net.sourceforge.phpdt.externaltools.actions.externalParserAction">
- </action>
- </objectContribution>
- <objectContribution
- objectClass="org.eclipse.core.resources.IFile"
- nameFilter="*.php5"
- id="net.sourceforge.phpdt.externaltools.actions.externalParserAction.php5">
+ nameFilter="*.phtml"
+ id="net.sourceforge.phpdt.externaltools.actions.externalParserAction.phtml">
<action
label="Run External PHP Parser"
class="net.sourceforge.phpdt.externaltools.actions.PHPExternalParserAction"
delegate="net.sourceforge.phpdt.internal.launching.PHPLaunchConfigurationDelegate"
modes="run,debug"
id="net.sourceforge.phpdt.launching.LaunchConfigurationTypePHPApplication">
- <fileExtension
- default="true"
- extension="php">
- </fileExtension>
- <fileExtension
- default="true"
- extension="phpc">
- </fileExtension>
- <fileExtension
- default="true"
- extension="php3">
- </fileExtension>
- <fileExtension
- default="true"
- extension="php4">
- </fileExtension>
- <fileExtension
- default="true"
- extension="php5">
- </fileExtension>
- <fileExtension
- default="true"
- extension="htm">
- </fileExtension>
- <fileExtension
- default="true"
- extension="html">
- </fileExtension>
+ <fileExtension default="true" extension="php"></fileExtension>
+ <fileExtension default="true" extension="phpc"></fileExtension>
+ <fileExtension default="true" extension="php3"></fileExtension>
+ <fileExtension default="true" extension="php4"></fileExtension>
+ <fileExtension default="true" extension="php5"></fileExtension>
+ <fileExtension default="true" extension="phtml"></fileExtension>
+ <fileExtension default="true" extension="phpt"></fileExtension>
+ <fileExtension default="true" extension="htm"></fileExtension>
+ <fileExtension default="true" extension="html"></fileExtension>
+ <fileExtension default="true" extension="inc"></fileExtension>
+ <fileExtension default="true" extension="ctp"></fileExtension>
+ <fileExtension default="true" extension="module"></fileExtension>
</launchConfigurationType>
</extension>
<fileTypes type="text" extension="php3" />
<fileTypes type="text" extension="php4" />
<fileTypes type="text" extension="php5" />
- <fileTypes type="text" extension="module" />
- <fileTypes type="text" extension="inc" />
<fileTypes type="text" extension="phtml" />
+ <fileTypes type="text" extension="inc" />
+ <fileTypes type="text" extension="module" />
<fileTypes type="text" extension="phpt" />
+ <fileTypes type="text" extension="ctp" />
</extension>
<!-- declares a content type for PHP Source files -->
<content-type id="phpSource" name="%phpSourceName"
base-type="org.eclipse.core.runtime.text"
priority="high"
- file-extensions="php,phpc,php3,php4,php5,phtml,inc,module,phpt"/>
+ file-extensions="php,phpc,php3,php4,php5,phtml,inc,module,phpt,ctp"/>
</extension>
<extension
<!-- PHP Editor Action Definition IDs -->
<!-- =========================================================================== -->
+ <!-- FIXME: there is too much duplication of contributions pointing to the same action. we should find a better way-->
<extension
point="org.eclipse.ui.popupMenus">
+ <!-- php, phpc,php3,php4,php5,phpt-->
<objectContribution
objectClass="org.eclipse.core.resources.IFile"
- nameFilter="*.php"
- id="net.sourceforge.phpeclipse.actions.popupShowAction.php">
- <action
- label="Open PHP Browser"
- class="net.sourceforge.phpeclipse.actions.PHPEclipseShowAction"
- menubarPath="additions"
- id="net.sourceforge.phpeclipse.actions.showAction">
- </action>
- </objectContribution>
- <objectContribution
- objectClass="org.eclipse.core.resources.IFile"
- nameFilter="*.php3"
- id="net.sourceforge.phpeclipse.actions.popupShowAction.php3">
- <action
- label="Open PHP Browser"
- class="net.sourceforge.phpeclipse.actions.PHPEclipseShowAction"
- menubarPath="additions"
- id="net.sourceforge.phpeclipse.actions.showAction">
- </action>
- </objectContribution>
- <objectContribution
- objectClass="org.eclipse.core.resources.IFile"
- nameFilter="*.php4"
- id="net.sourceforge.phpeclipse.actions.popupShowAction.php4">
+ nameFilter="*.php*"
+ id="net.sourceforge.phpeclipse.actions.popupShowAction.phpS">
<action
label="Open PHP Browser"
class="net.sourceforge.phpeclipse.actions.PHPEclipseShowAction"
id="net.sourceforge.phpeclipse.actions.showAction">
</action>
</objectContribution>
+
+ <!-- cake PHP support -->
<objectContribution
objectClass="org.eclipse.core.resources.IFile"
- nameFilter="*.php5"
- id="net.sourceforge.phpeclipse.actions.popupShowAction.php5">
+ nameFilter="*.ctp"
+ id="net.sourceforge.phpeclipse.actions.popupShowAction.ctp">
<action
label="Open PHP Browser"
class="net.sourceforge.phpeclipse.actions.PHPEclipseShowAction"
</objectContribution>
<objectContribution
objectClass="org.eclipse.core.resources.IFile"
- nameFilter="*.html"
+ nameFilter="*.htm*"
id="net.sourceforge.phpeclipse.actions.popupShowAction.html">
<action
label="Open PHP Browser"
id="net.sourceforge.phpeclipse.actions.showAction">
</action>
</objectContribution>
- <objectContribution
- objectClass="org.eclipse.core.resources.IFile"
- nameFilter="*.htm"
- id="net.sourceforge.phpeclipse.actions.popupShowAction.htm">
- <action
- label="Open PHP Browser"
- class="net.sourceforge.phpeclipse.actions.PHPEclipseShowAction"
- menubarPath="additions"
- id="net.sourceforge.phpeclipse.actions.showAction">
- </action>
- </objectContribution>
<objectContribution
objectClass="org.eclipse.core.resources.IFile"
nameFilter="*.xml"
</action>
</objectContribution>
+ <!-- Viewers -->
<viewerContribution
targetID="#PHPEditorContext"
id="net.sourceforge.phpeclipse.actions.popupHTMLWizard">