X

An Oracle blog about NetBeans for PHP

Clever Code Completion for try/catch

Hi all, today we would like to introduce a new little feature which improves a code completion for try/catch block matching.

And what is the difference? In NetBeans 7.0.1 there are all classes suggested in a catch block matching. As you can see in the picture, it's not comfortable.

But now, in development version of NetBeans, only classes which are inherited from an \Exception class are suggested! It's pretty cool, isn't it? It was quite annoying to skip useless classes by hand.

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 (component php, subcomponent Editor). Thanks.

Join the discussion

Comments ( 3 )
  • guest Thursday, August 25, 2011

    Nice!

    I'd love to see the same functionality with `throw` clauses!


  • Ondrej Brejla Thursday, August 25, 2011

    Great reminder! I'll file a new issue for that. Thanks!


  • Ondrej Brejla Thursday, August 25, 2011

    Same CC for throw new clause works from now! http://netbeans.org/bugzilla/show_bug.cgi?id=201310


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