Marking returns

The new feature, which I want to mentioned today, is a functionality that should simplify identifying return points from a method or a function.

As you can see on the picture, when you place cursor into the function keyword in a function or method declaration, then the function keyword and all return statements are highlighted.

Comments:

Petr,

Your blog forces me to begin to try Hudson builds - you are really fast! Thanks and thanks for your efforts!

(do I understand well, development (nightly or Hudson) builds and upcoming 6.5 patch1 are absolutely different branches?)

Posted by Andrew Gaydenko on December 10, 2008 at 02:27 AM CET #

You rocks! Nice feature.

Posted by optik on December 10, 2008 at 05:34 AM CET #

These quick little features/tips are great. Keep them going please. I love the concept of learning one new feature a day like this.

Posted by FragMaster B on December 10, 2008 at 07:36 AM CET #

To Andrew:
>development (nightly or Hudson) builds and
>upcoming 6.5 patch1 are absolutely different
>branches

Yes, the trunk (nightly and Hudson) builds are development builds of NetBeans 7.0. NB 6.5 patch1 is different branch and there go only some save fixes from trunk. No new features.

Regards,
Petr

Posted by Petr on December 10, 2008 at 09:43 AM CET #

What about marking Exception (highlighting the code line

throws new DatatabaseException($message)

Posted by pcdinh on December 11, 2008 at 08:11 AM CET #

Hi pcdinh,

we were thinking about this as well, but then decide that this is not the real return point. Probably it could be option based.

Regards,
Petr

Posted by Petr on December 11, 2008 at 03:25 PM CET #

Can Netbeans detect uncatched exceptions. I know that it is not a return point. But it is an exit point.

Posted by pcdinh on December 12, 2008 at 08:32 AM CET #

It was a very nice idea! Just wanna say thank you for the information you have shared. Just continue writing this kind of post. I will be your loyal reader. Thanks again.

Posted by links of london on October 29, 2009 at 08:24 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