How to show the function tip with comment?

General questions regarding the usage of CodeLite
bridge_chen_26
CodeLite Curious
Posts: 6
Joined: Thu Apr 01, 2010 12:02 pm
Genuine User: Yes
IDE Question: C++
Contact:

How to show the function tip with comment?

Post 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
You do not have the required permissions to view the files attached to this post.
bridge_chen_26
CodeLite Curious
Posts: 6
Joined: Thu Apr 01, 2010 12:02 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: How to show the function tip with comment?

Post by bridge_chen_26 »

sry, forgot show the environment:
os:win2003
ver:2.10.0.4778
nemesis
CodeLite Enthusiast
Posts: 37
Joined: Fri Oct 01, 2010 8:32 pm
Genuine User: Yes
IDE Question: all
Contact:

Re: How to show the function tip with comment?

Post 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?
bridge_chen_26
CodeLite Curious
Posts: 6
Joined: Thu Apr 01, 2010 12:02 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: How to show the function tip with comment?

Post by bridge_chen_26 »

"Plugins->Manage Plugins..." select the "symboview"
nemesis
CodeLite Enthusiast
Posts: 37
Joined: Fri Oct 01, 2010 8:32 pm
Genuine User: Yes
IDE Question: all
Contact:

Re: How to show the function tip with comment?

Post 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?
bridge_chen_26
CodeLite Curious
Posts: 6
Joined: Thu Apr 01, 2010 12:02 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: How to show the function tip with comment?

Post 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!
You do not have the required permissions to view the files attached to this post.
DavidGH
CodeLite Plugin
Posts: 819
Joined: Wed Sep 03, 2008 7:26 pm
Contact:

Re: How to show the function tip with comment?

Post by DavidGH »

Hi,

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

Regards,

David
bridge_chen_26
CodeLite Curious
Posts: 6
Joined: Thu Apr 01, 2010 12:02 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: How to show the function tip with comment?

Post 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.
DavidGH
CodeLite Plugin
Posts: 819
Joined: Wed Sep 03, 2008 7:26 pm
Contact:

Re: How to show the function tip with comment?

Post 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.
bridge_chen_26
CodeLite Curious
Posts: 6
Joined: Thu Apr 01, 2010 12:02 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: How to show the function tip with comment?

Post 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!
Post Reply