Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialLee Hughes
8,380 PointsBest app for keeping code snippets
Hi,
I was wondering what people's favourite app (free) for keeping code snippets handy on the Mac.
Thanks
3 Answers
Moiz Malik
11,906 PointsI use Github's Gist for this purpose. It's web based though.
James Barnett
39,199 PointsI guess it depends on what your goal is for collecting snippets.
I use ...
- workflowy for collecting Linux one-liners.
- simplenote for note taking including adding bits of code and notes on what it does. It supports searching, markdown, tagging, syncing to mobile.
- codepen for small proof of concept bits of HTML/CSS/JS
I can imagine programming in a server-side language and having larger bits of code you want to keep track of, that doesn't bit into those categories, github gists seem like they could be a good fit in that case.uding adding bits of code and notes on what it does. It supports searching, markdown, tagging, syncing to mobile.
- codepen for small proof of concept bits of HTML/CSS/JS
I can imagine programming in a server-side language and having larger bits of code you want to keep track of, that doesn't bit into those categories, github gists seem like they could be a good fit in that case.
Michael Guerra
558 PointsI don't know what code editor you use, but Sublime Text and Dreamweaver both have snippet options. I personally like Github's Gists because they're accessible everywhere (as long as you have an Internet connection). I use Sublime Text with the Gist plugin, and it works really well for pulling snippets in.
I agree with James, CodePen is a great place to save "working" ideas and concepts.