Screenshots

Description

- Mac App Store “Best of 2015”
- Featured in stories “All Your Code, Brilliantly Organized”, and “Keep Your Code at Your Fingertips”
- Featured app in “Apps for Developers”, “Essential Coding Apps”, “Essential Apps for Developers”, and “Wrangle Your Code”


Supercharge your productivity with SnippetsLab.

SnippetsLab is a full-featured, elegant and easy-to-use snippets manager. With support for over 440 languages, full Markdown capabilities, and powerful organization and search features, it helps you build your personal coding knowledge-base and makes sure that you have easy access to them at all times.


Main Features

• Stunning user interface with 13 fully customizable themes.
• Syntax highlighting for over 440 languages.
• Create nested folders, as well as smart groups and shortcuts.
• Add notes & tags to a snippet.
• Include multiple parts, or “fragments” in a single snippet with different languages.
• Open multiple and/or floating windows for quick reference.
• Full-text fuzzy search with smart search filters.
• Use iCloud to backup and synchronize your library across multiple devices.
• Automatic code formatting (for supported languages only).
• Keyboard shortcuts to use the app mouse-free.
• Export the library to JSON, XML or plain text files.
• Automatic backups for a peace of mind.
• Support for printing, sharing, macOS Services, etc.


Markdown Support

• Choose between editing, full preview, or side-by-side preview mode.
• Accurate two-way scroll synchronization.
• Syntax highlighting for the same set of over 440 supported languages.
• Write and render LaTeX math formulas (via MathJax).
• Insert interactive table of contents.
• Quickly toggle format options and insert links, tables, footnotes, etc.
• Customize (or provide your own) CSS stylesheets.


SnippetsLab Assistant

SnippetsLab Assistant provides a quick and convenient way to access many app functionalities from the menubar. You can create new snippets, or browse and search for existing ones. You can preview your snippet right from the menubar, copy to clipboard, reveal in the main window, or even insert directly to the active app.


Integrations

• Sync: Customize the library location to use any 3rd-party file-based sync services, such as Dropbox or Google Drive.
• GitHub Gist: Import from GitHub Gist & publish your snippets as gists. (Please note that two-way sync with GitHub is not supported at the moment.)
• Alfred Workflow: Search and view the results directly in Alfred, open them in SnippetsLab, copy to clipboard or paste to the active app. (Note: Alfred Powerpack is required to use the workflow.)
• Alfred Custom Search: Initiate a searching query from Alfred using the “snippetslab://search/{query}” URL scheme, then view the results in SnippetsLab.


More Info

For a list of all supported languages, please visit:
https://www.renfei.org/snippets-lab/manual/mac/faq.html#what-languages-are-supported

User manual: https://www.renfei.org/snippets-lab/manual/mac/

FAQ: https://www.renfei.org/snippets-lab/manual/mac/faq.html

What’s New

Version 2.0.1

- The app now remembers and automatically restores sidebar and snippet selection upon relaunch
- Full-text search now includes tags
- Fixed an issue where the text styles are not properly reset when switching fragments
- The tags field no longer displays a vertical scroller when the legacy scroller is used
- Fixed a bug that prevents the plain text color from updating in real time when editing themes
- The detached preview popover can now show above other fullscreen apps
- Other miscellaneous bug fixes

We hope you enjoy using SnippetsLab. If the app has been helpful, please consider leaving a review to share your experience with others.

If you have any questions or feedback, feel free to reach out via Help > Provide SnippetsLab Feedback…, or send an email directly to support@renfei.org. Thanks!

Ratings and Reviews

4.6 out of 5
200 Ratings

200 Ratings

dpmitu ,

Thanks for the update!

This app was exactly what I needed, but I noticed that it was a while since the last update. Then when I started using it, I ran into the gross fragmets bug. So I uninstalled the app. If it isn’t being updated and there’s deal breaker bugs, I’m not going to waste my time. That was a month ago. Lo and behold, I find myself on the App Store page by accident and notice it’s been updated. So glad! Thank you!

mister zed ,

Almost great, if not for TWO Achilles tendons

I bought this several years ago, and tried importing my CodeBox snippets—since that app was abandoned years ago and this one is generally superior. The problem is that SnippetsLab has a lousy importer which fails to import the smart groups. I figured they would fix this, and decided to stick with CodeBox for a while. Fast-forward a few years and I got so sick of CodeBox I just couldn't put up with it any more. I've PAID for Snippets Lap after all, I should use it. And guess what, the importer is still terrible. 😱

Another even bigger problem: instead of a separate menubar app and full app, the single app can show up in your menubar and either hide the menu and dock icon and command-tab icon, OR show all of those. This means if you want to have access to an item in the menubar, you need to either ALWAYS have the app open (very annoying!) or NEVER have access to the app's menu and NEVER be able to switch to the open app through the Dock or through command-tab. This is a really incredibly bad design, the very same one that makes Fantistical go from a gorgeous calendar to a useless calendar.

jazzpicker24 ,

Another version that crashes on iCloud Sync - no fix in sight

Nice idea and all, but unfortunately there is no effective way to synchronize snippets between machines. Just touching the iCloud tabs in Preferences will send the app into an infinite spin as has been the case over several versions now. So unless you want to start to manually create a document with another app where you keep all your snippets and then manually transfer those back into this app on each machine, you're fresh out of options. And that of course completely defeats the purpose of this app. If you only run one computer though this may not be of concern.
Otherwise best look elsewhere.

BTW: Can't verify the author's claim of "Mac App Store BEST". Seems he only added that headline as a shameless marketing gimmick. Well - I fell for it, so at least someone is making money.

App Privacy

The developer, Renfei Song, indicated that the app’s privacy practices may include handling of data as described below. For more information, see the developer’s privacy policy.

Data Not Linked to You

The following data may be collected but it is not linked to your identity:

  • Identifiers
  • Usage Data
  • Diagnostics

Privacy practices may vary, for example, based on the features you use or your age. Learn More

Supports

  • Family Sharing

    With Family Sharing set up, up to six family members can use this app.

Featured In