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








25 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 ??
Resources - 16 Of The Best Plugins, Bundles & Themes To Make Textmate Hyper Productive | Think Design
04. Sep, 2009
[...] 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.
RottNKorpse
24. Mar, 2010
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.
Rick
25. Mar, 2010
@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?
RottNKorpse
25. Mar, 2010
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.
RottNKorpse
25. Mar, 2010
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.
Fred
27. Jul, 2010
nice work. very handy.
Leave a reply