Snippi - quick and easy code snippets

Quick and easy code snippets with Snippi

Snippi - quick and easy code snippetsSnippi is a new tool that I’ve found myself really enjoying lately. It’s a snippet handler, but it has some really great features that I never knew I needed, but now don’t know how I could do without. : )

Snippi is a project by Orman Clark and Gilbert Pellegrom. If you know these guys, then it won’t surprise you that it’s beautifully designed and super intuitive to interact with.

But let’s talk about features.

At the base level, you just go to Snippi and copy in your code. You can also title your snippet and select the type of formatting for it. I’m usually just in PHP, HTML, CSS or plain text. The really cool part is the expiration date. You can give your Snippi a lifespan of 10 minutes, an hour, a day, a month, or never let it expire. I’ve found this incredibly useful.

Most of the time around my office, I just want to share a super quick snippet with a coworker (usually our PHP developer so he can school me) and then be done with it. I don’t need to socialize it, or save it forever, or know how many views it’s had. There are other tools for that. I just need to paste some code so I can share it with one or two people real quick. This is perfect for that.

The other feature I like is its comment ability. After you save a Snippi, you can go back in and click any line to make a bubble comment out on the margin. It’s great for just making a note or for debugging with someone in not-quite-real-time (because schedules are hard to match up for full on chats sometimes).

I’ve noticed that WooThemes is recommending Snippi for their support forums, which is a fantastic use case. I can’t tell you how many times I’ve seen users destroy code blocks in WordPress forums.

So that’s Snippi. I use other tools like CloudApp, Minus, and Github gists for other things, but Snippi does one thing very well – save and share quick snippets simply.

And by the way, if you go to the Snippi that is in the screenshot above, it will show you a super awesome little code snippet for including descriptions in your WordPress nav menus, which I got from a frequent user, @fb, of the Theme Hybrid forums (I use Hybrid Core for my development). Enjoy : )

This is another post in my attempt to blog more of what I share, instead of just tweeting. If you like it and want me to keep it up, please let me know in the comments.