PHP in YAML files

Posted by Petr Pisl on Sep 07 2009, 04:18:44 PM CEST

From the last week there is recognized PHP language in YAML files. It is only on the lexical level, but it's helpful.  This feature is mainly required by Symfony framework that uses PHP in YAML files.


Category: Features | Permalink | Comments [3]

Trackback URL: http://blogs.sun.com/netbeansphp/entry/php_in_yaml_files
Comments:

If you could do same with json file or json in php file ? it will be great for php extjs dev :)

Posted by goofy on September 08, 2009 at 01:24 AM CEST #

It shouldn't be problem. Could you just file an issue? Thanks.

Posted by Petr on September 08, 2009 at 10:50 AM CEST #

Ok. It's a great news. But I have a problem with it and Netbeans. I think that this could be a very basic issue, but it's very enoying to me, and I havent found a solution for it.

The question is, how can I set the Netbeans IDE for always expanding the code blocks ?

I explain. When I edit an YAML file, or an PHP file, Netbean always collapse all code blocks, and I have to expand each node pressing the [+] link.

If I expand the node, and write a new line, Netbeans automatically close the node representing the code block. The Beahvior is like I press automatically [-] link.

Where is the option for not autocollapse all code blocks ?

Posted by Juan on September 15, 2009 at 05:18 PM CEST #

Post a Comment:

Name:
E-Mail:
URL:

Your Comment:

HTML Syntax: NOT allowed