- Support of multiple snippets with the same name for different languages. See
default_snippets
for js and php.
- Implemented optional variables:
{{$1?:optionalVariable}}
- French translation by Yoan
- Foundation snippets by Stéphane
- An issue where snippet directory was deleted from the disk or cannot be reached anymore.
- If a widget has focus,
alt-S
shortcut will close the currently focused widget. - Color issues for dark themes.
- Metadata support for snippets, add
##key: value
to the beggining of the snippet file to provide metadata. - Metadata key
lang
which should be an extension of language desired for syntax highlighting e.g.##lang: js
- Fixed a case when inserting a snippet inside html tags.
- CodeMirror breaking snippet variables.
- A case when invalid snippet was executed from a current line.
- Snippets are now colored using CodeMirror mode for currently opened file.
- When focusing into snippet variables, the area scrolls so the variable is in the view.
- Currently selected text will fill out special variable
{{!selected}}
if present in the chosen snippet.
- Improved algorithm for matching snippets from current line.
- It is possible to prefill variables to widget, try typing
ng-directive myModule
and use alt-S - When all variables are prefilled, snippet is inserted automatically, try
ng-controller myModule myController
and use alt-S
- Text on current line can be used to prefill snippets widget (type
ng
and use alt-S) - If the prefill text is an exact match, this snippet will be inserted automatically (type
bs-table
and use alt-S)
- Some issues when using tab key to navigate snippet variables.
- Snippet file path is now shown in the snippet widget.
- All new snippets are written into the current default snippet directory.
- Rewritten in the way that all snippets are stored in files.
- Ensure default snippet directory is correctly set on the startup.
- New snippet dialog doesn't close when you can't write new snippet file.
- You can now use same variable multiple times in snippet.
- Ability to delete custom snippet directories.
- Directory snippets are no longer persisted into Brackets cache.
- Directory snippets edits are now written to the disk.
- Three dot mark (...) for cursor replaced by {{!cursor}}
- Default shortcut changed to Alt-S
- Support for variables in snippets (see angularjs sample snippets).
- Ability to delete all loaded snippets through shift-click on delete.
- Snippets are now alphabetically sorted.
- Shortcut for Mac should be now Cmd-Ctrl-Space.
- Some issues when importing snippets from Gist.
- Support for default snippets.
- Snippets can now be loaded from directories automatically, configure your own directories in settings.
- Three dot mark (...) will be replaced with a cursor after inserting a snippet.
- Initial release.