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 253262 - Show Method's Parameters and their Types on Ctrl+Space when cursor is between Parentheses
Summary: Show Method's Parameters and their Types on Ctrl+Space when cursor is between...
Status: NEW
Alias: None
Product: php
Classification: Unclassified
Component: Editor (show other bugs)
Version: 8.0.2
Hardware: PC Windows 7
: P3 normal with 1 vote (vote)
Assignee: Ondrej Brejla
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-06-30 14:12 UTC by naitsirch
Modified: 2015-08-03 07:26 UTC (History)
1 user (show)

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments
Autocomplete Netbeans.png (current behaviour) (54.09 KB, image/png)
2015-06-30 14:12 UTC, naitsirch
Details
How it should be.png (31.49 KB, image/png)
2015-06-30 14:13 UTC, naitsirch
Details

Note You need to log in before you can comment on or make changes to this bug.
Description naitsirch 2015-06-30 14:12:25 UTC
Created attachment 154445 [details]
Autocomplete Netbeans.png (current behaviour)

Hi.

My request is a little bit hard to explain. So please look at the attachments to unterstand the issue.

If you type the full name of a method or function *with* the parenthesis and hit Ctrl+Space (cursor is between the opening and closing parenthesis like in the screenshot "Autocomplete Netbeans.png"), Netbeans will show a list of classes, namespaces, etc, but it does not show the parameters (and their types) that the typed method expects.

But if you type only a part of the method name, hit Ctrl+Space and let Netbeans autocomplete the method name, Netbeans will show a small pop-up showing the expected parameters and their types (see screenshot "How it should be.png").

It would be great if this pop-up could be shown in the first mentioned case, too. 
Visual Studio for example, does it that way.
Comment 1 naitsirch 2015-06-30 14:13:19 UTC
Created attachment 154446 [details]
How it should be.png
Comment 2 junichi11 2015-07-30 00:52:19 UTC
Perhaps, You can use [Ctrl + P].

Thanks.
Comment 3 naitsirch 2015-08-03 07:26:47 UTC
Hi junichi11 you are totaly right. Thats working and now I have discovered that there is even a menu entry on `Source > Show Method Parameters` :-)

My question is if it would make sense to "integrate" [Ctrl + P] in [Ctrl + Space] as these functions are related in a way and do not have to be separated.