X

New brace matching feature

This blog post has been contributed by our NetBeans PHP user Junichi Yamamoto who is helping a lot with fixing issues in all the areas of  NetBeans PHP support. He has also contributed a few plugins, e.g. support for CakePHP framework. He would like to tell you a few words about one new PHP feature in NetBeans. Thanks a lot, Junichi!

Hi all. Today we will show you the new brace matching feature which will be available in next NetBeans version.
If a caret is on a closing brace and the opening brace is hidden, not only the brace but also context information is shown as a tooltip.
This feature would be useful, if an opening brace is written on the next line.

class declaration
if statement

NOTE: If an opening brace is for else keyword(not elseif/else if), the last if keyword line is also shown.

That's all for today. As usually, please test it. It's available in the development version.
If you find some issues or enhancements, please report them to NetBeans Bugzilla (component php, subcomponent Editor). Thanks.

Join the discussion

Comments ( 1 )
  • Vladislav Friday, January 15, 2016

    Thank you, it's really very useful feature.


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

Integrated Cloud Applications & Platform Services