Page 1 of 1

How to show the function tip with comment?

Posted: Fri May 06, 2011 10:50 am
by bridge_chen_26
i cant get the comment like the picture - http://www.codelite.org/images/function ... omment.png .
i am not sure whether it's wrong of my setting or it's a bug.
Who can tell me?

Many thanks!

Bridge

Re: How to show the function tip with comment?

Posted: Fri May 06, 2011 11:01 am
by bridge_chen_26
sry, forgot show the environment:
os:win2003
ver:2.10.0.4778

Re: How to show the function tip with comment?

Posted: Mon May 09, 2011 12:14 pm
by nemesis
why is there no codelite symbol in the window-bar and it says 'lite editor'? did you install codelite with the normal win installer?
or is it just me, wondering about that?

regards,
nem

edit: ok, thinking twice, that can't be your screenshot since you don't get the info :P anyway, did you set all codecompletion paths correctly?

Re: How to show the function tip with comment?

Posted: Mon May 09, 2011 5:05 pm
by bridge_chen_26
"Plugins->Manage Plugins..." select the "symboview"

Re: How to show the function tip with comment?

Posted: Mon May 09, 2011 6:25 pm
by nemesis
i meant the titlebar in your screenshot doesn't seem to be normal. there is no codelite symbol and filepath etc..
so i ask again. did you set your codecompletionpaths correctly?

Re: How to show the function tip with comment?

Posted: Mon May 09, 2011 7:55 pm
by bridge_chen_26
Now i got your meaning.
it is my fault.
the comment can be shown in the codecompletion.
in fact, i want to know how to show the comment when my mouse float on a function.
i can get the declaration of the function like the ATTACHMENTS, but cant show the comment of the function.
showing the comment of a function is very useful for me to read the code.

thx for your reply!

Re: How to show the function tip with comment?

Posted: Tue May 10, 2011 2:10 pm
by DavidGH
Hi,

In Settings > Tags Settings: Display and behavior you need to check the Display function tooltip checkbox.

Regards,

David

Re: How to show the function tip with comment?

Posted: Tue May 10, 2011 5:01 pm
by bridge_chen_26
DavidGH wrote:Hi,

In Settings > Tags Settings: Display and behavior you need to check the Display function tooltip checkbox.

Regards,

David
have set and can see the tips,but only declaration no comment of the function. i need read the comment of the function.

Re: How to show the function tip with comment?

Posted: Tue May 10, 2011 10:53 pm
by DavidGH
Ah, sorry: I didn't read carefully enough.

I get the comment displayed with:
class foo // C++ style comment inline

but not when the comment precedes the declaration. I don't think there's currently a way to do that.

Re: How to show the function tip with comment?

Posted: Wed May 11, 2011 8:45 am
by bridge_chen_26
DavidGH wrote:Ah, sorry: I didn't read carefully enough.

I get the comment displayed with:
class foo // C++ style comment inline

but not when the comment precedes the declaration. I don't think there's currently a way to do that.
thx for your reply.
i wish to read the comment with the declaration, not only declaration.
expecting eranif to add this function in the next versions.
many thx!