Skip to content

Commit dd16e2e

Browse files
author
Michal Niewrzal
committed
Tern Eclipse Javascript Support in PHP Files #411
Added content type to support mixed files (HTML+JS+PHP)
1 parent ef684eb commit dd16e2e

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

eclipse/jsdt/tern.eclipse.ide.jsdt.ui/plugin.xml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,18 @@
5454
id="org.eclipse.wst.html.SCRIPT.EVENTHANDLER">
5555
</partitionType>
5656
</contentType>
57+
58+
<contentType
59+
id="org.eclipse.php.core.phpsource">
60+
<partitionType
61+
autoActivationDelegate="org.eclipse.wst.jsdt.web.ui.contentassist.JSDTAutoActivationDelegate"
62+
id="org.eclipse.wst.html.SCRIPT">
63+
</partitionType>
64+
<partitionType
65+
autoActivationDelegate="org.eclipse.wst.jsdt.web.ui.contentassist.JSDTAutoActivationDelegate"
66+
id="org.eclipse.wst.html.SCRIPT.EVENTHANDLER">
67+
</partitionType>
68+
</contentType>
5769
</proposalComputer>
5870
</extension>
5971

0 commit comments

Comments
 (0)