picnictutorials — 2014-04-17T08:07:58-04:00 — #1
I code format like this...
Coda auto formats like this as I write the rules...
Notice the tab and the space after the width. Anyway to remove this auto feature?
jason_macfarlane — 2014-07-22T08:15:51-04:00 — #2
I know this is an old thread, but if you're still having that problem.. Go to Coda > Preferences, click on the Editor tab, and uncheck "Indent new lines." This will stop the indentations in every file though. But I'm not sure if there's a way to remove the space after the colons... I usually just backspace every time it does that.
volter9 — 2014-07-23T12:32:18-04:00 — #3
Nice solution Jason!
Maybe you know how to "beautify" code in Coda? I couldn't find plugin or AppleScript for that.
jason_macfarlane — 2014-07-24T15:37:31-04:00 — #4
I'm not sure if this is what you mean, but I have a plugin called "PHP & Web Toolkit" (http://www.chipwreck.de/blog/software/coda-php). It can tidy code, validate it, and minify it. That's the only plugin I use and it works great! I don't know if that's what you want though, because it'll automatically add the indentations when you "tidy" your code.