An Oracle blog about NetBeans for PHP

Twig Braces Matching

Hi all! Here we are again with new features for next NetBeans release. Today we would like to talk about braces matching in Twig templating support.

And what does it mean exactly? That IDE automatically highlights and pairs your control structures, when the caret is on them. So if you put a caret e.g. on an if keyword, then all corresponding else, elseif and endif kewords are highlighted too. It's really great, isn' it? And of course it works for all common paired Twig tags.

And that's all for today and as usual, please test it and if you find something strange, don't hesitate to file a new issue (product php, component Twig). Thanks a lot!

Join the discussion

Comments ( 1 )
  • hyh Tuesday, April 2, 2013

    Great extension. I was looking forward. THX a lot!

Please enter your name.Please provide a valid email address.Please enter a comment.CAPTCHA challenge response provided was incorrect. Please try again.