Tooltip for function parameter list
Hamish Rodda
rodda at kde.org
Sun May 7 05:05:01 UTC 2006
On Sunday 07 May 2006 14:36, jsmith435 at cox.net wrote:
> Hello:
>
> I would like to find out how difficult it would be to enhance the tooltip
> that displays for the function's parameters so that the tooltip displays
> the parameter names you have supplied in bold and the parameters that you
> still need to supply in the source in normal (not bold) text.
>
> Right now, when you enter say myfunc( the tooltip displays but disappears
> as soon as type something and it doesn't seem to reappear.
>
> For examples, I believe eclipse and their CDT project does this, as well as
> the infamous Windows tools.
>
> I would class me as a newbie or extended newbie C++ programmer. I'd
> appreciate your thoughts about if this is something a newbie could
> reasonably accomplish or not. Also, I have not looked at kdevelop's source
> yet, so if you have any pointers as to where to look to implement this
> those tips would be appreciated as well.
I haven't looked at it in depth but i believe this requires support from the
text editor.
With kde 4.0, detecting when the cursor moves outside of the function call
should be quite trivial, so providing this hint should be much more accurate.
I'm not sure about kde 3.5 but you'd probably have to start looking at the
text editor part (usually katepart) or at least the kdevelop<->ktexteditor
bindings.
Cheers,
Hamish.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kdevelop-devel/attachments/20060507/757422fc/attachment.sig>
More information about the KDevelop-devel
mailing list