Skip to content

Releases: barrelstrength/Craft-Twig.tmbundle

v4.0.0 - Craft 3 Support

12 Jan 14:05
Compare
Choose a tag to compare

v3.0.3

26 Oct 13:47
Compare
Choose a tag to compare
Fixes rogue curly braces, again

v3.0.2

26 Oct 13:35
Compare
Choose a tag to compare
Updates version number in info.plist

v3.0.1

26 Oct 13:23
Compare
Choose a tag to compare
Fixes rogue curly brace when tabbing after an include

Extend and refresh

04 Jun 02:40
Compare
Choose a tag to compare

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 of p. (i.e entrieso instead of entriesp)
  • 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

20 Jul 21:37
Compare
Choose a tag to compare
  • Fixes bug in includecss, includehirescss syntax

Bugfix release

20 Jul 18:14
Compare
Choose a tag to compare
  • Fixes bug in includecss, includehirescss syntax

Adds support for includecss, includehirescss, includejs tags

20 Jul 16:27
Compare
Choose a tag to compare
v2.0.2

Updates README with image and Contributions section

Updates block pattern matching syntax

14 Jun 05:12
Compare
Choose a tag to compare
v2.0.1

Updates markdown spacing

Textmate Support

14 Jun 01:43
Compare
Choose a tag to compare

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