Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Add initial semantic classes.

  • Loading branch information...
commit 629ea8bd1a30890cdfa35f1566137bd773cce948 1 parent 6bb64d1
@infininight infininight authored
View
21 Commands/Run Script (with getd).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>saveActiveFile</string>
<key>command</key>
- <string>export APP=`find_app Scilab-4.1.app`
+ <string>#!/usr/bin/env bash
+[[ -f "${TM_SUPPORT_PATH}/lib/bash_init.sh" ]] &amp;&amp; . "${TM_SUPPORT_PATH}/lib/bash_init.sh"
+
+export APP=`find_app Scilab-4.1.app`
LAUNCHER=$APP/Contents/Resources/launcher.sh
if [ -x "$LAUNCHER" ]
then
@@ -20,15 +23,25 @@ fi
</string>
<key>input</key>
<string>none</string>
+ <key>inputFormat</key>
+ <string>text</string>
<key>keyEquivalent</key>
<string>@R</string>
<key>name</key>
<string>Run Script (with getd)</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.scilab</string>
+ <key>semanticClass</key>
+ <string>process.external.run.scilab</string>
<key>uuid</key>
<string>FCD467AA-0FAF-4B63-A613-E7175B80709A</string>
+ <key>version</key>
+ <integer>2</integer>
</dict>
</plist>
View
21 Commands/Run Script.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>saveActiveFile</string>
<key>command</key>
- <string>export APP=`find_app Scilab-4.1.app`
+ <string>#!/usr/bin/env bash
+[[ -f "${TM_SUPPORT_PATH}/lib/bash_init.sh" ]] &amp;&amp; . "${TM_SUPPORT_PATH}/lib/bash_init.sh"
+
+export APP=`find_app Scilab-4.1.app`
LAUNCHER=$APP/Contents/Resources/launcher.sh
if [ -x "$LAUNCHER" ]
then
@@ -20,15 +23,25 @@ fi
</string>
<key>input</key>
<string>none</string>
+ <key>inputFormat</key>
+ <string>text</string>
<key>keyEquivalent</key>
<string>@r</string>
<key>name</key>
<string>Run Script</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.scilab</string>
+ <key>semanticClass</key>
+ <string>process.run.scilab</string>
<key>uuid</key>
<string>14038705-CA2C-4386-8B21-3EEF52A15537</string>
+ <key>version</key>
+ <integer>2</integer>
</dict>
</plist>
Please sign in to comment.
Something went wrong with that request. Please try again.