Joomla 1.5 Textmate Bundle – ALPHA release

Posted on 19. Feb, 2009 by Rick in Blog

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:

http://www.vimeo.com/3286373

Tags:

20 Comments

lead

21. Feb, 2009

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

Rick

21. Feb, 2009

It’s only for Mac. :-( Sorry! It’s a great piece of software!

Niklas

25. Feb, 2009

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

Niklas

25. Feb, 2009

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

Rick

25. Feb, 2009

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

Eric Caldwell

02. Mar, 2009

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.

Rick

03. Mar, 2009

Have you tried textmate yet?

Eric Caldwell

03. Mar, 2009

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!

Rick

03. Mar, 2009

I don’t think it has that.

Michael

13. May, 2009

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!

Michael

13. May, 2009

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

Rick

14. May, 2009

Yeh send it please! Would be helpful.

TJ Baker

22. May, 2009

Awesome work Rick .. thanks for sharing it!!

revive

14. Jul, 2009

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

rythm

19. Jul, 2009

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

Rick

20. Jul, 2009

You have to copy it to your /programs/e/bundles folder

revive

21. Jul, 2009

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 ??

[...] 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. [...]

Ron

10. Feb, 2010

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

Larry McCay

22. Feb, 2010

Thanks for sharing your work here!

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

Leave a reply