This is just a quick post to provide a permanent link to another little plug-in for Coda, Tabster:
http://code.google.com/p/tabsterforcoda/downloads/list
All Tabster does is map Tab and Shift-Tab to Command-] and Command-[, which allows you to indent blocks of text using the Tab key and outdent them by using Shift-Tab. Users of other editors that use these key combinations for block indenting will find this makes switching to Coda a lot easier.
The plug-in requires Mac OS 10.5 and is open source under the MIT license. Source code is inside the bundle and at Google Code.
Enjoy.
Update: Some users with non-English keyboards were reporting issues when pressing certain symbol keys. Version 1.02 should resolve this problem.
Update 2: Will Cosgrove from Panic pointed out some issues with the key press handling in another plug-in, Wrapster, that apply to Tabster also. I have modified the Tabster code to make things safer.
Update 3: I’ve fixed a bug introduced in 1.2 which caused shift-arrow to trigger Tabster. I’ve revved the version to 1.3 and moved the project to Google Code.
Update 4: Added a minor fix that works around an issue on Snow Leopard where the plug-in would stop working after a period of time.
January 5th, 2009 at 2:45 pm
So happy about the Coda updates but what’s the progress with MenuMachine?
January 5th, 2009 at 4:12 pm
Somehow I knew that question was coming
Everything is going very well. We still have a lot to do but the application is really looking good now and we are definitely on track.
January 7th, 2009 at 7:45 am
Are you still on track for the first quarter of ‘09?
January 7th, 2009 at 10:12 am
We may miss that estimate but not by much. It will definitely be in the first half of the year.
January 15th, 2009 at 1:21 pm
Any chance of a sneak preview – screen shots – a little tease to entice us?
January 17th, 2009 at 9:39 am
Hi Michael,
We will be releasing a little more info soon, I know how frustrating the waiting is.
January 25th, 2009 at 11:06 am
Omg, this is a great addon. Thank you so much, I’ve been looking for this for so long.
Keep it up!
January 27th, 2009 at 6:31 pm
Hi Rob,
There is a bug. After I installed the plugin, Coda crashes when I write ´`^
Its confirmed from Panic that the reason is Tabster.
The plugin is very nice, so I hope there will be a fix soon.
January 27th, 2009 at 6:39 pm
@Christian:
This problem should be resolved in version 1.02. Earlier versions could trigger this problem. If you are still having difficulties, please contact me directly at rob AT menumachine DOT com.
February 17th, 2009 at 12:52 am
great plugin!
February 23rd, 2009 at 7:53 pm
Really great plugin. Coda is perfect now!
March 27th, 2009 at 12:23 am
[...] http://menumachine.com/blog/2009/01/tab-key-indenting-for-coda/ [...]
March 27th, 2009 at 12:24 am
Hi, thank you for providing this plugin!
I need another one: tab character is counted as “1 char” in the line char count panel (bottom right in the editor).
I wish to have tab characters counted as “4″ (or real tab length) to have a correct line length value!
Bye!
March 27th, 2009 at 4:43 am
Maybe I misunderstood you — but there’s a “preference” inside Coda that lets you set how many characters a TAB represents.
Preferences\Editor = Set tab width to ” “
March 29th, 2009 at 11:53 pm
This is almost perfect, it just needs to apply the same functionality when you only have a single line selected.
Good work though!
April 5th, 2009 at 12:50 pm
i really really want this and its not showing up in my coda plug-ins menu? ive got it in the right folder along with a few other plugins that i have installed and they all show. Would it not show up if i dont have python installed?
April 5th, 2009 at 1:11 pm
@Chad:
It won’t show in the plug-ins menu because it doesn’t implement a menu. If it’s installed the functionality should “just work”.
April 6th, 2009 at 7:31 am
oh i see. so it is working for me on comment blocks, but not on regular code. is this how its designed to work or am i doing something wrong?
May 10th, 2009 at 1:56 am
Man that’s improving Coda that much. Thanks in advance.
It would be even more comfortable, if »Shift-Tab« works at the beginning of a line so I don’t have to select the whole line to shift left … like Phunky mentioned above.
June 6th, 2009 at 2:49 pm
brilliant! works like a charm w coda!
June 12th, 2009 at 3:19 am
Amazing! Thanks
Now I can fully love Coda!
…except for tab switching…
July 2nd, 2009 at 6:49 pm
Thanks for the Plugin, but there’s a bug:
When I press Shift+Down I can only select one line, then Tabster feels responsible for Shift+Down and unindents the first selected line. That should be fixed.
July 3rd, 2009 at 11:41 am
Yeah, it looks like this bug crept in with the last update, I’m taking a look at it.
July 7th, 2009 at 8:48 pm
Any news on the latest bug-fix for the shift+Down bug?
For the rest this is a great and appriciated plugin!
July 10th, 2009 at 8:06 pm
This shift-down bug is making me crazy. Please fix it this essential plugin. Cant understand why this is not default Coda behavior.
July 11th, 2009 at 1:00 pm
It’s fixed now, and I’ve moved the project to Google Code.
July 13th, 2009 at 11:17 pm
Great!! Thanks.
September 10th, 2009 at 9:41 pm
Since upgrading to Snow Leopard my tabster plugin keeps quitting randomly meaning I have to reinstall it – I’ve upgraded Coda to the latest version. The version on google code states 1.2 – does this need updating to 1.3 or can you provide a direct link to 1.3 so I can try the newer version to see if this resolves the issue?
September 11th, 2009 at 6:51 pm
I just want to add that I have the same problem as Chris. This is the second time I’m reinstalling it since I upgraded to Snow Leopard last week.
September 14th, 2009 at 8:04 pm
Can I just add my concern for a new version compatible with Snow Leopard and the latest release of Coda? Thanks a lot!
September 22nd, 2009 at 10:16 am
I’ve added a fix that should fix the problem in Snow Leopard where the plug-in stops working after a period of time. You can get version 1.3.1 from the Google Code page.
November 12th, 2009 at 9:17 pm
This is excellent, the niggly tab issue has been the one thing holding me back form using Coda fulltime…
However, it doesnt work if youve just got one line selected (or part of one line).
Is there an ETA on when this might be sorted?
Thanks for the hard work so far, some people are never happy
November 12th, 2009 at 10:21 pm
you rule
November 30th, 2009 at 8:22 pm
Firstly, thanks for the wonderful plugin!
I still have the issue with 1.3.1 that it stops working after a period of time, though (with Snow Leopard installed)
December 25th, 2009 at 9:57 pm
I love you dude. You just made my favorite editor twice as good.
For years I’m waiting for Panic to implement this feature but it never crossed my mind to search for a plugin. I was an expert at TAB -> D-ARROW -> CMD+L-ARROW -> repeat cicle
January 2nd, 2010 at 3:05 am
Great plug-in, simple but effective. Are you planning to implement the same functionality for when cursor is anywhere in the line and not require line highlighting?
January 10th, 2010 at 2:35 pm
Thanks for the Leopard update!
January 13th, 2010 at 7:35 pm
Thank you so much! This was my main problem with Coda!
*bow*
January 18th, 2010 at 2:54 pm
Awesome plugin. Maybe you could write a code-folding plugin for Coda too
. Will you be updating Tabster to work with a single line of selected code?
March 2nd, 2010 at 6:45 pm
Thank you for making this plugin and keeping it up to date! It is highly appreciated.