Twig Code Completion

Hi all! After few weeks we have a new feature for you which will be available in upcoming NetBeans 7.3. It's about new code completion in Twig files! So let us introduce it a bit.

Now we hopefully support all of Twig built-in elements. It means Tags, Filters, Functions, Tests and Operators (see Twig documentation for more information).

All elements are also documented, so if you don't know what which element does, just read it in the IDE documentation window! We try to resolve some Completion Context to suggest you only the most corresponding element types, but it's not so visible, since almost everything can be used everywhere in Twig files ;)

Twig Code Completion

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!

Comments:

Hey, that was fast! And helps a lot. Thank you!

Posted by guest on September 28, 2012 at 04:32 AM CEST #

A good thing in Netbeans is that good third party modules can get merged into Netbeans itself and keep going better. Nice Work.

Posted by guest on September 28, 2012 at 10:03 PM CEST #

What about twig code inside php files?
Right now that generates errors and I can't find a setting for it. Only thing I can find is the association of the twig extension to the MIME type in the settings.

Posted by guest on November 08, 2012 at 04:44 PM CET #

We don't support embedded Twig language right now.

Posted by Ondrej Brejla on November 08, 2012 at 04:46 PM CET #

Hey, thanks for this promising feature. I'm using NB 7.3 b2, i see that code templates don't work for TWIG although the language is listed in Code Template option pane. Will that be supported too? Thank you!

Posted by Ninj on November 22, 2012 at 04:11 PM CET #

Hi, just see todays post: https://blogs.oracle.com/netbeansphp/entry/another_twig_improvements

Posted by Ondrej Brejla on November 22, 2012 at 04:25 PM CET #

utterly useless in the current state; it is actually interfering with actual coding of mixed template (twig/html/js/css).

Posted by tam on March 15, 2013 at 03:08 PM CET #

Post a Comment:
  • HTML Syntax: NOT allowed
About

This blogs is written by NetBeans developers who contribute to the PHP support mainly.

Search

Archives
« April 2014
SunMonTueWedThuFriSat
  
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
   
       
Today