Joomla 1.5 Textmate Bundle – ALPHA release

Textmate is one of the best text editors for Mac, no question about it.  I have used it for several months now and can’t imagine my geek life without it.  Today I am releasing the ALPHA version of the Joomla Textmate Bundle (also compatible with e-texteditor for windows).   It features quick snippets for template building and extension building (watch the video to see some of the shortcuts in action).

textmatebundle1

Currently, the bundle has shortcuts and snippets for:

  • Template module positions
  • Template XML structure
  • Miscellaneous template tags
  • Controller template, toolbar template, etc.
  • A few commonly used snippets from the JPATH, JTable, JFactory, and JRequest super-classes.

My goal for the joomla textmate bundle is to encompass a large portion of Joomla’s framework in it (or at least the most commonly used portions).  I would love for someone to help out with it.  Currently it is hosted with Google Code, so go forth and download!

Some great shortcuts include:

  • Type module and hit TAB and you’ll get some module position options
  • Type jhead and hit TAB and you’ll get a leaned down HEAD section
  • Type query and hit TAB to form a database object and query
  • …much more.

Here’s a video showing off some of the features:

Comments: 26

  1. lead says:

    is theTextmate just for Mac?have any version for windows,i want to download one for study. thanks

  2. Niklas says:

    As far as I know, the http://www.e-texteditor.com/ editor, which is basically a textmate clone for windows, fully supports textmate bundles.

    I don’t know if it delivers other features that textmate has, but it most certainly doesn’t hurt to download the trial :-)

  3. Niklas says:

    Actually I had to go and try it, so I just installed the trial version of e-text, and downloaded this Joomla Bundle.
    (Using Windows XP) This worked just fine, Simply move the folder “Joomla 1_5.tmbundle” to “C:\Documents and Settings\[Username]\Application Data\e\InstalledBundles”, and clicked “Reload Bundles” – works like a charm.

    Haven’t taken a good look at e-texteditor as an editor in whole yet, however at least now I know this works :-)

  4. Rick says:

    @Niklas
    Hey that’s pretty cool! I don’t have a windows machine (other than VMware) but seems that would be a good solution for Windows users eh?

    Good find!

  5. Man, I wish you had something similar for BBEdit, my editor of choice. I have yet to find a better editor for the mac with the search/replace they have.

  6. Does TM have a multi-file search feature? The spoiler for BBEdit is that I can actually edit within the search window now and not have to go and find the file, open then edit it.

    I didn’t see on the TM site that it could do multi-file search or what those capabilities are?

    Thx!

  7. Michael says:

    Awesome, just what I was looking for.

    One comment: The tab trigger does only work for me when I’m in PHP scope, which means inserting the <?php tag. Once the snippet gets inserted I have two repeating <?php tags… I’d rather have the snippets without the execute(JRequest::getVar(‘task’));

    // Redirect if set by the controller
    \$${1}->redirect();

    Awesome work, looking forward to further versions!

  8. Michael says:

    Obviously, the code didn’t go through the sanitizing filter ;). I’m happy to send it to you with email.

  9. TJ Baker says:

    Awesome work Rick .. thanks for sharing it!!

  10. revive says:

    Great piece of work.. I’ve been checking back for some time now waiting for this to be released… :D

    Thanks again!

    Any change you’ll make a version for CODA ?? :P

  11. rythm says:

    can any please temmie how to install “Joomla 1_5.tmbundle to e-text,am usin windows xp,also i tried wat niklas said,but there’ no folder called installedbundels

  12. revive says:

    Hey Rick,

    What theme are you using for TextMate that you show in the video? Is that your own theme or one we can get from Macromates ??

  13. [...] Joomla Bundle – The Joomla bundle is similar in many way to the WordPress bundle. It has quick snippets for building templates and extensions. Make sure you watch the video on Beauty in Design. [...]

  14. Ron says:

    Okay, I downloaded the bundle software but how do I use it. Do I need some other program to use this. Newbie trying to figure things out. Thanks

  15. Larry McCay says:

    Thanks for sharing your work here!

    I would love to see an example extension built with this bundle tutorial – end-to-end.

  16. RottNKorpse says:

    Hi,
    Is there any chance we could get a list of the snippets inside the Google Code Wiki?

    The reason I am asking is I would really like to use these snippets but I use Linux and unfortunately TextMate isn’t an option and there isn’t an alternative at all so I was hoping to make a port of your bundle to Gedit for Linux.

    I looked at the snippet files but it uses html entities and no tabbing info inside snippets so it doesn’t work quite right for porting…it technically would work but I was hoping you could help me out on this.

  17. Rick says:

    @Rott – Hmm. I’m not sure of a linux alternative to this. GEdit has similar functionality to Textmate? Or you’re just wanting the snippets and that’s it?

  18. RottNKorpse says:

    to be honest I am not quite sure what all the bundles can do other than snippets so I can’t verify whether gedit is exactly like textmate or not (as far as bundles) but GEdit does support snippets. | it has placeholder support like textmate for the snippets so it could essentially work like textmate in that regard. | I figured out how to get the snippet code without the entities so I should be able to port the bundle although I am not using Textmate to get the info from the bundle so who knows really. :) | I’ll reply back with a download of the gedit “bundle” if people want it or if you want to see the difference between the two programs.

  19. RottNKorpse says:

    ok I’ve started the porting process and have discovered that GEdit’s snippet system and placeholder syntax is VERY similar although not exactly so adjustments had to be made but overall it can use the same type of stuff in the bundle. ||| The only downside is that ALL of the snippets have to be attached to a language and the editor has to be in highlight mode for that language or have them all in Global…which by itself isn’t a big deal but if you have multiple bundles the organization of them won’t be as well laid out as TextMate’s…however overall it does appear to be a very decent alternative for Linux. ||| also I had some ideas for new snippets to be added to both bundles…I’ll post them when I get them done.

  20. Fred says:

    nice work. very handy.

  21. BEtrained says:

    Thanks a lot…

    And what about the TextMate Joomla 1.6 bundle ?!

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>