vanilla commit
This commit is contained in:
commit
1af6bee500
|
@ -0,0 +1,21 @@
|
||||||
|
<?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>require_cmd sc3ctrl
|
||||||
|
sc3ctrl -c</string>
|
||||||
|
<key>input</key>
|
||||||
|
<string>none</string>
|
||||||
|
<key>keyEquivalent</key>
|
||||||
|
<string>@C</string>
|
||||||
|
<key>name</key>
|
||||||
|
<string>Clear post window</string>
|
||||||
|
<key>output</key>
|
||||||
|
<string>discard</string>
|
||||||
|
<key>uuid</key>
|
||||||
|
<string>264ACF44-52AC-4AD4-8C13-0F49E0DAAA12</string>
|
||||||
|
</dict>
|
||||||
|
</plist>
|
|
@ -0,0 +1,21 @@
|
||||||
|
<?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>require_cmd sc3ctrl
|
||||||
|
sc3ctrl -s</string>
|
||||||
|
<key>input</key>
|
||||||
|
<string>none</string>
|
||||||
|
<key>keyEquivalent</key>
|
||||||
|
<string>^.</string>
|
||||||
|
<key>name</key>
|
||||||
|
<string>Stop</string>
|
||||||
|
<key>output</key>
|
||||||
|
<string>discard</string>
|
||||||
|
<key>uuid</key>
|
||||||
|
<string>81F7F82A-5C77-463E-BE36-15E0DAFF9930</string>
|
||||||
|
</dict>
|
||||||
|
</plist>
|
|
@ -0,0 +1,24 @@
|
||||||
|
<?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>require_cmd sc3ctrl
|
||||||
|
sc3ctrl -d $TM_SELECTED_TEXT
|
||||||
|
</string>
|
||||||
|
<key>fallbackInput</key>
|
||||||
|
<string>word</string>
|
||||||
|
<key>input</key>
|
||||||
|
<string>none</string>
|
||||||
|
<key>keyEquivalent</key>
|
||||||
|
<string>@d</string>
|
||||||
|
<key>name</key>
|
||||||
|
<string>Help</string>
|
||||||
|
<key>output</key>
|
||||||
|
<string>discard</string>
|
||||||
|
<key>uuid</key>
|
||||||
|
<string>EAC732CB-6B38-4E0A-9BD4-D377562331D9</string>
|
||||||
|
</dict>
|
||||||
|
</plist>
|
|
@ -0,0 +1,23 @@
|
||||||
|
<?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>require_cmd sc3ctrl
|
||||||
|
sc3ctrl -y $TM_SELECTED_TEXT</string>
|
||||||
|
<key>fallbackInput</key>
|
||||||
|
<string>word</string>
|
||||||
|
<key>input</key>
|
||||||
|
<string>selection</string>
|
||||||
|
<key>keyEquivalent</key>
|
||||||
|
<string>@y</string>
|
||||||
|
<key>name</key>
|
||||||
|
<string>Implementations of</string>
|
||||||
|
<key>output</key>
|
||||||
|
<string>discard</string>
|
||||||
|
<key>uuid</key>
|
||||||
|
<string>3BAE7DE4-D06A-422B-94A3-7F542C47ED0F</string>
|
||||||
|
</dict>
|
||||||
|
</plist>
|
|
@ -0,0 +1,25 @@
|
||||||
|
<?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>
|
|
@ -0,0 +1,21 @@
|
||||||
|
<?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>require_cmd sc3ctrl
|
||||||
|
sc3ctrl -j $TM_SELECTED_TEXT</string>
|
||||||
|
<key>input</key>
|
||||||
|
<string>selection</string>
|
||||||
|
<key>keyEquivalent</key>
|
||||||
|
<string>@j</string>
|
||||||
|
<key>name</key>
|
||||||
|
<string>Open Class file</string>
|
||||||
|
<key>output</key>
|
||||||
|
<string>discard</string>
|
||||||
|
<key>uuid</key>
|
||||||
|
<string>293C4F9B-E1A4-4D01-83E7-0698112C7FA4</string>
|
||||||
|
</dict>
|
||||||
|
</plist>
|
|
@ -0,0 +1,21 @@
|
||||||
|
<?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>require_cmd sc3ctrl
|
||||||
|
sc3ctrl -y $TM_SELECTED_TEXT</string>
|
||||||
|
<key>input</key>
|
||||||
|
<string>selection</string>
|
||||||
|
<key>keyEquivalent</key>
|
||||||
|
<string>@Y</string>
|
||||||
|
<key>name</key>
|
||||||
|
<string>References to</string>
|
||||||
|
<key>output</key>
|
||||||
|
<string>discard</string>
|
||||||
|
<key>uuid</key>
|
||||||
|
<string>22917CBF-054E-49ED-8AFA-7B72C0CFFA3A</string>
|
||||||
|
</dict>
|
||||||
|
</plist>
|
|
@ -0,0 +1,21 @@
|
||||||
|
<?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>saveActiveFile</string>
|
||||||
|
<key>command</key>
|
||||||
|
<string>require_cmd sc3ctrl
|
||||||
|
sc3ctrl -k</string>
|
||||||
|
<key>input</key>
|
||||||
|
<string>none</string>
|
||||||
|
<key>keyEquivalent</key>
|
||||||
|
<string>@k</string>
|
||||||
|
<key>name</key>
|
||||||
|
<string>Recompile class library</string>
|
||||||
|
<key>output</key>
|
||||||
|
<string>discard</string>
|
||||||
|
<key>uuid</key>
|
||||||
|
<string>0EE79AEB-E9A7-4ABE-98A0-6CDBF3F3777A</string>
|
||||||
|
</dict>
|
||||||
|
</plist>
|
|
@ -0,0 +1,21 @@
|
||||||
|
<?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>require_cmd sc3ctrl
|
||||||
|
sc3ctrl -p</string>
|
||||||
|
<key>input</key>
|
||||||
|
<string>none</string>
|
||||||
|
<key>keyEquivalent</key>
|
||||||
|
<string>@?</string>
|
||||||
|
<key>name</key>
|
||||||
|
<string>Post window to front</string>
|
||||||
|
<key>output</key>
|
||||||
|
<string>discard</string>
|
||||||
|
<key>uuid</key>
|
||||||
|
<string>81E4BC21-07E5-4E61-B5C8-3CC5B527C8CE</string>
|
||||||
|
</dict>
|
||||||
|
</plist>
|
|
@ -0,0 +1,75 @@
|
||||||
|
SuperCollider/TextMate bundle
|
||||||
|
=============================
|
||||||
|
|
||||||
|
Contained is a SuperCollider bundle for TextMate. The bundle utilizes OSX's AppleScript to automate basic SC functionality, such as executing code, stopping playback and recompiling the class library, all using standard keyboard shortcuts, and all from within TextMate.
|
||||||
|
|
||||||
|
This bundle is still in development/beta phase, please report any problems or comments.
|
||||||
|
|
||||||
|
|
||||||
|
Prerequisites
|
||||||
|
=============
|
||||||
|
|
||||||
|
SuperCollider - a recent build: http://supercollider.wesleyan.edu/
|
||||||
|
TextMate - http://macromates.com/
|
||||||
|
Git - http://code.google.com/p/git-osx-installer/ or http://git.or.cz/
|
||||||
|
|
||||||
|
|
||||||
|
Installation
|
||||||
|
============
|
||||||
|
|
||||||
|
cd ~/Library/Application\ Support/TextMate/Bundles/
|
||||||
|
git clone git://github.com/rfwatson/textmate-supercollider.git SuperCollider.tmbundle
|
||||||
|
defaults write /Applications/SuperCollider/SuperCollider.app/Contents/Info NSAppleScriptEnabled -bool YES
|
||||||
|
|
||||||
|
The final command enables basic AppleScript functionality in SuperCollider, and is required.
|
||||||
|
You may need to adapt the above commands to match your paths to TextMate Bundles/, and SuperCollider.app.
|
||||||
|
|
||||||
|
|
||||||
|
Usage
|
||||||
|
=====
|
||||||
|
|
||||||
|
1) Launch TextMate. Open a .sc file. Ensure SuperCollider bundle is selected.
|
||||||
|
|
||||||
|
2) Launch SuperCollider.app.
|
||||||
|
|
||||||
|
The following key commands should work in TextMate:
|
||||||
|
|
||||||
|
ENTER - execute line, or selection if available
|
||||||
|
CTRL-. - stop playback
|
||||||
|
CMD-K - recompile class library
|
||||||
|
CMD-D - open help
|
||||||
|
SHIFT-CMD-D - open help browser
|
||||||
|
CMD-? - post window to front
|
||||||
|
SHIFT-CMD-C - clear post window
|
||||||
|
CTRL-ALT-CMD-S - switch to SuperCollider mode (should be automatic with .sc files)
|
||||||
|
|
||||||
|
|
||||||
|
LIMITATIONS
|
||||||
|
===========
|
||||||
|
|
||||||
|
Selecting a word and searching the help file, or class definition, for it is not yet implemented. For the meantime, I find the quickest way to access these files is to copy them somewhere in your home directory, and then use Spotlight to search for them (shortcut: CMD-spacebar).
|
||||||
|
|
||||||
|
TextMate does not handle .rtf files, so old source files may need copy-and-pasting into TextMate, or otherwise converting to plain text.
|
||||||
|
|
||||||
|
|
||||||
|
CREDITS
|
||||||
|
=======
|
||||||
|
|
||||||
|
Jacob Rus's menu_click functions: http://pastie.org/14358
|
||||||
|
|
||||||
|
|
||||||
|
TODO
|
||||||
|
====
|
||||||
|
|
||||||
|
- Tidy up syntax highlighting, is somewhat messy at the moment
|
||||||
|
- Enable searching of help files/class defs from within TextMate
|
||||||
|
- Clean up AppleScript/menu_click function
|
||||||
|
- Some strange menu rendering problems when switching between apps??
|
||||||
|
- ??????
|
||||||
|
|
||||||
|
|
||||||
|
CONTACT
|
||||||
|
=======
|
||||||
|
|
||||||
|
Contact me via github:
|
||||||
|
http://github.com/rfwatson
|
|
@ -0,0 +1,14 @@
|
||||||
|
<?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>content</key>
|
||||||
|
<string>Buffer.read(${1:s}, "${2:sounds/Amen.wav}");</string>
|
||||||
|
<key>name</key>
|
||||||
|
<string>Buffer.read</string>
|
||||||
|
<key>tabTrigger</key>
|
||||||
|
<string>buf</string>
|
||||||
|
<key>uuid</key>
|
||||||
|
<string>7BF22058-5A13-443D-9809-BD68A75EAFB3</string>
|
||||||
|
</dict>
|
||||||
|
</plist>
|
|
@ -0,0 +1,14 @@
|
||||||
|
<?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>content</key>
|
||||||
|
<string>Synth(\\${1:foobar}, [\\${2:arg}, ${3:value}]);</string>
|
||||||
|
<key>name</key>
|
||||||
|
<string>Create Synth</string>
|
||||||
|
<key>tabTrigger</key>
|
||||||
|
<string>syn</string>
|
||||||
|
<key>uuid</key>
|
||||||
|
<string>5C56B0A4-BC6D-4A15-8876-BF43BE54AC63</string>
|
||||||
|
</dict>
|
||||||
|
</plist>
|
|
@ -0,0 +1,16 @@
|
||||||
|
<?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>content</key>
|
||||||
|
<string>SynthDef(\\${1:foobar}) { |${2:out=0}$3|
|
||||||
|
$0
|
||||||
|
}.play(s);</string>
|
||||||
|
<key>name</key>
|
||||||
|
<string>Create SynthDef</string>
|
||||||
|
<key>tabTrigger</key>
|
||||||
|
<string>sdef</string>
|
||||||
|
<key>uuid</key>
|
||||||
|
<string>99EFA3F0-FDE6-4209-BED6-E051109CC51A</string>
|
||||||
|
</dict>
|
||||||
|
</plist>
|
|
@ -0,0 +1,16 @@
|
||||||
|
<?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>content</key>
|
||||||
|
<string>{ |${1:arg=value}|
|
||||||
|
$2
|
||||||
|
</string>
|
||||||
|
<key>name</key>
|
||||||
|
<string>Create function</string>
|
||||||
|
<key>tabTrigger</key>
|
||||||
|
<string>{</string>
|
||||||
|
<key>uuid</key>
|
||||||
|
<string>C56D8EA0-215E-438C-B039-23830645FFDA</string>
|
||||||
|
</dict>
|
||||||
|
</plist>
|
|
@ -0,0 +1,14 @@
|
||||||
|
<?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>content</key>
|
||||||
|
<string>EnvGen.kr(${1:env}, doneAction: ${2:2})</string>
|
||||||
|
<key>name</key>
|
||||||
|
<string>EnvGen.kr</string>
|
||||||
|
<key>tabTrigger</key>
|
||||||
|
<string>egen</string>
|
||||||
|
<key>uuid</key>
|
||||||
|
<string>F70E5246-BA0F-4201-8C63-09D8CE38A690</string>
|
||||||
|
</dict>
|
||||||
|
</plist>
|
|
@ -0,0 +1,14 @@
|
||||||
|
<?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>content</key>
|
||||||
|
<string>w.view.decorator = FlowLayout(w.view.bounds);</string>
|
||||||
|
<key>name</key>
|
||||||
|
<string>FlowLayout</string>
|
||||||
|
<key>tabTrigger</key>
|
||||||
|
<string>flow</string>
|
||||||
|
<key>uuid</key>
|
||||||
|
<string>2C468C9B-66BB-40C6-B845-E2360D4717B4</string>
|
||||||
|
</dict>
|
||||||
|
</plist>
|
|
@ -0,0 +1,16 @@
|
||||||
|
<?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>content</key>
|
||||||
|
<string>Out.ar(${1:out},
|
||||||
|
$2
|
||||||
|
);</string>
|
||||||
|
<key>name</key>
|
||||||
|
<string>Out.ar</string>
|
||||||
|
<key>tabTrigger</key>
|
||||||
|
<string>Out</string>
|
||||||
|
<key>uuid</key>
|
||||||
|
<string>59AA6C90-F786-434B-B10E-DA608EFBC824</string>
|
||||||
|
</dict>
|
||||||
|
</plist>
|
|
@ -0,0 +1,17 @@
|
||||||
|
<?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>content</key>
|
||||||
|
<string>Routine {
|
||||||
|
|
||||||
|
${1:1.wait}
|
||||||
|
};</string>
|
||||||
|
<key>name</key>
|
||||||
|
<string>Routine</string>
|
||||||
|
<key>tabTrigger</key>
|
||||||
|
<string>rout</string>
|
||||||
|
<key>uuid</key>
|
||||||
|
<string>60CB2E7D-7CB0-478E-89D8-0D1EDB28B729</string>
|
||||||
|
</dict>
|
||||||
|
</plist>
|
|
@ -0,0 +1,14 @@
|
||||||
|
<?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>content</key>
|
||||||
|
<string>SCWindow("${1:window title}", Rect(${2:x}, ${3:y}, ${4:width}, ${5:height}));</string>
|
||||||
|
<key>name</key>
|
||||||
|
<string>SCWindow.new</string>
|
||||||
|
<key>tabTrigger</key>
|
||||||
|
<string>win</string>
|
||||||
|
<key>uuid</key>
|
||||||
|
<string>C5F4C24C-AFE2-4B63-A925-7DA638E8BE1A</string>
|
||||||
|
</dict>
|
||||||
|
</plist>
|
|
@ -0,0 +1,14 @@
|
||||||
|
<?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>content</key>
|
||||||
|
<string>Server.killAll; Server.default.boot</string>
|
||||||
|
<key>name</key>
|
||||||
|
<string>Server.killAll</string>
|
||||||
|
<key>tabTrigger</key>
|
||||||
|
<string>sk</string>
|
||||||
|
<key>uuid</key>
|
||||||
|
<string>C0B1536B-6B8C-4803-A81C-542575112AEA</string>
|
||||||
|
</dict>
|
||||||
|
</plist>
|
|
@ -0,0 +1,14 @@
|
||||||
|
<?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>content</key>
|
||||||
|
<string>.standardizePath$0</string>
|
||||||
|
<key>name</key>
|
||||||
|
<string>.standardizePath</string>
|
||||||
|
<key>tabTrigger</key>
|
||||||
|
<string>.sp</string>
|
||||||
|
<key>uuid</key>
|
||||||
|
<string>FD6AB222-41B0-4851-AE06-D91F5422D7E1</string>
|
||||||
|
</dict>
|
||||||
|
</plist>
|
|
@ -0,0 +1,16 @@
|
||||||
|
<?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>content</key>
|
||||||
|
<string>do { |${1:arg}|
|
||||||
|
$2
|
||||||
|
};</string>
|
||||||
|
<key>name</key>
|
||||||
|
<string>do ...</string>
|
||||||
|
<key>tabTrigger</key>
|
||||||
|
<string>do</string>
|
||||||
|
<key>uuid</key>
|
||||||
|
<string>CD1B6200-5017-4892-9A71-8C217F308C5A</string>
|
||||||
|
</dict>
|
||||||
|
</plist>
|
|
@ -0,0 +1,18 @@
|
||||||
|
<?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>content</key>
|
||||||
|
<string>if(${1:condition}) {
|
||||||
|
${2:true}
|
||||||
|
} {
|
||||||
|
${3:false}
|
||||||
|
};</string>
|
||||||
|
<key>name</key>
|
||||||
|
<string>if ...</string>
|
||||||
|
<key>tabTrigger</key>
|
||||||
|
<string>if</string>
|
||||||
|
<key>uuid</key>
|
||||||
|
<string>C0F1C9B0-6393-4B2B-86B4-40010363DCDE</string>
|
||||||
|
</dict>
|
||||||
|
</plist>
|
|
@ -0,0 +1,14 @@
|
||||||
|
<?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>content</key>
|
||||||
|
<string>{ ${1:SinOsc.ar} }.play</string>
|
||||||
|
<key>name</key>
|
||||||
|
<string>play</string>
|
||||||
|
<key>tabTrigger</key>
|
||||||
|
<string>play</string>
|
||||||
|
<key>uuid</key>
|
||||||
|
<string>F24F5356-B6BD-4849-9287-BC500D18F84D</string>
|
||||||
|
</dict>
|
||||||
|
</plist>
|
|
@ -0,0 +1,14 @@
|
||||||
|
<?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>content</key>
|
||||||
|
<string>s.queryAllNodes</string>
|
||||||
|
<key>name</key>
|
||||||
|
<string>s.queryAllNodes</string>
|
||||||
|
<key>tabTrigger</key>
|
||||||
|
<string>s.q</string>
|
||||||
|
<key>uuid</key>
|
||||||
|
<string>F0523CC5-90CA-49B5-82BA-4EF94A675767</string>
|
||||||
|
</dict>
|
||||||
|
</plist>
|
|
@ -0,0 +1,14 @@
|
||||||
|
<?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>content</key>
|
||||||
|
<string>.openHelpFile</string>
|
||||||
|
<key>name</key>
|
||||||
|
<string>.openHelpFile</string>
|
||||||
|
<key>tabTrigger</key>
|
||||||
|
<string>.h</string>
|
||||||
|
<key>uuid</key>
|
||||||
|
<string>8FA2A21C-E1C9-41AE-AEAB-7FF573747A7C</string>
|
||||||
|
</dict>
|
||||||
|
</plist>
|
|
@ -0,0 +1,14 @@
|
||||||
|
<?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>content</key>
|
||||||
|
<string>.openCodeFile</string>
|
||||||
|
<key>name</key>
|
||||||
|
<string>.openCodeFile</string>
|
||||||
|
<key>tabTrigger</key>
|
||||||
|
<string>.c</string>
|
||||||
|
<key>uuid</key>
|
||||||
|
<string>2635D12B-F4B6-45B6-8BA4-B50215737165</string>
|
||||||
|
</dict>
|
||||||
|
</plist>
|
|
@ -0,0 +1,14 @@
|
||||||
|
<?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>content</key>
|
||||||
|
<string>^super.new.init$0;</string>
|
||||||
|
<key>name</key>
|
||||||
|
<string>^super.new.init</string>
|
||||||
|
<key>tabTrigger</key>
|
||||||
|
<string>rsup</string>
|
||||||
|
<key>uuid</key>
|
||||||
|
<string>AAB067B5-0CF4-476D-8EF6-A5240A1883F1</string>
|
||||||
|
</dict>
|
||||||
|
</plist>
|
|
@ -0,0 +1,14 @@
|
||||||
|
<?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>content</key>
|
||||||
|
<string>asCompileString</string>
|
||||||
|
<key>name</key>
|
||||||
|
<string>asCompileString</string>
|
||||||
|
<key>tabTrigger</key>
|
||||||
|
<string>ascs</string>
|
||||||
|
<key>uuid</key>
|
||||||
|
<string>BA4AE872-4314-4D57-B2C6-6A66CCC5F55E</string>
|
||||||
|
</dict>
|
||||||
|
</plist>
|
|
@ -0,0 +1,14 @@
|
||||||
|
<?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>content</key>
|
||||||
|
<string>doneAction: ${1:2}$2</string>
|
||||||
|
<key>name</key>
|
||||||
|
<string>doneAction</string>
|
||||||
|
<key>tabTrigger</key>
|
||||||
|
<string>da</string>
|
||||||
|
<key>uuid</key>
|
||||||
|
<string>EEDC65AF-1F53-4E2F-AA08-D1E04FAC5B1D</string>
|
||||||
|
</dict>
|
||||||
|
</plist>
|
|
@ -0,0 +1,14 @@
|
||||||
|
<?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>content</key>
|
||||||
|
<string>.postln</string>
|
||||||
|
<key>name</key>
|
||||||
|
<string>.postln</string>
|
||||||
|
<key>tabTrigger</key>
|
||||||
|
<string>.p</string>
|
||||||
|
<key>uuid</key>
|
||||||
|
<string>89218E54-78ED-4C0B-92C9-8FEC7E3B2664</string>
|
||||||
|
</dict>
|
||||||
|
</plist>
|
|
@ -0,0 +1,159 @@
|
||||||
|
<?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>fileTypes</key>
|
||||||
|
<array>
|
||||||
|
<string>sc</string>
|
||||||
|
</array>
|
||||||
|
<key>foldingStartMarker</key>
|
||||||
|
<string>\{|\/\*</string>
|
||||||
|
<key>foldingStopMarker</key>
|
||||||
|
<string>\}|\*\/</string>
|
||||||
|
<key>keyEquivalent</key>
|
||||||
|
<string>^~@s</string>
|
||||||
|
<key>name</key>
|
||||||
|
<string>SuperCollider</string>
|
||||||
|
<key>patterns</key>
|
||||||
|
<array>
|
||||||
|
<dict>
|
||||||
|
<key>match</key>
|
||||||
|
<string>\b(arg|var|classvar|this|thisThread|thisMethod|thisFunction|true|false|inf|nil)\b</string>
|
||||||
|
<key>name</key>
|
||||||
|
<string>keyword.control.supercollider</string>
|
||||||
|
</dict>
|
||||||
|
<dict>
|
||||||
|
<key>begin</key>
|
||||||
|
<string>"</string>
|
||||||
|
<key>end</key>
|
||||||
|
<string>"</string>
|
||||||
|
<key>name</key>
|
||||||
|
<string>string.quoted.double.supercollider</string>
|
||||||
|
<key>patterns</key>
|
||||||
|
<array>
|
||||||
|
<dict>
|
||||||
|
<key>match</key>
|
||||||
|
<string>\\.</string>
|
||||||
|
<key>name</key>
|
||||||
|
<string>constant.character.escape.supercollider</string>
|
||||||
|
</dict>
|
||||||
|
</array>
|
||||||
|
</dict>
|
||||||
|
<dict>
|
||||||
|
<key>begin</key>
|
||||||
|
<string>'</string>
|
||||||
|
<key>end</key>
|
||||||
|
<string>'</string>
|
||||||
|
<key>name</key>
|
||||||
|
<string>entity.name.symbol.supercollider</string>
|
||||||
|
<key>patterns</key>
|
||||||
|
<array>
|
||||||
|
<dict>
|
||||||
|
<key>match</key>
|
||||||
|
<string>\\.</string>
|
||||||
|
<key>name</key>
|
||||||
|
<string>constant.character.escape.supercollider</string>
|
||||||
|
</dict>
|
||||||
|
</array>
|
||||||
|
</dict>
|
||||||
|
<dict>
|
||||||
|
<key>match</key>
|
||||||
|
<string>[a-z][a-zA-Z0-9_]*\:</string>
|
||||||
|
<key>name</key>
|
||||||
|
<string>support.name.tag.supercollider</string>
|
||||||
|
</dict>
|
||||||
|
<dict>
|
||||||
|
<key>captures</key>
|
||||||
|
<dict>
|
||||||
|
<key>1</key>
|
||||||
|
<dict>
|
||||||
|
<key>name</key>
|
||||||
|
<string>entity.name.class.supercollider</string>
|
||||||
|
</dict>
|
||||||
|
</dict>
|
||||||
|
<key>match</key>
|
||||||
|
<string>^\s*\+*\s*([A-Z]{1}[a-zA-Z0-9_]*)\s*\:{1}\s*([A-Z]{1}[a-zA-Z0-9_]*)\s*\{</string>
|
||||||
|
</dict>
|
||||||
|
<dict>
|
||||||
|
<key>captures</key>
|
||||||
|
<dict>
|
||||||
|
<key>1</key>
|
||||||
|
<dict>
|
||||||
|
<key>name</key>
|
||||||
|
<string>entity.name.class.supercollider</string>
|
||||||
|
</dict>
|
||||||
|
</dict>
|
||||||
|
<key>match</key>
|
||||||
|
<string>^([A-Z_]{1}[a-zA-Z0-9_]*)[^a-zA-Z0-9_]</string>
|
||||||
|
</dict>
|
||||||
|
<dict>
|
||||||
|
<key>match</key>
|
||||||
|
<string>\|[a-zA-Z0-9\#\[\]\_\=\.\(\)[[:space:]]\,]+\|</string>
|
||||||
|
<key>name</key>
|
||||||
|
<string>variable.parameter.function.supercollider</string>
|
||||||
|
</dict>
|
||||||
|
<dict>
|
||||||
|
<key>captures</key>
|
||||||
|
<dict>
|
||||||
|
<key>1</key>
|
||||||
|
<dict>
|
||||||
|
<key>name</key>
|
||||||
|
<string>entity.name.class.supercollider</string>
|
||||||
|
</dict>
|
||||||
|
</dict>
|
||||||
|
<key>match</key>
|
||||||
|
<string>[^a-zA-Z0-9\\]([A-Z_]{1}[a-zA-Z0-9_]*)[^a-zA-Z0-9_]</string>
|
||||||
|
</dict>
|
||||||
|
<dict>
|
||||||
|
<key>match</key>
|
||||||
|
<string>\\[a-zA-Z0-9\_]+</string>
|
||||||
|
<key>name</key>
|
||||||
|
<string>entity.name.symbol.supercollider</string>
|
||||||
|
</dict>
|
||||||
|
<dict>
|
||||||
|
<key>captures</key>
|
||||||
|
<dict>
|
||||||
|
<key>1</key>
|
||||||
|
<dict>
|
||||||
|
<key>name</key>
|
||||||
|
<string>entity.name.function.supercollider</string>
|
||||||
|
</dict>
|
||||||
|
</dict>
|
||||||
|
<key>match</key>
|
||||||
|
<string>^\s*(\**[a-z]{1}[a-zA-Z0-9_]+)\s*\{</string>
|
||||||
|
</dict>
|
||||||
|
<dict>
|
||||||
|
<key>match</key>
|
||||||
|
<string>\~[a-zA-Z0-9]+</string>
|
||||||
|
<key>name</key>
|
||||||
|
<string>variable.language.supercollider</string>
|
||||||
|
</dict>
|
||||||
|
<dict>
|
||||||
|
<key>match</key>
|
||||||
|
<string>\/\/.*</string>
|
||||||
|
<key>name</key>
|
||||||
|
<string>comment.single.supercollider</string>
|
||||||
|
</dict>
|
||||||
|
<dict>
|
||||||
|
<key>begin</key>
|
||||||
|
<string>\/\*</string>
|
||||||
|
<key>end</key>
|
||||||
|
<string>\*\/</string>
|
||||||
|
<key>name</key>
|
||||||
|
<string>comment.multiline.supercollider</string>
|
||||||
|
</dict>
|
||||||
|
<dict>
|
||||||
|
<key>comment</key>
|
||||||
|
<string>source: ruby bundle</string>
|
||||||
|
<key>match</key>
|
||||||
|
<string>\b(0[xX]\h(?>_?\h)*|\d(?>_?\d)*(\.(?![^[:space:][:digit:]])(?>_?\d)*)?([eE][-+]?\d(?>_?\d)*)?|0[bB][01]+)\b</string>
|
||||||
|
<key>name</key>
|
||||||
|
<string>constant.numeric.supercollider</string>
|
||||||
|
</dict>
|
||||||
|
</array>
|
||||||
|
<key>scopeName</key>
|
||||||
|
<string>source.supercollider</string>
|
||||||
|
<key>uuid</key>
|
||||||
|
<string>F63E530D-4C84-4C66-9EAA-6FC504FA4587</string>
|
||||||
|
</dict>
|
||||||
|
</plist>
|
|
@ -0,0 +1,44 @@
|
||||||
|
<?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>name</key>
|
||||||
|
<string>SuperCollider</string>
|
||||||
|
<key>ordering</key>
|
||||||
|
<array>
|
||||||
|
<string>F63E530D-4C84-4C66-9EAA-6FC504FA4587</string>
|
||||||
|
<string>2C468C9B-66BB-40C6-B845-E2360D4717B4</string>
|
||||||
|
<string>EEDC65AF-1F53-4E2F-AA08-D1E04FAC5B1D</string>
|
||||||
|
<string>F70E5246-BA0F-4201-8C63-09D8CE38A690</string>
|
||||||
|
<string>C56D8EA0-215E-438C-B039-23830645FFDA</string>
|
||||||
|
<string>60CB2E7D-7CB0-478E-89D8-0D1EDB28B729</string>
|
||||||
|
<string>C5F4C24C-AFE2-4B63-A925-7DA638E8BE1A</string>
|
||||||
|
<string>C0F1C9B0-6393-4B2B-86B4-40010363DCDE</string>
|
||||||
|
<string>CD1B6200-5017-4892-9A71-8C217F308C5A</string>
|
||||||
|
<string>99EFA3F0-FDE6-4209-BED6-E051109CC51A</string>
|
||||||
|
<string>7BF22058-5A13-443D-9809-BD68A75EAFB3</string>
|
||||||
|
<string>5C56B0A4-BC6D-4A15-8876-BF43BE54AC63</string>
|
||||||
|
<string>AAB067B5-0CF4-476D-8EF6-A5240A1883F1</string>
|
||||||
|
<string>F0523CC5-90CA-49B5-82BA-4EF94A675767</string>
|
||||||
|
<string>F24F5356-B6BD-4849-9287-BC500D18F84D</string>
|
||||||
|
<string>59AA6C90-F786-434B-B10E-DA608EFBC824</string>
|
||||||
|
<string>89218E54-78ED-4C0B-92C9-8FEC7E3B2664</string>
|
||||||
|
<string>8FA2A21C-E1C9-41AE-AEAB-7FF573747A7C</string>
|
||||||
|
<string>2635D12B-F4B6-45B6-8BA4-B50215737165</string>
|
||||||
|
<string>FD6AB222-41B0-4851-AE06-D91F5422D7E1</string>
|
||||||
|
<string>BA4AE872-4314-4D57-B2C6-6A66CCC5F55E</string>
|
||||||
|
<string>C0B1536B-6B8C-4803-A81C-542575112AEA</string>
|
||||||
|
<string>EAC732CB-6B38-4E0A-9BD4-D377562331D9</string>
|
||||||
|
<string>81F7F82A-5C77-463E-BE36-15E0DAFF9930</string>
|
||||||
|
<string>FB64DE22-E1F3-48CC-AE67-21B7E008ADD5</string>
|
||||||
|
<string>81E4BC21-07E5-4E61-B5C8-3CC5B527C8CE</string>
|
||||||
|
<string>0EE79AEB-E9A7-4ABE-98A0-6CDBF3F3777A</string>
|
||||||
|
<string>264ACF44-52AC-4AD4-8C13-0F49E0DAAA12</string>
|
||||||
|
<string>293C4F9B-E1A4-4D01-83E7-0698112C7FA4</string>
|
||||||
|
<string>3BAE7DE4-D06A-422B-94A3-7F542C47ED0F</string>
|
||||||
|
<string>22917CBF-054E-49ED-8AFA-7B72C0CFFA3A</string>
|
||||||
|
</array>
|
||||||
|
<key>uuid</key>
|
||||||
|
<string>7613A472-3FAB-454C-8CF2-2E62F0D00920</string>
|
||||||
|
</dict>
|
||||||
|
</plist>
|
Loading…
Reference in New Issue