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 bff3776 commit c077fa5
Show file tree
Hide file tree
Showing 4 changed files with 47 additions and 7 deletions.
14 changes: 12 additions & 2 deletions Commands/Compile in Script Editor.tmCommand
Expand Up @@ -28,15 +28,25 @@ osascript <<-APPLESCRIPT
APPLESCRIPT</string>
<key>input</key>
<string>selection</string>
<key>inputFormat</key>
<string>text</string>
<key>keyEquivalent</key>
<string>~@b</string>
<key>name</key>
<string>Compile in Script Editor</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.applescript</string>
<key>semanticClass</key>
<string>process.external.build.applescript</string>
<key>uuid</key>
<string>E3DD341F-94E6-460C-8EDA-D1184B67866F</string>
<key>version</key>
<integer>2</integer>
</dict>
</plist>
14 changes: 12 additions & 2 deletions Commands/Compile.tmCommand
Expand Up @@ -75,15 +75,25 @@ end
</string>
<key>input</key>
<string>document</string>
<key>inputFormat</key>
<string>text</string>
<key>keyEquivalent</key>
<string>@b</string>
<key>name</key>
<string>Compile</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.applescript</string>
<key>semanticClass</key>
<string>process.build.applescript</string>
<key>uuid</key>
<string>FAA71813-1CC3-45BC-BDC4-EE388D80746C</string>
<key>version</key>
<integer>2</integer>
</dict>
</plist>
12 changes: 11 additions & 1 deletion Commands/Documentation for Application.tmCommand
Expand Up @@ -20,15 +20,25 @@ APPLESCRIPT
<string>scope</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 Application</string>
<key>output</key>
<key>outputCaret</key>
<string>afterOutput</string>
<key>outputFormat</key>
<string>text</string>
<key>outputLocation</key>
<string>discard</string>
<key>scope</key>
<string>string.quoted.double.application-name.applescript</string>
<key>semanticClass</key>
<string>lookup.define.applescript</string>
<key>uuid</key>
<string>2263B3B6-8D09-4B98-B056-3DF129226C78</string>
<key>version</key>
<integer>2</integer>
</dict>
</plist>
14 changes: 12 additions & 2 deletions Commands/Run.tmCommand
Expand Up @@ -55,15 +55,25 @@ end
</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.applescript</string>
<key>semanticClass</key>
<string>process.run.script.applescript</string>
<key>uuid</key>
<string>28D28F3B-C59B-4387-A67E-65CFF1CBC62B</string>
<key>version</key>
<integer>2</integer>
</dict>
</plist>

0 comments on commit c077fa5

Please sign in to comment.