SnippetsLab
Your code at your fingertips
Only for Mac
Free
SnippetsLab keeps your code snippets and Markdown notes in one library, with iCloud Sync and syntax highlighting for more than 600 languages.
• Mac App Store “Best of 2015”
• Featured in App Store editorial “Christina Warren’s Productivity Picks,” “All Your Code, Brilliantly Organized,” “Keep Your Code at Your Fingertips,” and “Welcome to the Mac App Store!”
• Featured app in “Apps for Developers,” “Essential Coding Apps,” “Essential Apps for Developers,” and “Wrangle Your Code.”
ORGANIZATION
• Build your personal coding library with multilevel folders, tags, and Smart Groups, and keep the ones you use most in Favorites.
• Customize folder icons and tag colors for extra visual clarity.
• Add notes to any snippet, and attach files or images for additional context.
• Keep related code together with multiple fragments in one snippet.
• Lock snippets to prevent accidental changes.
CODE EDITING
• Highlight code in more than 600 languages and text formats.
• Detect the 50 most popular languages automatically with a machine learning model that runs on your Mac.
• Format code in more than 20 languages, including Swift, C++, JavaScript, TypeScript, and JSON.
• Customize editor behavior such as indentation, overscroll, completion, line wrapping, and much more.
• Choose from 18 beautifully crafted themes, or customize and create your own.
MARKDOWN SUPPORT
• Choose full or side-by-side preview modes with accurate scroll sync.
• Insert Mermaid diagrams, MathJax formulas, alerts, interactive tables of contents, and code blocks with full syntax highlighting support.
• Pick from eight preview themes, or style the preview with your own CSS.
QUICK ACCESS
• Find anything instantly with full-text fuzzy search, search filters, and relevance ranking.
• Use Quick Actions to switch languages and run commands across the app.
• Create, browse, preview, copy, and insert snippets from the menu bar with SnippetsLab Assistant, with extensive keyboard shortcuts to keep you in the flow.
• Search your library from anywhere with the official Alfred workflow and Raycast extension.
• Use snippet links to open a snippet from any app.
AI AND AUTOMATION
• Let AI agents search your library, read snippets, and save new snippets through the built-in Model Context Protocol (MCP) server.
• Set up popular agents right from SnippetsLab settings.
• Search and save snippets from the shell with the lab command-line tool.
SYNC AND INTEGRATIONS
• Sync your library across all your Mac computers with built-in iCloud Sync.
• Browse and restore earlier versions of your library with automatic backups.
• Import from GitHub Gist, Quiver, CodeBox, plain text files, or JSON files in the supported format.
• Export as a SnippetsLab library, JSON, XML, or plain text files.
• Publish to GitHub Gist directly.
• Create snippets from anywhere with macOS Services.
more After looking through all the other choices for a snippets manager, I chose this because it had the features I wanted. After testing SnippetsLab, I decided it was exactly what I needed, and started looking to pay for it if it was a one-time purchase (Not a subscription). Imagine my surprise when I found out SnippetsLab is free! This is an app I would recommend to anyone who needs a snippets manager - Thank You!!
After looking through all the other choices for a snippets manager, I chose this because it had the features I wanted. After testing SnippetsLab, I decided it was exactly what I needed, and started looking to pay for it if it was a one-time purchase (Not a subscription). Imagine my surprise when I found out SnippetsLab is free! This is an app I would recommend to anyone who needs a snippets manager - Thank You!!
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.
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.
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.
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.
I’ve been using this software for years, and it’s been incredibly reliable. I’ve never run into sync issues or missing data. I paid for the app and would gladly pay again. One feature I’d love to see in the future is the ability to encrypt or lock specific snippets—having that option would be really useful.
I’ve been using this software for years, and it’s been incredibly reliable. I’ve never run into sync issues or missing data. I paid for the app and would gladly pay again. One feature I’d love to see in the future is the ability to encrypt or lock specific snippets—having that option would be really useful.
New Features
- Added support for alerts in Markdown snippets. A block quote that starts with `[!NOTE]`, `[!TIP]`, `[!IMPORTANT]`, `[!WARNING]`, or `[!CAUTION]` now appears in the preview with its own color and icon.
Improvements
- You can now set up the MCP server for Claude Desktop, Cursor, VS Code, and LM Studio via a single click.
- Added the ability for AI agents to open snippets in SnippetsLab using an MCP tool.
- Refreshed the look of the app, including SnippetsLab Assistant, bundled themes, Markdown preview, and more.
- Improved the accuracy and smoothness of Markdown scroll sync.
Resolved Issues
- Fixed an issue on macOS 27 where an empty last line could not be selected by clicking.
- Fixed an issue on macOS 27 where quickly clicking two adjacent snippets could open a snippet in a new window.
- Fixed several crashes when opening a damaged library at launch, restoring a damaged backup, or importing a damaged library. SnippetsLab now shows an error, so you can restore a backup or open a different library.
- Fixed several search issues with fuzzy search off, where queries with OR, NOT, phrases, accented letters, or command-line options such as `--force` could show wrong results or the wrong fragment.
- Fixed issues where, with Hide Dock icon turned on, the Dock icon could reappear and SnippetsLab could open behind other apps.
- Other bug fixes and performance improvements.
2.7.1 1d ago
New Features
- Added support for AI coding agents. A built-in Model Context Protocol (MCP) server lets compatible agents search your library, read snippets, and save new snippets when write access is enabled. Configure agents in Settings > Integrations > AI Agents & Command Line Tools.
- Added a `create` subcommand to the `lab` command-line tool for saving snippets from the shell, along with other agent-friendly features.
- Added four new Markdown preview themes:
- Modern: New default theme with a clean, native look
- Compact: A denser version of Modern
- Mono: Retro, plain-text style in a monospaced font
- Paper: A print-inspired look with a book serif, indented paragraphs, and numbered sections
- Added support for Liquid Glass, with a refreshed app icon featuring glass effects and native support for all icon styles.
Improvements
- Improved compatibility with macOS 27 Golden Gate.
- Added syntax highlighting for BitBake, Caddyfile, CEL, PureScript, and Rell.
- Added code formatting for Verilog, SystemVerilog, Protocol Buffer, and TableGen, powered by clang-format.
- Refreshed the GitHub, Bootstrap 3, New York, and Vector Markdown preview themes.
- Improved math rendering in Markdown snippets, with a new default font, wider Unicode symbol coverage, and support for additional TeX packages.
- Improved code formatting for C, C++, Objective-C, Java, C#, Markdown, YAML, GraphQL, and other supported languages.
- Improved syntax highlighting across many languages.
- Improved Swift syntax highlighting with updated built-in symbols from the macOS 27 and iOS 27 SDKs.
- Changing a snippet's tags no longer updates its modification date, matching the existing behavior for folders, pinning, and locking.
Resolved Issues
- Fixed a crash when restoring a backup with an invalid library. The app now displays an error instead.
- Fixed a crash when pasting very large text into the Languages filter in Settings, the Quick Actions search field, or the language picker.
- Fixed a possible crash when pasting into the search field while the clipboard contained invalid content.
- Fixed a possible crash when using Undo after editing snippet notes and then switching to a snippet without notes.
- Fixed an issue where code formatting could produce incorrect results for snippets containing non-ASCII characters.
- Fixed an issue where the Assistant's quick preview popover could not be detached after clicking inside it.
- Fixed an issue where importing Quiver notes could produce broken images or links when a URL or description contained special characters.
- Fixed an issue where search results from the `lab` command-line tool and the Raycast extension always used relevance ordering, ignoring the "Sort Results by Relevance" setting.
- Fixed an issue where the Raycast extension and the `lab` command-line tool could select the wrong fragment when searching snippets with multiple fragments.
- Fixed an issue where toggling "Search Within Selected Categories" did not update current search results until the query changed.
- Other minor improvements and bug fixes.
2.7 Sep 17
- Resolved a bug where parts of the custom icon picker were non-clickable when searching.
2.6.4 Feb 21
Improvements
- Empty tags are now hidden by default to reduce sidebar clutter. You can view them using the new visibility toggle in the filter bar.
- When pasting code with auto-format enabled, you can now press ⌘Z to undo just the formatting.
- Added new SF Symbols for folders and smart groups for macOS 26.
- With "Automatically make links clickable" enabled, the app will only recognize links in appropriate context (e.g. in comments or Markdown).
- Improved brackets and quotes autocompletion behaviors.
- Improved toggle comment and Markdown formatting behaviors.
- Improved code formatting.
- General performance improvements.
Resolved Issues
- Fixed an issue where pasting rich Markdown source from editors like VS Code could result in duplicated Markdown syntax (e.g., ****bold****).
- Fixed an issue where indenting a selection would ignore the last line if it contained only one character.
- Fixed an issue where matching bracket indicators failed to ignore brackets inside comments or string literals.
- Fixed a crash that could occur when closing the settings window while recording a keyboard shortcut.
- Fixed minor issues with Markdown previews.
2.6.3 Jan 31
New Features
- Added syntax highlighting for 11 new languages: CodeQL, Debian Sources, Gleam, GoogleSQL, JSON5, Maple, NumbaIR, PDDL, Rego, TableGen, and Vue.js.
Improvements
- Improved Markdown preview.
- Improved syntax highlighting and code formatting across many languages.
- Improved compatibility with macOS 26.
Resolved Issues
- Fixed a crash that may occur when opening a snippet link while the app was closed.
- Fixed a rare crash triggered by highlighting malformed Markdown sources.
- Resolved syntax highlighting errors caused by specific special characters in Markdown.
- Other general performance improvements and minor bug fixes.
2.6.2 11/23/2025
Improvements
- Use the up/down arrow keys to easily navigate through previous commands after opening Quick Actions.
- Added an option to display either the folder, language, or none in the snippet list.
- Sidebar icons now tinted with the accent color when using the Dracula theme.
- Improved printing support with additional options for changing theme, background, font size, margins, and more.
Resolved Issues
- Fixed an issue where pressing Command-Return to open a snippet in Raycast unintentionally opened a new window instead of reusing the main window.
2.6.1 01/04/2025
New Features
- Introduced a new “Quick Actions” bar for quick access to commands and syntax coloring across the app.
- The snippet notes area now supports inline rich text formatting.
Improvements
- Added localization for English (UK).
- Added the Dracula theme.
- Improved window cascading behavior.
- Improved keyboard navigation for SnippetsLab Assistant.
- Double click to edit smart groups.
- Added a new selectable toolbar button that shows formatting options for notes and Markdown snippets.
- Rich text is now automatically pasted as Markdown when working with Markdown snippets.
- Improved Swift syntax highlighting with support for more SDK symbols.
2.6 11/25/2024
- Added new SF Symbols for folders and smart groups for macOS 15.
- Added support for Apple Intelligence Writing Tools.
- Updated Swift syntax highlighter to support Swift 6 as well as the latest SDKs.
- Other minor performance and stability improvements.
2.5.1 11/02/2024
New Features
- Added three new themes: Spacegray Light, GitHub Light, and GitHub Dark.
- Introduced the official Raycast extension for searching and viewing snippets directly in Raycast.
- Added support for new languages including Janet, Lean 4, Luau, Mojo, Org Mode, Promela, Soong, Tact, and Typst.
Improvements
- Enhanced search functionality with significantly improved performance and better result ranking.
- Non-fuzzy search now performs whole-word match by default, with support for advanced features such as logical operators, prefix/suffix searches, and phrase searching.
- New Fragments bar with support for reordering via drag and drop.
- Minor refinements to all themes.
- Language detection now takes the shebang, mode-line, and other factors into consideration for better accuracy.
- Added commenting and uncommenting support for more programming languages.
- Updated the Mermaid library with better styling and support for new diagram types including quadrant, mind map, timeline, sankey, XY chart, and block diagrams.
- Mermaid diagram now accepts both the `mermaid` and `diagram` code block aliases.
- Added an option to use the current date when importing gists.
Resolved Issues
- Fixed an issue where Gantt diagrams sometimes fail to render.
- Fixed a crash that could occur when opening snippets with very long notes.
- Other minor improvements and bug fixes.
2.5 10/14/2024
- Improved editor performance.
- Improved editor cursor movement behaviors.
- Resolved an issue where toggling comments would uncomment existing comments.
- Various bug fixes and other improvements.
2.4.2 06/05/2024
New Features
- Added autocompletions for Markdown lists and code blocks.
Improvements
- When searching, snippets list now displays contents matching the search keyword. Opening a search result automatically selects and highlights the matching area as well.
- Added an option to toggle line numbers.
- The "Add Link" dialog is now pre-populated with selected text or link.
- Improved editor autocompletion behaviors.
- In macOS 14, the insertion point color now matches the theme accent color. It can also be customized in advanced theme settings.
- Added a new selectable toolbar button to toggle invisible characters.
- Added support for filtering locked snippets in smart groups.
- Various performance improvements.
Resolved Issues
- Fixed a possible crash when saving the library or creating backups.
- Fixed a possible crash when editing tags.
- Fixed an issue where undoing edits could result in incorrect text selection.
- Fixed an issue where the tab width may be inaccurate when typing.
2.4.1 02/18/2024
New Features
- Customize the toolbar by rearranging and removing existing buttons, or adding new ones for frequently used features.
- Tags and custom notes are now visible in snippets list by default, with options to further customize the layout.
- Assign colors to tags for better organization and visual clarity.
- Deleted snippets are now moved to a new trash folder.
- Lock a snippet to prevent accidental changes.
Improvements
- Added 21 new languages including ASN.1, BQN, Blueprint, Linux desktop file, DNS Zone, GraphQL, JSX, Kusto, ldaprc, LDIF, OpenSCAD, PRQL, NVIDIA PTX, systemd, TLS Presentation Language, urlencoded, Verifpal, Visual Prolog Grammar, Visual Prolog, Vyper, and YARA.
- Set tags in Assistant when creating new snippets.
- New keyboard shortcuts for Assistant: Shift-Command-1 to open browse mode, Shift-Command-2 to open create mode, and Shift-Command-0 to open main window.
- Keyboard shortcuts for Assistant actions now work on the selected fragment when Quick Look is open.
- The app now remembers last used settings for library import and export.
- Optimized automatic backups to retain recent versions at various intervals.
- New search option that limits search results to the current folder or tag.
- New code formatting support for GraphQL; improved existing formatters.
- More custom symbols for folders and smart groups.
- Various improvements to existing languages.
Resolved Issues
- Fixed multiple issues related to Markdown syntax highlighting.
- Fixed an issue when importing from Quiver where some images links may not be converted correctly.
- Fixed a possible hang when formatting longer snippets.
- Fixed a possible crash when saving the library or creating backups.
- Other bug fixes and improvements.
2.4 01/17/2024
- Addressed a potential crash that could occur when creating backups.
- Eliminated an issue where copying code blocks from Markdown preview resulted in an unwanted trailing newline character.
2.3.4 12/09/2023
- Fixed an issue with "Paste directly to active app" assistant action when using MacOS Sonoma.
- Other bug fixes and stability improvements.
2.3.3 10/19/2023
- Bug fixes and stability improvements.
2.3.2 09/29/2023
Improvements
- Added more than 600 new symbols for folders and smart groups.
- The app now automatically trims surrounding whitespaces when entering tags.
- Improved brackets and quotes autocompletion.
- Added an option to disable highlighting code blocks without explicit languages in Markdown preview.
- Added the ability to drop files directly into the editor to insert as attachments.
- Improved full text search algorithm to provide more relevant results.
- The app now automatically selects the matching fragment when searching and performing actions in SnippetsLab Assistant.
- When exporting a Markdown snippet as HTML or plain text, the associated attachments are now also included.
- Alfred workflow now supports Alfred Universal Action.
- Other stability and performance improvements.
Resolved Issues
- Fixed an issue where detached preview windows do not retain the previously selected fragment.
- Fixed an issue where Markdown attachment images may not display correctly in the preview.
- Fixed an issue where bold-italic text and headings are not typeset correctly in the Markdown editor.
- Fixed an issue where reordering attachments via drag and drop may not work correctly.
2.3.1 09/12/2023
New Features
- Markdown snippets now support rich text styles such as heading, bold, italic, inline code, etc.
- Markdown preview is now customizable with new features and options, such as:
- Check spelling and grammar
- Treat newlines as line breaks (CommonMark vs. GitHub style)
- Smart symbols
- Sticky table of content
- Copy button when the mouse is hovering above a code block
- Soft-wrap code blocks
- Added an option for the app to remember Markdown preview mode on a per-snippet basis, instead of globally.
- Added 33 new languages including Arturo, Berry, Carbon, CSSUL4, COMAL-80, Cplint, Dax, Fift, FunC, GAP session, JMESPath, Jsonnet, K, MCFunction/MCSchema (minecraft), MediaWiki Wikitext, MIPS, Macaulay2, Phix, Portugol, PostgreSQL Explain, Q, Qlik, SNBT, Sql+Jinja, Tal, Tl-b, UL4, Unix/Linux config files, WGSL (WebGPU Shading Language), World of Warcraft TOC, Wren, and X++.
- Added the ability to preview the contents of backup libraries.
- Added the Nord theme.
Improvements
- The share menu now includes additional options such as exporting as various formats and publishing to GitHub. You can now export non-Markdown snippets as HTML as well.
- When importing from Quiver, images are now automatically converted to Markdown image links.
- The app now remembers the setting for whether to publish a gist as secret by default.
- Improved the search ranking algorithm.
- Added the command modifier key for assistant actions. Now you can specify seperate actions for click, option-click and command-click.
- Added integrated search bar for Markdown preview.
- Substantially improved the performance of Markdown preview.
- Improved the accuracy of scroll sync between the Markdown editor and preview.
- SnippetsLab Assistant now has the same sorting behavior as the main window.
- The notes area now uses the same font size as the main editor.
- Improved syntax highlighting for various languages.
Resolved Issues
- Global default language now works correctly with SnippetsLab Assistant.
- Fixed an issue where the cursor may not display correctly over line numbers.
- Fixed an issue where not all text files are selectable when importing plain text files.
- Fixed an issue where newly created fragments ignored the global default language setting.
- Fixed an issue where rich content copied from other apps may be unexpectedly pasted as image attachments.
2.3 08/03/2023
New Features
- New option to enable editor overscroll.
- New option to automatically trim trailing whitespace while editing.
Improvements
- Click on a line number to select the entire line, or drag to select a range of lines.
- Hold Command while clicking on a snippet link to open the snippet is a new window.
- Attach an image by pasting the image directly into the editor.
- Add image links for attachments to Markdown snippets.
- Added a main menu item to insert an attachment.
- Substantially improved the quality and performance of Swift syntax highlighting.
- Improved Markdown syntax highlighting.
- Greatly improved language detection performance.
- The combo language menu is now available from the assistant as well.
- Added the ability copy the published gist link directly from the snippets list context menu.
Resolved Issues
- Addressed an issue where the app may show a permission error during autosave.
- Fixed symbols not displaying correctly in Alfred when using the workflow.
- Selection no longer jumps around when converting indentations.
2.2.2 02/10/2023
SnippetsLab 2.2 New Features
- Add image and other file attachments to snippets
- Customize icons for folders and Smart Groups
- Import snippets by dragging and dropping plain text files
- You can now set a global default language for new snippets
Improvements
- Add the ability to set a custom backup folder location
- Improved the accuracy of markdown scroll synchronization
- Updated the included MathJax library
- You can now search for all languages in the language selector menu
- Various performance and stability improvements
Resolved Issues
- Fixed an issue where the syntax coloring may flash when typing in Markdown snippets
- Markdown scroll synchronization now works as expected when using keyboard navigation
- Addressed an issue where the app may show a permission error during autosave
Latest in 2.1.1:
- Fixed a crash that affected macOS versions 11.x when searching or creating snippets
2.2.1 12/09/2022
New Features
- Add image and other file attachments to snippets
- Customize icons for folders and Smart Groups
- Import snippets by dragging and dropping plain text files
- You can now set a global default language for new snippets
Improvements
- Add the ability to set a custom backup folder location
- Improved the accuracy of markdown scroll synchronization
- Updated the included MathJax library
- You can now search for all languages in the language selector menu
- Various performance and stability improvements
Resolved Issues
- Fixed an issue where the syntax coloring may flash when typing in Markdown snippets
- Markdown scroll synchronization now works as expected when using keyboard navigation
- Addressed an issue where the app may show a permission error during autosave
2.2 12/07/2022
New Features
- Insert and preview Mermaid diagrams in Markdown snippets
- Automatically detect and set language when pasting text into the editor
- Pin snippets to the top
- Added an option to hide snippets in subfolders from the list view (access from Context Menu > Display Options)
- Added more than 50 new languages
- Import from Quiver library, notebook, or notes
- Import from JSON
Improvements
- Improved scroll synchronization for Markdown preview
- Improved syntax highlighting for 100+ existing languages
- Substantially improved syntax highlighting performance
- Code blocks can now properly be nested under other block-level elements in Markdown preview
- Newlines in Markdown are now rendered as line breaks, similar to GitHub-flavored Markdown
- JSON and XML export now contains all library data (including UUID and folder hierarchy)
- The legacy format is still available but will be removed in a future release
Resolved Issues
- Column count now accounts for emojis correctly
- Proper PHP highlight in Markdown no longer requires the opening tag
- Fixed a performance bottleneck when rendering preview for large markdown snippets
- Fixed inconsistent vertical spacing in Markdown preview (requires reloading themes)
- Fixed an issue where refetching gists may not yield the latest results due to request caching
- Fixed an issue where current-line highlight may draw incorrectly when discontiguous ranges are selected
2.1 06/22/2022
- Fixed an issue where deleting a currently in-use custom theme may cause the app to misbehave until restarted
- Fixed an issue where the Assistant window may occasionally fail to update appearance when switching between themes
- Fixed a regression in 2.0.2 that adds an extra trailing space when copying rich text from the editor
Previous updates in SnippetsLab 2.0.2:
- Improved brackets and quotes autocompletion
- Improved invisible character rendering
- Text find & replace in the editor now uses the integrated find bar rather than in a separate window
- Added more Cocoa symbols for Swift and Objective-C syntax highlighting
- Resolved a system alert pertaining to impending Python framework deprecation
- Fixed an issue where copying a discontiguous range will only copy the first selection
- Fixed a layout bug that may occur when wrap indentation is enabled
- Fixed an issue where the assistant window may appear on the wrong screen when screens are arranged vertically
- Desktop tinting now applies to the assistant when using the Mojave Dark theme
- Minor improvement to the default styles of the Markdown preview
- Fixed an issue where autocomplete may suggest non-existent options when entering tags
- Other minor bug fixes and performance improvements
Thank you for supporting SnippetsLab. If the app has been helpful, please consider leaving a rating or review to share your experience with others.
If you have any questions or suggestions, please reach out using the in-app feedback (Help > Submit SnippetsLab Feedback…), or send me an email to support@renfei.org directly.
2.0.3 01/24/2022
- Improved brackets and quotes autocompletion
- Improved invisible character rendering
- Text find & replace in the editor now uses the integrated find bar rather than in a separate window
- Added more Cocoa symbols for Swift and Objective-C syntax highlighting
- Resolved a system alert pertaining to impending Python framework deprecation
- Fixed an issue where copying a discontiguous range will only copy the first selection
- Fixed a layout bug that may occur when wrap indentation is enabled
- Fixed an issue where the assistant window may appear on the wrong screen when screens are arranged vertically
- Desktop tinting now applies to the assistant when using the Mojave Dark theme
- Minor improvement to the default styles of the Markdown preview
- Fixed an issue where autocomplete may suggest non-existent options when entering tags
- Other minor bug fixes and performance improvements
Thank you for supporting SnippetsLab. If the app has been helpful, please consider leaving a rating or review to share your experience with others.
If you have any questions or suggestions, please reach out using the in-app feedback (Help > Submit SnippetsLab Feedback…), or send me an email to support@renfei.org directly.
2.0.2 01/19/2022
- 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!
2.0.1 09/24/2021
SnippetsLab 2.0 brings more than 20 new features and numerous other improvements and bug fixes.
- Added arm64 support for Apple Silicon Macs.
- Added the ability to customize themes, as well as an option to automatically switch between a light and a dark theme of your choice.
- Refined and polished all preinstalled app and markdown themes.
- The sidebar is now unified with folders and tags showing in the same workspace.
- Added the ability to add tags to the favorites section.
- You can now search the sidebar using a new filter bar on the bottom.
- Snippets imported from GitHub now display a special gist icon in the snippets list.
- The history menu has been moved to the main menu area, allowing for quick navigation to previously viewed snippets.
- Added an option to highlight the current line in the code editor.
- Added the ability to resize the menubar assistant. You can also choose from three scales for the quick look window.
- You can now detach the quick look pop-over by dragging it to its own window.
- Added more navigational shortcuts for SnippetsLab Assistant. You can use Command-1~9 keys to quickly switch between the fragments (up to first 9 fragments), use Command-Up/Down arrow keys to jump to the top or bottom, and Option-Up/Down arrow keys to scroll the page up and down.
- The above arrow-related shortcuts work for the search filter menu as well (you open it by typing "in:" in the search bar).
- Compact mode now also applies to the menubar assistant.
- More markdown format options have been added. You can now insert a footnote or thematic break, and toggle subscript/superscript/tasklist from the Format menu.
Bug fixes and miscellaneous improvements
- Improved syntax highlighting for Swift, Objective-C, CSS, and Python code. More keywords for the latest Cocoa technologies has been added, including SwiftUI.
- The swipe gesture on the snippets list will now copy the snippet, instead of deleting it.
- The ability to record a single-key shortcut has been added.
- When searching for a language in the Preference window, the most relevant results will now appear first (searching for languages like C and R are now much easier, as they should be).
- Fixed an issue where the assistant search filter menu may show on the wrong screen.
- Texts pasted into the search bar will no longer appear black when using a dark theme.
- Content size of the markdown preview panel now scales with the main editor font size.
- Fixed an issue where the show invisibles option may cause the text editor to misbehave when an unsupported font is used.
- Fixed an issue that may prevent iCloud sync updates from being reflected while the app is running.
- Fixed a bug where the search filter menu may show an incorrect number of snippets for the menu items.
- The Alfred workflow search function now has improved response time.
- Other performance and reliability improvements.
2.0 09/13/2021
New Features
- Added support for alerts in Markdown snippets. A block quote that starts with `[!NOTE]`, `[!TIP]`, `[!IMPORTANT]`, `[!WARNING]`, or `[!CAUTION]` now appears in the preview with its own color and icon.
Improvements
- You can now set up the MCP server for Claude Desktop, Cursor, VS Code, and LM Studio via a single click.
- Added the ability for AI agents to open snippets in SnippetsLab using an MCP tool.
- Refreshed the look of the app, including SnippetsLab Assistant, bundled themes, Markdown preview, and more.
- Improved the accuracy and smoothness of Markdown scroll sync.
Resolved Issues
- Fixed an issue on macOS 27 where an empty last line could not be selected by clicking.
- Fixed an issue on macOS 27 where quickly clicking two adjacent snippets could open a snippet in a new window.
- Fixed several crashes when opening a damaged library at launch, restoring a damaged backup, or importing a damaged library. SnippetsLab now shows an error, so you can restore a backup or open a different library.
- Fixed several search issues with fuzzy search off, where queries with OR, NOT, phrases, accented letters, or command-line options such as `--force` could show wrong results or the wrong fragment.
- Fixed issues where, with Hide Dock icon turned on, the Dock icon could reappear and SnippetsLab could open behind other apps.
- Other bug fixes and performance improvements.
more Version 2.7.1 1d ago
Data Not Linked to You The following data may be collected but it is not linked to your identity:
Identifiers Usage Data Diagnostics