X

An Oracle blog about NetBeans for PHP

PHP in YAML files

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.


Join the discussion

Comments ( 3 )
  • goofy Monday, September 7, 2009

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


  • Petr Tuesday, September 8, 2009

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


  • Juan Tuesday, September 15, 2009

    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 ?


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