Treehouse: Grow your CSS skills. Land your dream job.

Extending Zen-Coding

  • # June 6, 2012 at 5:07 pm

    I found there is a lot of crap that even code hinting annoys me taking to long. Does anyone know if there is a way to extend the Zen Coding plugin to include more support, for instance jQuery, etc…

    # June 6, 2012 at 6:57 pm

    What editor are you using? You can create snippets in Sublime Text 2 that can save a lot of time. Here are some CSS snippets I created a while ago:

    # June 6, 2012 at 7:52 pm

    I am actually using Sublime Text 2…Now along with Gist and Your Package as well…also tweeting it, thanks for the share, It is rather incredible…

    # June 6, 2012 at 8:11 pm

    No worries! Glad that others are finding it as handy as I do. Thanks for the tweet too!

    Creating your own snippets isn’t too hard once you understand what each part does. Give it a shot, and feel free to shout out if you need a hand.

    For instance, I have a snippet that expands a ‘j’ to $('$0') (where the cursor is in the position designated by $0). This makes writing jQuery selectors so much faster.

Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.