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

Sublime Text 2 – snippets workflow

  • # August 6, 2012 at 10:17 am


    one thing is making me feel uneasy
    I switched to Mac and Sublime for editing

    so far I find ST 2 inbuilt snippet feature to be the best, I am trying to find some easy workflow
    how do you guys manage code snippets in ST 2 ?

    I found 3 options

    1.) Code Snippet Management With Gists (+ easy to use, – dependant on connection to Github)

    2.) Code Box (+ stored on disc, – is paid)

    3.) inbuilt ST2 snippet feature (+ stored on disc, – amybe a bit slow to setup)

    # August 6, 2012 at 10:19 am

    and why I ask here is because I found this

    from @joshuanhibbert

    # August 6, 2012 at 7:57 pm

    So I think you know my answer already, and while it is slow to set up, it is 100% personal, and therefore I find it quicker in the long run. I don’t have to learn other people’s snippets, as I make them to suit me!

    # August 7, 2012 at 2:07 am

    I don’t have many snippets, I don’t really feel the need for them mostly. But when I think something could be done faster with a snippet, I’ll create one.

    # August 7, 2012 at 3:42 am

    Personally i use TextExpander on my Mac to manage snippets because of how expandable it is when you create a new snippet.

    # August 7, 2012 at 3:51 am

    prior to some snippet apps or plugins I was doing this via ZenCoding
    defined content and tab trigger shortcut but as ST 2 has this as inbuilt feature it seems to me the best solution to use

    # August 7, 2012 at 1:10 pm

    I use CodeBox, which I think is a really great program. Re workflow: you can access all of your snippets via the menu bar with a key command and easily insert them into your ST 2 page, even if CB is not running.

    Heck, you can even theme it using your TM or ST theme.

    # August 8, 2012 at 12:08 pm

    Just a follow-up to my comment of yesterday: I notice that CodeBox is currently on sale for $4.99 (it’s usually $11.99. If anyone was thinking about giving it a whirl, now could be the time.

    The usual disclaimer: I’ve no affiliation with the company/the developer beyond being a satisfied customer.

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

You must be logged in to reply to this topic.