CodeIgniter TextMate Bundle Additions

Posted in: Development, Software

After finding the excellent CodeIgniter TextMate Bundle, I’ve switched to TextMate as my editor of choice for my CodeIgniter development. I’ve tried switching to TextMate in the past and there is a lot I like about it, however I always end up back with BBEdit for find/replace and other text manipulation tools.

This time though. I think I may be switching to TextMate permanently for CI development. My main annoyance with CI is how verbose some of the syntax is. Shortcutting that is worth quite a lot to me.

I’ve added a couple of snippets to the CI bundle. Here they are in case anyone else finds them useful.

This gives you a model property - named ‘model->property’ with Tab Trigger + cimod assigned:

\$this->${1:Model_name}_model->${2:property}$0

This gives you a model method - named ‘model->method’ with Tab Trigger + cimod assigned:

\$this->${1:Model_name}_model->${2:method}(${3:args})$0

It’s a little thing, but I’m quite excited about this and I’m really looking forward to seeing if I can incorporate these time savers as habits as I’m doing a little CI work this weekend.

Popularity: 12% [?]

Posted February 23rd, 2008 @ 5:22 PM

4 Replies

  1. CodeIgniter Framework :: TermiT's Blog adds this Pingback:

    […] CodeIgniter TextMate Bundle Additions […]

    February 25th, 2008 at 9:39 am

  2. Justin adds this Comment:

    Alex,

    I installed your Twitter WP plug-in tonight (donated $2). Wow. It works perfectly.

    I also stumbled across this post. THANK YOU for mentioning CodeIgniter. I’d never heard of it before. I’ve been considering starting a new application with CakePHP. CI seems so much easier to learn and use. Instead of baking - i’ll be making with CodeIgniter!

    March 6th, 2008 at 9:54 pm

  3. Some CodeIgniter Tutorial links « Afruj’s Weblog adds this Pingback:

    […] CodeIgniter TextMate Bundle Additions […]

    May 1st, 2008 at 8:48 pm

  4. Clark Jones adds this Comment:

    Hi Alex, glad you like the bundle i’ve just updated it to include the modifications to CodeIgniter 1.6.1. I also took the liberty to also include your two snippets hope you like it

    May 4th, 2008 at 2:15 am

Add a Comment

Please note: Use of a non-personal web site or blog in the field below and/or comments that are off-topic, personal attacks, or support requests will likely be removed at my discretion.

Note: This post is over 2 months old. You may want to check later in this blog to see if there is new information relevant to your comment.

Around the web » « Best Wishes Mike

About This Site

This is the personal web site of Alex King, an independent developer based in Denver, Colorado USA. More...


Crowd Favorite

Crowd Favorite is my software and web development business.

We build web applications, design and develop custom WordPress themes and plugins, and build custom sites using WordPress as a CMS.


I also have a tumblog that aggregates my online content from other services (Twitter, Flickr, del.icio.us. etc.).

Ads