Using Coda? Here are three recommended plugins I use daily.
Zen Coding
Takes a while to learn but the most flexible HTML/CSS-Shortcut system ever (yes, ever, at the moment).
It works quite easy:
- You type
div
, press^E
(the global shortcut key) and<div></div>
is inserted in Coda.
The cool thing is, that you can also do this:
- Type
div#whatulike
and<div id="whatulike"></div>
is inserted div*2
gives<div></div><div></div>
div#someid>p
inserts<div id="someid"><p></p></div>
There are numerous other examples (also for CSS) and some screencasts showing the concept:
http://code.google.com/p/zen-coding/
Line Commands
What I really miss from Eclipse are the following features:
- Go to last edit location (regardless if it’s in another file)
- Word completion (aka “Hippie Completion”, don’t ask), best completion system on the planet
- Move Line Up/Down, Duplicate Line Up/Down
At least the last was rebuilt in Coda, although somewhat slow:
http://code.google.com/p/codaplugins/downloads/list
Remove Trailing Whitespaces
This is something Panic could really add in the next version (with “trim on save”):
http://erikhinterbichler.com/software/white-out/
Other pages with hints and plugins I found useful:
http://www.macstories.net/tutorials/coda-a-collection-of-120-plugins…
http://www.drastudio.com/…/adding-more-coda-books/
http://www.mactricksandtips.com/…/32-coda-tips-and-tricks.html
http://www.upstartblogger.com/30-panic-coda-tips-and-tricks
http://www.digitalistic.com/2009/03/31/pimp-my-coda/
What are the shortcuts for moving/duplicating a line?
Currently these functions aren’t present in Coda 1 and 2. As far as I know there are plugins for Coda which provide such functions.
Following the above instructions (after installing from the Github repo) ^E does not expand (e.g.) div in Coda v1.7 (on 10.4.11, Python 2.6)?
I tried the latest (stable) version for Coda:
http://code.google.com/p/zen-coding/downloads/detail?name=Zen.Coding-Coda.v0.7.zip
It works here without problems. You can temporarily remove all other plugins (in case you have a conflict there), but otherwise I’d submit an issue on their google code page.
I don’t see a Coda plug-in listed on the Zen Coding link you gave above. Am I overlooking it?
Well it’s somewhat hidden – you have to go to Downloads, select “Deprecated downloads” and click search..
Here is the direct link: Zen.Coding-Coda.v0.3-UB.zip
Just found this: http://onecrayon.com/tea/coda/