RubyOnRails.codaplugin is a simple Plug-In (created with Coda Plug-In Creator) that uses a few super ultra simple ruby scripts to try to bring some of the missing keyboard shortcuts in Coda for basic Ruby On Rails development.
IMPORTANT! Do NOT check out this repo “as” the plugin itself, since the Coda Plug-In Creator will overwrite this README but most important, the .git directory! Instead:
Simply check out this repo (that is, as a folder, not a bundle!) into ~/Library/Application Support/Coda/Plug-ins
. In this folder you will find this README but also RubyOnRails.codaplugin
. Restart Coda.
Right now there’s a very simple set of shortcuts
- Typing { will insert {} with the cursor in between
- Typing ( will do the same with ()
- Hitting ^L (Ctrl L) will insert “=>”
- Hitting ^3 or ^# (Ctrl 3 or Ctrl #) will insert #{}
- Hitting ^Shift’ or ^" (Ctrl-Shift Simple Quote or Ctrl-Double Quote) will wrap the selection with " "
- Hitting ^’ (Ctrl Simple Quote) will wrap the selection with ’ ’
Sadly coda doesn’t have keyboard triggers, AFAIK, so I had to use ^3 for example :(
Written by StuFF mc – Pomcast.biz
Fork this repo, open this same “RubyOnRails.codaplugin” file/bundle in Coda Plug-In Creator and add things, then send me a pull request!
Thanks to Panic for creating a kick-ass IDE! You might also be interested by the YAML.mode and the YAML Navigator (very experimental Cocoa Coda Plugin).