Releases: barrelstrength/Craft-Twig.tmbundle
Releases · barrelstrength/Craft-Twig.tmbundle
v4.0.0 - Craft 3 Support
Craft-Twig v4.0
v3.0.3
Fixes rogue curly braces, again
v3.0.2
Updates version number in info.plist
v3.0.1
Fixes rogue curly brace when tabbing after an include
Extend and refresh
This release bumps up to v3.0.0 as several tab-triggers received minor changes (to be more consistent) and syntax in some legacy snippets were updated.
- Updates bundle to use a more consistent syntax with PhpStorm Live Templates for Craft CMS and PhpStorm Live Templates for Twig
- Updates tab-triggers which output object syntax to use
o
instead ofp
. (i.eentrieso
instead ofentriesp
) - Updates bundle to consistently use tabs for indentation
- Adds more extensive support for default Twig Tags
- Adds support for nav tag and related children tags
- Adds support for cache tag
- Adds support for additional end tags for tag pairs
- Adds support for getHeadHtml and getFootHtml
- Adds support for single asset snippet
- Adds support for case snippet
- Adds support for additional variations on include snippet
- Adds support for additional variations on the Matrix snippet, including options for if, ifelse, and switch sytnax
- Updates paginate snippets to use new pagination syntax
- Updates tag snippet to use new tag group syntax
- Updates users snippet to iterate over a user variable (replacing the legacy account variable)
- Updates tab triggers for include snippets
- Updates tab triggers for request snippets
- Fixes syntax error in categories snippet
Bugfix release
- Fixes bug in includecss, includehirescss syntax
Bugfix release
- Fixes bug in includecss, includehirescss syntax
Adds support for includecss, includehirescss, includejs tags
v2.0.2 Updates README with image and Contributions section
Updates block pattern matching syntax
v2.0.1 Updates markdown spacing
Textmate Support
This is a major update that reintroduces Textmate support and is an almost complete rewrite/refresh of the Language Syntax file. Additionally, theme syntax support has been improved and two new themes have been added targeted a bit more specifically at this use case.
- Adds Textmate support - migrates all Sublime-specific snippets and
commands to Textmate - Adds heavy commenting and new structure to the
Craft-Twig.tmLanguage
file - Adds support for several new snippets in Twig and PHP:
ciel
,csrf
,
dd
,matrix
,request
,floor
,max
,min
,round
,shuffle
,switch
,url
- Adds support for object syntax for several loop snippets:
craft.assets
,craft.categories
,craft.entries
,craft.tags
,craft.users
- Adds additional url and include snippet with params
- Adds additional info snippets:
craft.config
,craft.feeds
,craft.fields
,craft.globals
,craft.sections
,craft.session
- Adds support for tag folding for comments and action tags in Textmate
- Adds more comprehensive syntax highlighting for Craft tags
- Adds two Themes: Artisan Light and Artisan Dark
- Updates
craft.assets
,craft.entries
,craft.request
,craft.tags
,craft.users
- Updates scope selectors
- Updates README
- Removes migration snippets (will add back with Craft 3)
- Removes and cleans up various files