Permalink
Browse files

Add initial semantic classes.

  • Loading branch information...
1 parent d4b0b30 commit 933fafe500e17f800899a5066d5c7d65164802db @infininight infininight committed Sep 8, 2012
Showing with 31 additions and 6 deletions.
  1. +17 −4 Commands/Documentation for Tag.tmCommand
  2. +2 −0 Commands/Lookup word in PHP manual.plist
  3. +12 −2 Commands/Run PHP.plist
@@ -1,25 +1,38 @@
<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
+<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>beforeRunningCommand</key>
<string>nop</string>
<key>command</key>
- <string>if grep &lt;&lt;&lt;${TM_CURRENT_WORD:-!} -Esq '[@a-zA-Z]+'
+ <string>#!/usr/bin/env bash
+[[ -f "${TM_SUPPORT_PATH}/lib/bash_init.sh" ]] &amp;&amp; . "${TM_SUPPORT_PATH}/lib/bash_init.sh"
+
+if grep &lt;&lt;&lt;${TM_CURRENT_WORD:-!} -Esq '[@a-zA-Z]+'
then exit_show_html "&lt;meta http-equiv='Refresh' content='0;URL=http://manual.phpdoc.org/HTMLframesConverter/earthli/phpDocumentor/tutorial_tags.${TM_CURRENT_WORD#@}.pkg.html'&gt;"
else echo "Nothing to lookup (hint: place the caret on a tag)"
fi</string>
<key>input</key>
<string>none</string>
+ <key>inputFormat</key>
+ <string>text</string>
<key>keyEquivalent</key>
<string>^h</string>
<key>name</key>
<string>Documentation for Tag</string>
- <key>output</key>
- <string>showAsTooltip</string>
+ <key>outputCaret</key>
+ <string>afterOutput</string>
+ <key>outputFormat</key>
+ <string>text</string>
+ <key>outputLocation</key>
+ <string>toolTip</string>
<key>scope</key>
<string>comment.block.documentation.phpdoc.php</string>
+ <key>semanticClass</key>
+ <string>lookup.define.php</string>
<key>uuid</key>
<string>42F50AE3-4F1C-43EB-9722-D80261A19625</string>
+ <key>version</key>
+ <integer>2</integer>
</dict>
</plist>
@@ -87,6 +87,8 @@ fi</string>
<string>toolTip</string>
<key>scope</key>
<string>source.php</string>
+ <key>semanticClass</key>
+ <string>lookup.define.php</string>
<key>uuid</key>
<string>412481DC-89B7-11D9-9FE3-000A9584EC8C</string>
<key>version</key>
@@ -11,15 +11,25 @@
/usr/bin/env ruby -- "$TM_BUNDLE_SUPPORT/lib/php_mate.rb"</string>
<key>input</key>
<string>document</string>
+ <key>inputFormat</key>
+ <string>text</string>
<key>keyEquivalent</key>
<string>@R</string>
<key>name</key>
<string>Run</string>
- <key>output</key>
- <string>showAsHTML</string>
+ <key>outputCaret</key>
+ <string>afterOutput</string>
+ <key>outputFormat</key>
+ <string>html</string>
+ <key>outputLocation</key>
+ <string>newWindow</string>
<key>scope</key>
<string>source.php</string>
+ <key>semanticClass</key>
+ <string>process.run.php</string>
<key>uuid</key>
<string>774E75DA-A747-4CB4-B8AF-DE720B01E295</string>
+ <key>version</key>
+ <integer>2</integer>
</dict>
</plist>

0 comments on commit 933fafe

Please sign in to comment.