Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Netbeans PHP function parameter hints

I looked around and found things that addressed related issues, but not what I'm looking for specifically.

I'm using Netbeans which has really grown on me, but when I go to use a function, the "intellisense" hints pop up correctly, but as soon as I go to type in the arguments, the code hint that shows the function signature and its parameters disappear.

This hurts my productivity because I don't have the signatures memorized, and I always end up having to reference it as I'm typing it up.

Is this normal for Netbeans or is there some way I can make it so the function hints stay until I close the parenthesis for the function signature?

Update: I just found Ctrl + P will show the parameter methods, is there some way to have that automatically show instead of constantly typing Ctrl + P?

like image 360
David Torrey Avatar asked Mar 27 '13 12:03

David Torrey


2 Answers

Inside function parentheses, type Ctrl + P and the parameters hint will appear (NetBeans Menu Bar -> Source -> Show Method Parameters).

like image 165
petar_georgiev Avatar answered Sep 26 '22 08:09

petar_georgiev


Apparently turning off auto-bracket closing will allow intellisense and code hints to appear correctly.

like image 25
David Torrey Avatar answered Sep 25 '22 08:09

David Torrey