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 204357 - display proper code documentation when in arguments parenthesis
Summary: display proper code documentation when in arguments parenthesis
Status: NEW
Alias: None
Product: php
Classification: Unclassified
Component: Editor (show other bugs)
Version: 7.0.1
Hardware: All All
: P3 normal (vote)
Assignee: Ondrej Brejla
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-10-28 10:01 UTC by Cobra_Fast
Modified: 2012-04-24 15:01 UTC (History)
1 user (show)

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Cobra_Fast 2011-10-28 10:01:33 UTC
I am using NetBeans for PHP development, and I noticed this unpleasant behavior:

First I start typing in a function name that I want to call (| representing the text cursor):
file_get_contents|
Now I see the PHP Platform documentation just fine. But when I now enter the agruments parenthesis:
file_get_contents(|
or
file_get_contents(|);
the documentation closes. If I call it with CTRL+SHIFT+SPACE it comes back for "ibase_blob_get", no matter what functions arguments I'm in.
This behavior makes the code documentation pretty much useless as when one needs the information, it's wrong.

I know I can get the documentation back by hovering the function while holding CTRL, but that prevents me from typing.

To clarify: This behavior obviously occurs when using already declared functions and not when declaring a new function.

So my enhancement request is:
Display the proper code documentation when the cursor is inside the arguments parenthesis. And make it stay when I type in the "(" after the function name.
Comment 1 Tomas Mysik 2011-10-31 08:15:12 UTC
CTRL + P shows the expected parameters of the current function/method.

In any case, editor area, please evaluate. Thanks.