Debugging Coda Plug-In with LLDB

  1. Open Edit Scheme window (⌘<).
  2. Select Run pane from side bar.
  3. In Info tab, select Coda 2.app from Executable dropdown.
  4. Click the OK button to close the window.
  5. Select your your plug-in target.
  6. Select Build Settings tab, click Add Build Setting, select Add User-Defined Setting and set name as INSTALL_BUNDLE, value as 1 for Debug configuration.
  7. Switch to Build Phase tab, click Add Build Phase button and select Add Run Script
  8. Copy and paste the script bellow.
if [ $INSTALL_BUNDLE == 1 ]; then
...

Released Gist Plugin for Coda 2

screen

This plug-in allows you to create public and private gists from current active document.

http://ngs.github.com/gist-codaplugin

Migrating Coda modes to Coda 2

Coda 1.x modes are not compatible with Coda 2.

This is how to migrate Coda 1.x modes to Coda 2.

Locations

style
~/Library/Application Support/Coda 2/Styles
mode
~/Library/Application Support/Coda 2/Modes

SSS

.sss elements match scope attributes of each nodes in SyntaxDefinition.xml.

<keywords id="Tags" useforautocomplete="no" scope="markup.tag">
markup.tag {
  color:#881280;
  font-weight:normal;
}

The sss rules are inherited from upper scope separated by dots.

markup.tag {
  color:#881280

jquery-rails confirmation with Bootstrap

In default, jquery-rails prompts with native JavaScript confirm. That’s sucks.

So I overrode $.rails.fire method to show Bootstrap style modal instead.

Read On 

Released iGist - The Gist Client for iPhone, iPad

iGist

Read On