What’s New in SnippetsLab 1.4

Dec 01, 2015

Major Update

  • Tags. A brand new way to manage your snippets. You can add unlimited number of tags to a snippet, and browse the snippets by tags. Tags can be sorted either by name or snippets count.

  • Smart Groups. You can now add Smart Groups to further organize the snippets. Smart Groups automatically search all snippets with criteria defined by the user, and dynamically get updated when snippets are added, modified or deleted. User can set the criteria based on snippet title, category, tag, language, description, content, tags count and fragments count.

Improvements

  • Added an option to show invisible characters.

  • Added an option to specify default snippets in SnippetsLab Assistant.

  • Export the library as JSON or XML document, or plain text files as a zip archive.

  • Added an option to sort all folders and Smart Groups automatically based on their names.

  • You can now use the keyboard shortcut ⌘1, ⌘2, ⌘3… to quickly switch between the 1st, 2nd and 3rd… fragment. You can also press ⌘} to switch to the next fragment or ⌘{ to switch to the previous fragment.

  • You can now right-click on a fragment and choose “Move to Right” and “Move to Left” to move your fragments around. You can also use the keyboard shortcut ⌥⌘} and ⌥⌘{.

  • Drag texts to the app icon to quickly create a snippet. You can also drag a snippet from the content list to other apps as plain text.

  • The Objective-C syntax highlighter has been updated to support more predefined Apple classes, protocols and functions. Several latest features such as __kindof and _Nullable are also supported.

  • Press the keyboard shortcut ⌘[ or ⌘] to shift the selected code block left or right.

  • Press the keyboard shortcut ⌥⌘C to copy the selected text with styles. (i.e., as RTF)

  • Press the keyboard shortcut ⌘D to quickly duplicate selected lines.

  • Select Editor > Processing > Strip Trailing Spaces from the Menubar to remove all trailing spaces within the current fragment.

  • Select Editor > Processing > Convert Indentation to Spaces or Convert Indentation to Tabs from the Menubar to convert all indentation within the current fragment.

  • Now wrapped lines are automatically indented with four characters’ length. You can configure the amount of indentation in the preference pane.

What's New in SnippetsLab 1.4.1

Dec 19, 2015

  • Add a OS X service that can be used to create new Snippets in arbitrary applications from text selection. You can enable it in System Preferences and find the option in the contextual menu.

  • Added keyboard shortcuts for copying the snippet and switching between folders / tags mode of your sidebar. Also added the ability to define your own keyboard shortcuts for syntax coloring modes.

  • Other minor bug fixes and UI improvements.