Skip to content
Browse files

Add initial semantic classes.

  • Loading branch information...
1 parent 75d073b commit effa4fb710d18d70f431037064aab238cb44359b @infininight infininight committed Sep 8, 2012
View
16 Commands/Build & Run.tmCommand
@@ -1,5 +1,5 @@
<?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>
@@ -9,15 +9,25 @@
"${TM_BUNDLE_SUPPORT}/bin/build_qt_project.rb" &amp;&amp; "${TM_BUNDLE_SUPPORT}/bin/run_qt_project.rb"</string>
<key>input</key>
<string>none</string>
+ <key>inputFormat</key>
+ <string>text</string>
<key>keyEquivalent</key>
<string>@R</string>
<key>name</key>
<string>Build &amp; 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.c++.qt, source.qmake</string>
+ <key>semanticClass</key>
+ <string>process.build-and-run.qt</string>
<key>uuid</key>
<string>22F431D0-0CB5-4CAB-951F-8C0E7396891F</string>
+ <key>version</key>
+ <integer>2</integer>
</dict>
</plist>
View
21 Commands/Build.tmCommand
@@ -1,22 +1,35 @@
<?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>"${TM_BUNDLE_SUPPORT}/bin/build_qt_project.rb"</string>
+ <string>#!/usr/bin/env bash
+[[ -f "${TM_SUPPORT_PATH}/lib/bash_init.sh" ]] &amp;&amp; . "${TM_SUPPORT_PATH}/lib/bash_init.sh"
+
+"${TM_BUNDLE_SUPPORT}/bin/build_qt_project.rb"</string>
<key>input</key>
<string>none</string>
+ <key>inputFormat</key>
+ <string>text</string>
<key>keyEquivalent</key>
<string>@b</string>
<key>name</key>
<string>Build</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.c++.qt, source.qmake</string>
+ <key>semanticClass</key>
+ <string>process.build.c++.qt</string>
<key>uuid</key>
<string>AAAD64D1-8C69-4645-853E-B6DD3D04AC67</string>
+ <key>version</key>
+ <integer>2</integer>
</dict>
</plist>
View
21 Commands/Documentation for Word : Selection.tmCommand
@@ -1,11 +1,14 @@
<?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># Similiar to entering query in the Qt Assistant's
+ <string>#!/usr/bin/env bash
+[[ -f "${TM_SUPPORT_PATH}/lib/bash_init.sh" ]] &amp;&amp; . "${TM_SUPPORT_PATH}/lib/bash_init.sh"
+
+# Similiar to entering query in the Qt Assistant's
# "Look For:" field, and pressing enter. If
# there are multiple matches, there's an option
# to select one of them.
@@ -15,15 +18,25 @@ ruby "$TM_BUNDLE_SUPPORT/bin/search.rb"</string>
<string>word</string>
<key>input</key>
<string>selection</string>
+ <key>inputFormat</key>
+ <string>text</string>
<key>keyEquivalent</key>
<string>^h</string>
<key>name</key>
<string>Documentation for Word / Selection</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.c++.qt</string>
+ <key>semanticClass</key>
+ <string>lookup.define.c++.qt</string>
<key>uuid</key>
<string>DAD33E78-4FEF-43EB-A672-790E7140855A</string>
+ <key>version</key>
+ <integer>2</integer>
</dict>
</plist>
View
21 Commands/Run Application.tmCommand
@@ -1,22 +1,35 @@
<?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>"${TM_BUNDLE_SUPPORT}/bin/run_qt_project.rb"</string>
+ <string>#!/usr/bin/env bash
+[[ -f "${TM_SUPPORT_PATH}/lib/bash_init.sh" ]] &amp;&amp; . "${TM_SUPPORT_PATH}/lib/bash_init.sh"
+
+"${TM_BUNDLE_SUPPORT}/bin/run_qt_project.rb"</string>
<key>input</key>
<string>none</string>
+ <key>inputFormat</key>
+ <string>text</string>
<key>keyEquivalent</key>
<string>@r</string>
<key>name</key>
<string>Run</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>source.c++.qt, source.qmake</string>
+ <key>semanticClass</key>
+ <string>process.run.c++.qt</string>
<key>uuid</key>
<string>97FDD49E-0E1B-4B68-9614-E57A5804C247</string>
+ <key>version</key>
+ <integer>2</integer>
</dict>
</plist>

0 comments on commit effa4fb

Please sign in to comment.
Something went wrong with that request. Please try again.