I code format like this…
h1 {
width:480px;
height:200px;
}
Coda auto formats like this as I write the rules…
h1 {
____width: 480px;
____height: 200px;
}
Notice the tab and the space after the width. Anyway to remove this auto feature?
I code format like this…
h1 {
width:480px;
height:200px;
}
Coda auto formats like this as I write the rules…
h1 {
____width: 480px;
____height: 200px;
}
Notice the tab and the space after the width. Anyway to remove this auto feature?
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.
Nice solution Jason!
Maybe you know how to “beautify” code in Coda? I couldn’t find plugin or AppleScript for that.
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.