<extension
point="org.eclipse.team.core.fileTypes">
<fileTypes type="text" extension="php" />
+ <fileTypes type="text" extension="phpc" />
<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,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">
- <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">
- <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">
+ 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">
+ nameFilter="*.ctp"
+ id="net.sourceforge.phpeclipse.actions.popupShowAction.ctp">
<action
label="Open PHP Browser"
class="net.sourceforge.phpeclipse.actions.PHPEclipseShowAction"
<objectContribution
objectClass="org.eclipse.core.resources.IFile"
nameFilter="*.module"
- id="net.sourceforge.phpeclipse.actions.popupShowAction">
+ id="net.sourceforge.phpeclipse.actions.popupShowAction.module">
<action
label="Open PHP Browser"
class="net.sourceforge.phpeclipse.actions.PHPEclipseShowAction"
<objectContribution
objectClass="org.eclipse.core.resources.IFile"
nameFilter="*.inc"
- id="net.sourceforge.phpeclipse.actions.popupShowAction">
+ id="net.sourceforge.phpeclipse.actions.popupShowAction.inc">
<action
label="Open PHP Browser"
class="net.sourceforge.phpeclipse.actions.PHPEclipseShowAction"
<objectContribution
objectClass="org.eclipse.core.resources.IFile"
nameFilter="*.phtml"
- id="net.sourceforge.phpeclipse.actions.popupShowAction">
+ id="net.sourceforge.phpeclipse.actions.popupShowAction.phtml">
<action
label="Open PHP Browser"
class="net.sourceforge.phpeclipse.actions.PHPEclipseShowAction"
</objectContribution>
<objectContribution
objectClass="org.eclipse.core.resources.IFile"
- nameFilter="*.html"
- id="net.sourceforge.phpeclipse.actions.popupShowAction">
- <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="*.htm"
- id="net.sourceforge.phpeclipse.actions.popupShowAction">
+ nameFilter="*.htm*"
+ id="net.sourceforge.phpeclipse.actions.popupShowAction.html">
<action
label="Open PHP Browser"
class="net.sourceforge.phpeclipse.actions.PHPEclipseShowAction"
<objectContribution
objectClass="org.eclipse.core.resources.IFile"
nameFilter="*.xml"
- id="net.sourceforge.phpeclipse.actions.popupShowAction">
+ id="net.sourceforge.phpeclipse.actions.popupShowAction.xml">
<action
label="Open PHP Browser"
class="net.sourceforge.phpeclipse.actions.PHPEclipseShowAction"
</action>
</objectContribution>
+ <!-- Viewers -->
<viewerContribution
targetID="#PHPEditorContext"
id="net.sourceforge.phpeclipse.actions.popupHTMLWizard">
class="net.sourceforge.phpdt.internal.ui.preferences.CodeAssistPreferencePage"
id="net.sourceforge.phpdt.internal.ui.preferences.CodeAssistPreferencePage">
</page>
- <page
+ <page name="%editorPageName"
+ category="net.sourceforge.phpeclipse.preferences.PHPPreferencePage"
+ class="net.sourceforge.phpdt.internal.ui.preferences.EditorPreferencePage"
+ id="net.sourceforge.phpdt.internal.ui.preferences.EditorPreferencePage">
+ </page>
+ <page
name="%templatePageName"
category="net.sourceforge.phpeclipse.preferences.PHPPreferencePage"
class="net.sourceforge.phpdt.internal.ui.preferences.JavaTemplatePreferencePage"