Skip to content

Commit

Permalink
Add initial semantic classes.
Browse files Browse the repository at this point in the history
  • Loading branch information
infininight committed Sep 10, 2012
1 parent f629115 commit b597180
Show file tree
Hide file tree
Showing 3 changed files with 41 additions and 8 deletions.
21 changes: 17 additions & 4 deletions Commands/Lookup in Documentation.plist
@@ -1,24 +1,37 @@
<?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/linked_ri.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/linked_ri.rb"</string>
<key>fallbackInput</key>
<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>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.ruby, source.ruby.rails</string>
<key>semanticClass</key>
<string>lookup.define.ruby</string>
<key>uuid</key>
<string>63F3B3B7-CBE2-426B-B551-657733F3868B</string>
<key>version</key>
<integer>2</integer>
</dict>
</plist>
14 changes: 12 additions & 2 deletions Commands/Run focused unit test.plist
Expand Up @@ -19,17 +19,27 @@ export RUBYLIB="$TM_BUNDLE_SUPPORT/RubyMate${RUBYLIB:+:$RUBYLIB}"
<string>1</string>
<key>input</key>
<string>document</string>
<key>inputFormat</key>
<string>text</string>
<key>keyEquivalent</key>
<string>@R</string>
<key>lineCaptureRegister</key>
<string>2</string>
<key>name</key>
<string>Run Focused Unit Test</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.ruby</string>
<key>semanticClass</key>
<string>process.test.ruby</string>
<key>uuid</key>
<string>5289EE40-86B8-11D9-A8D4-000A95E13C98</string>
<key>version</key>
<integer>2</integer>
</dict>
</plist>
14 changes: 12 additions & 2 deletions Commands/Run.tmCommand
Expand Up @@ -15,15 +15,25 @@ export RUBYLIB="$TM_BUNDLE_SUPPORT/RubyMate${RUBYLIB:+:$RUBYLIB}"
</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.ruby</string>
<key>semanticClass</key>
<string>process.run.script.ruby</string>
<key>uuid</key>
<string>35222962-C50D-4D58-A6AE-71E7AD980BE4</string>
<key>version</key>
<integer>2</integer>
</dict>
</plist>

0 comments on commit b597180

Please sign in to comment.