Bug 437816 - function signature tooltip appears only for string or variable.
Summary: function signature tooltip appears only for string or variable.
Status: REPORTED
Alias: None
Product: kdevelop
Classification: Applications
Component: Code completion (show other bugs)
Version: 5.6.2
Platform: Neon Linux
: NOR wishlist
Target Milestone: ---
Assignee: kdevelop-bugs-null
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-05-29 06:09 UTC by redlazystick
Modified: 2021-06-02 21:59 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
current behaviour (411.45 KB, video/webm)
2021-05-29 06:09 UTC, redlazystick
Details

Note You need to log in before you can comment on or make changes to this bug.
Description redlazystick 2021-05-29 06:09:50 UTC
Created attachment 138857 [details]
current behaviour

SUMMARY
I want to see function signature of the function I'm calling continuously, when I'm inside function calling brackets. This is shown by the upper tool-tip when calling a function. But it only appears when I'm passing a "string" (C string) or a variable. Once Ive chosen the variable/completed the string, function signature tooltip disappears until I start writing next parameter (which again should be either a string or variable). Ideally I want the upper (function signature) tool-tip to be always on whenever I'm inside function calling brackets. Lower (suggested variables) tool-tip is fine as it is. If implemented this can greatly help writing functions that take lots of numeric parameters.

STEPS TO REPRODUCE
1. Open a project.
2. Write a function name (to call).
3. Start putting parameters.
4. Tool-tip disappears between parameters and for numeric parameters.

OBSERVED RESULT
The function signature is visible only if Im passing strings or variables.

EXPECTED RESULT
Function signature should be always visible (inside calling brackets).

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: KDE neon 5.21
(available in About System)
KDE Plasma Version: 5.21.5
KDE Frameworks Version: 5.82.0
Qt Version: 5.15.2

ADDITIONAL INFORMATION
Comment 1 Sven Brauch 2021-05-29 08:10:49 UTC
Hi, you should be able to always show this by manually invoking completion (Ctrl+Space). Does that work?

Otherwise, I think this is "working as intended", although it can of course be questioned whether the intention was good -- other IDEs seem to show this tip continously.
Comment 2 redlazystick 2021-05-29 14:00:56 UTC
(In reply to Sven Brauch from comment #1)
> Hi, you should be able to always show this by manually invoking completion
> (Ctrl+Space). Does that work?
> 
> Otherwise, I think this is "working as intended", although it can of course
> be questioned whether the intention was good -- other IDEs seem to show this
> tip continously.

aeyhh thanks! this is cool. Thanks. But unfortunately this seems to disappear on hitting comma or space. would be nice if it persisted until the closing pantheists. is there a configuration for that?
Comment 3 Sven Brauch 2021-06-02 21:59:22 UTC
Pretty sure there isn't, no.