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.

55 Responses

  1. dmeyler Says:

    So happy about the Coda updates but what’s the progress with MenuMachine?

  2. Rob Keniger Says:

    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.

  3. Greg Says:

    Are you still on track for the first quarter of ’09?

  4. Rob Keniger Says:

    We may miss that estimate but not by much. It will definitely be in the first half of the year.

  5. Michael Hayes Says:

    Any chance of a sneak preview – screen shots – a little tease to entice us?

  6. Rob Keniger Says:

    Hi Michael,
    We will be releasing a little more info soon, I know how frustrating the waiting is.

  7. Tiago Says:

    Omg, this is a great addon. Thank you so much, I’ve been looking for this for so long.
    Keep it up! :)

  8. Christian Says:

    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.

  9. Rob Keniger Says:

    @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.

  10. Pieter Michels Says:

    great plugin!

  11. Markus K Says:

    Really great plugin. Coda is perfect now!

  12. Coda editor tab plugin | Plugin Coda editor per la gestione convenzionale della tabulazione del codice | Consulenza-Web.com Says:

    [...] http://menumachine.com/blog/2009/01/tab-key-indenting-for-coda/ [...]

  13. Marco Pegoraro Says:

    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!

  14. Jackson Says:

    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 ” “

  15. Phunky Says:

    This is almost perfect, it just needs to apply the same functionality when you only have a single line selected.

    Good work though!

  16. chad Says:

    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?

  17. Rob Keniger Says:

    @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”.

  18. chad Says:

    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?

  19. Michael Says:

    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.

  20. david Says:

    brilliant! works like a charm w coda!

  21. Sebastian Says:

    Amazing! Thanks
    Now I can fully love Coda!

    …except for tab switching…

  22. Tekl Says:

    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.

  23. Rob Keniger Says:

    Yeah, it looks like this bug crept in with the last update, I’m taking a look at it.

  24. Mark Says:

    Any news on the latest bug-fix for the shift+Down bug?

    For the rest this is a great and appriciated plugin!

  25. Luis Martins Says:

    This shift-down bug is making me crazy. Please fix it this essential plugin. Cant understand why this is not default Coda behavior.

  26. Rob Keniger Says:

    It’s fixed now, and I’ve moved the project to Google Code.

  27. Luis Martins Says:

    Great!! Thanks.

  28. Chris Says:

    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?

  29. Snurra Says:

    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.

  30. lensco Says:

    Can I just add my concern for a new version compatible with Snow Leopard and the latest release of Coda? Thanks a lot!

  31. Rob Keniger Says:

    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.

  32. James Moss Says:

    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 :)

  33. robin Says:

    you rule

  34. Lelo Says:

    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)

  35. Andi Stancu Says:

    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

  36. Pete Sellwood Says:

    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?

  37. Will Kirchheimer Says:

    Thanks for the Leopard update!

  38. Pål Brattberg Says:

    Thank you so much! This was my main problem with Coda!

    *bow*

  39. DB Says:

    Awesome plugin. Maybe you could write a code-folding plugin for Coda too :P . Will you be updating Tabster to work with a single line of selected code?

  40. Morten Says:

    Thank you for making this plugin and keeping it up to date! It is highly appreciated.

  41. Mads Says:

    Saved my day – thank you! :-)

  42. Stian Says:

    Thanks for the effort in making and updating this.

  43. Bruno Amorim Says:

    Thank you so MUCH! The only thing that missing in Coda…

  44. Danny Says:

    How do I make this work?

  45. federico Says:

    THANK YOU!

    This is just vital to anyone with a latin keyboard layout.

    Sadly american developers alway use brackets keys for vital shortcuts, forgetting that latin keyboards don’t have proper brackets keys.

  46. JavierCane Says:

    Thanks a lot!!!

  47. Eric Muyser Says:

    Thanks mate, should be a preference Coda :)

    @Danny Extract, and double click Tabster.codaplugin

  48. LePetomane Says:

    Anyone else having problems with this plugin after updating to Coda 1.7?

  49. Eric Says:

    Mine just stopped working. Dang.

  50. Florian Says:

    Just reinstall the plugin, then it should work again (worked for me).

  51. nicmare Says:

    works like a charm with lion and coda 1.7.4! thanks a million!!

  52. iorbita Says:

    Hello,
    …version 1.3.1 has stopped working (I’m on SnowLeopard), I guess the problem was not resolved?

  53. George Says:

    Great plugin! The simple things make all the difference.

  54. Brian Says:

    Not working on OSX 10.7.2 and Coda 1.7.5 the latest versions as of this post.

  55. Brian Says:

    … correction it works in block edit.
    Thanks!

Leave a Comment