Page 1 of 1

Function Call Tips - how do they work

Posted: Sat Mar 06, 2010 9:03 pm
by HJarausch
Hi,

how can I enable Function Call Tips for my own functions?
Is there a special type of comment somewhere?

Many thanks for a hint or pointer,
Helmut.

Re: Function Call Tips - how do they work

Posted: Sat Mar 06, 2010 9:08 pm
by eranif
HJarausch wrote:how can I enable Function Call Tips for my own functions?
when you type:

Code: Select all

function_name(

You should see a tooltip with the function parameters

This will happen only if:
1) The option 'settings -> tags settings -> display function calltip' is ENABLED
2) Your file belongs to a project
HJarausch wrote:Is there a special type of comment somewhere?
I dont understand this statement

Eran

Re: Function Call Tips - how do they work

Posted: Sat Mar 06, 2010 10:02 pm
by HJarausch
Many thanks!
HJarausch wrote:Is there a special type of comment somewhere?
I dont understand this statement

E.g in Python, a comment directly following the function definitions is a special comment
belonging to that function. When one uses the Python IDE (idle) this comment is displayed
when you type in a function call (to that function).
So, in principle, one could implement something similar in CodeLite, be it a special
comment like //[CodeLite] or a special pragma (probably not a good idea).

Helmut.

Re: Function Call Tips - how do they work

Posted: Sat Mar 06, 2010 10:27 pm
by eranif
There is a FR for displaying the comment along with the tip - this will get implemented in the future

Eran