diff --git a/README b/README deleted file mode 100644 index b1012b3..0000000 --- a/README +++ /dev/null @@ -1,75 +0,0 @@ -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 diff --git a/README.html b/README.html deleted file mode 100644 index 56d665d..0000000 --- a/README.html +++ /dev/null @@ -1,98 +0,0 @@ -
A SuperCollider bundle for TextMate.
- - -ENTER
CTRL-PERIOD
CMD-k
CMD-d
CMD-j
CMD-y
CMD-Y
CMD-?
CMD-SHIFT-C
CMD-ALT-CTRL-S
-plus various snippets – check the bundle.
I’ve extracted the underlying code to allow control of SC.app from any command line application.
sc3ctrl on github
This is a new implementation and still as yet not properly tested
Via github
diff --git a/README.textile b/README.textile index c78bbec..f642aa5 100644 --- a/README.textile +++ b/README.textile @@ -4,12 +4,34 @@ A "SuperCollider":http://supercollider.sourceforge.net bundle for "TextMate":htt !http://farm4.static.flickr.com/3214/3005708965_4b6122cc66.jpg!:http://farm4.static.flickr.com/3214/3005708965_4b6122cc66_b.jpg -"Download most recent tarball":http://github.com/rfwatson/textmate-supercollider/tarball/master - h2. Requirements A "recent build":http://sourceforge.net/projects/supercollider of SC (>= 3.3 alpha) +h2. Installation + +h3. With git + +* @mkdir -p ~/Library/Application\ Support/TextMate/Bundles@ +* @cd ~/Library/Application\ Support/TextMate/Bundles@ +* @git clone git://github.com/rfwatson/supercollider-tmbundle.git "SuperCollider.tmbundle"@ +* @osascript -e 'tell app "TextMate" to reload bundles'@ + +h3. Without git + +* @mkdir -p ~/Library/Application\ Support/TextMate/Bundles@ +* @cd ~/Library/Application\ Support/TextMate/Bundles@ +* @wget http://github.com/rfwatson/supercollider-tmbundle/tarball/master@ +* @tar zxf rfwatson-supercollider-tmbundle*.tar.gz@ +* @rm rfwatson-supercollider-tmbundle*.tar.gz@ +* @mv rfwatson-supercollider-tmbundle* SuperCollider.tmbundle@ +* @osascript -e 'tell app "TextMate" to reload bundles'@ + +h3. After installing + +* Open TextMate and select 'SuperCollider' bundle +* Press CMD-SHIFT-F1 to complete installation. + h2. Key controls * @ENTER@