What is the way to go to method signature in netbeans php?

The problem is that I would like to get a little convenience while I code PHP in Netbeans.
When the edit cursor is in the middle of the source of a long method I would like to click a key shortcut to go to the beginning of this method.

For instance:

public function doStuff($arg1,$arg2) <--- I want to jump here...
{
$a = $b;
$b = $c;
$c = $d;
$d = $e; <--- cursor is here
.....
}
+3
source share
2 answers

This works fine for me: Ctrl+7+return

+8
source

The best solution: do not record functions that are longer than one screen (and this is already quite long).

Long functions with many local variables are very bad for maintainability: they are difficult to understand and will contain disproportionately more errors.

, , , .

0

All Articles