This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 222365

Summary: CTRL + p does not show parameter info
Product: javascript Reporter: Tomas Mysik <tmysik>
Component: EditorAssignee: Petr Pisl <ppisl>
Status: NEW ---    
Severity: normal CC: stevenwdv
Priority: P3    
Version: 7.3   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:

Description Tomas Mysik 2012-11-19 09:44:56 UTC
If one completes any JS method and is providing its parameters, CTRL + p does not show any documentation tooltip (as Java or PHP does).

Thanks.

Product Version: NetBeans IDE 7.3 Beta 2 (Build 201211062253)
Updates: NetBeans IDE is updated to version , NetBeans 7.3 Beta 2
Java: 1.6.0_35; Java HotSpot(TM) 64-Bit Server VM 20.10-b01
Runtime: Java(TM) SE Runtime Environment 1.6.0_35-b10
System: Linux version 3.5.0-18-generic running on amd64; UTF-8; cs_CZ (nb)
Comment 1 Petr Pisl 2013-05-28 12:11:46 UTC
Still not here.
Comment 2 Tomas Mysik 2013-05-28 12:21:39 UTC
This would be nice to have...
Comment 3 riksoft 2017-05-23 10:22:35 UTC
NetBeans IDE 8.2 (Build 201609300101)
Still not here.

I jump on the bandwagon of those who'd like CTRL+P in JS, and in the meantime I also suggest something in the middle: could be that CTRL+P simply mimics CTRL+Space without the need to move the cursor on the function name?

At least we wouldn't have to move the cursor back and forth to see the doc.
That should be easy to implement and it's better than nothing.
Comment 4 stevenwdv 2017-06-26 21:51:14 UTC
Dupe of issue #91902?
Comment 5 riksoft 2017-06-27 07:20:08 UTC
(In reply to stevenwdv from comment #4)
> Dupe of issue #91902?

I'm not sure, because the other bug report seems to talk about the invocation of method, like

abc. <-at this point it shows info (and nowadays it works)


while here Thomas is talking about CTRL-P that is
abc.method( <- CTRL-P should show AGAIN the parameters

Basically ctrl-p should simply do what ctrl+space do when the cursor is on the method name, just to avoid wasting time getting back with the cursor.