supercollider-tmbundle/SuperCollider.tmbundle/Commands/Interpret code 2.tmCommand

26 lines
712 B
Plaintext
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<?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
cmd = ENV['TM_SELECTED_TEXT'] || ENV['TM_CURRENT_LINE']
ENV['SC_INTERPRET_TEXT'] = cmd
%x{sc3ctrl -x}</string>
<key>fallbackInput</key>
<string>line</string>
<key>input</key>
<string>selection</string>
<key>keyEquivalent</key>
<string></string>
<key>name</key>
<string>Interpret</string>
<key>output</key>
<string>showAsTooltip</string>
<key>uuid</key>
<string>FB64DE22-E1F3-48CC-AE67-21B7E008ADD5</string>
</dict>
</plist>