Replaced Print Variable command with a Print Variable snippet using << syntax; now works with array indexes etc.

This commit is contained in:
Arthur Carabott 2009-04-16 09:41:38 +01:00
parent f49e2fbb9a
commit a6a09d97a9
2 changed files with 15 additions and 30 deletions

View File

@ -1,30 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!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>#!/usr/bin/env ruby
word = ENV['TM_CURRENT_WORD']
if !word.nil? and word.size &gt; 0
puts %Q{"#{word}: ".post; #{word}.postln;}end </string>
<key>fallbackInput</key>
<string>word</string>
<key>input</key>
<string>selection</string>
<key>keyEquivalent</key>
<string>~@p</string>
<key>name</key>
<string>print variable</string>
<key>output</key>
<string>replaceSelectedText</string>
<key>scope</key>
<string>source.supercollider</string>
<key>tabTrigger</key>
<string>parv</string>
<key>uuid</key>
<string>22BB21A0-D2B7-4540-B1DE-02556BE6F8A7</string>
</dict>
</plist>

View File

@ -42,6 +42,21 @@
<string>ABFD1872-DD86-4099-B758-28E319EF479D</string>
<string>BB37ACE9-8262-4AF6-B3C6-43DC0AF2B370</string>
<string>D36563CB-A0CE-43EB-8F19-2EF1D5E42B81</string>
<string>43E979D3-9639-4DCC-9E57-24A5C72A30F1</string>
<string>AB35A021-A800-4B82-B603-295CFD714A5B</string>
<string>3FC8E89C-7BAF-4C66-9327-C544EBF53DFE</string>
<string>93CDD123-97D9-40CB-9F63-A6F0A42D8622</string>
<string>4C6C9C58-92F3-4FD2-AE39-00F01AC3F7B2</string>
<string>D3FF72CE-4B17-47E2-8A3A-E2E4A6BAC859</string>
<string>DF09CE07-5704-4932-8DC7-86A1ECE54401</string>
<string>44331733-E717-4546-BA68-C254284E1089</string>
<string>A2B8FE76-A086-4FD3-B832-7154B7CE88F4</string>
<string>78E00F80-2133-42C8-94E8-C570693BEC8E</string>
<string>533A6101-A0FB-4F3B-A94A-E04A8DC46C0F</string>
<string>43EED273-EF78-473E-8BF0-650D2FC19CCA</string>
<string>44E4E852-1518-4E8C-84F1-9990A1B910ED</string>
<string>66B16E22-D3FB-464F-B820-2FEEFD79DBA5</string>
<string>C94CF802-251A-44FE-87CB-4C50FA4D4D02</string>
</array>
<key>uuid</key>
<string>7613A472-3FAB-454C-8CF2-2E62F0D00920</string>