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.
Function Call Tips - how do they work
-
- CodeLite Veteran
- Posts: 98
- Joined: Thu Feb 18, 2010 10:54 pm
- Genuine User: Yes
- IDE Question: C++
- Contact:
- eranif
- CodeLite Plugin
- Posts: 6375
- Joined: Wed Feb 06, 2008 9:29 pm
- Genuine User: Yes
- IDE Question: C++
- Contact:
Re: Function Call Tips - how do they work
when you type:HJarausch wrote:how can I enable Function Call Tips for my own functions?
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
I dont understand this statementHJarausch wrote:Is there a special type of comment somewhere?
Eran
Make sure you have read the HOW TO POST thread
-
- CodeLite Veteran
- Posts: 98
- Joined: Thu Feb 18, 2010 10:54 pm
- Genuine User: Yes
- IDE Question: C++
- Contact:
Re: Function Call Tips - how do they work
Many thanks!
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.
I dont understand this statementHJarausch wrote:Is there a special type of comment somewhere?
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.
- eranif
- CodeLite Plugin
- Posts: 6375
- Joined: Wed Feb 06, 2008 9:29 pm
- Genuine User: Yes
- IDE Question: C++
- Contact:
Re: Function Call Tips - how do they work
There is a FR for displaying the comment along with the tip - this will get implemented in the future
Eran
Eran
Make sure you have read the HOW TO POST thread