PDA

View Full Version : QtCreator. A way to know something more about 'myfunction' ?



tonnot
21st December 2010, 17:52
Is there a way to write some metadata to view a more detailed tooltip for 'myfunction'.
Now I only see the type of the parameters that it expect, but I think that the name of them or the posibility of to write some metadata for the function would be useful.
Any idea if there is now a way to do this?
Thanks
(Please move to QtTools .... and excuse me)

ChrisW67
21st December 2010, 21:20
The names of function parameters, if specified in the declaration, are already shown in QtCreator tooltips and completion options.

tonnot
22nd December 2010, 07:17
Ok, it is true... (I see the correct info)
But if my parameters are std::string I only see 'myfunction(std::string)' and not 'myfunction(std::string value).
Maybe it can be a bug ?