On Mon, 18 Feb 2008 17:52:39 -0500 "John Gabriele" email@example.com wrote:
I'm not really sure how Geany handles calltips. The docs seem to blur the line between tags and calltips.
Calltips can be shown if the filetype language parser can parse argument lists to a function. Currently I think it's only C-like languages that have this (because this is only what CTags has implemented). I'm hoping that over time other languages can have calltips support.
Having such a simple calltips system could be interesting. Users could write their own calltips files for anything, for example, for commands that they're always forgetting syntax for (for any filetype). Or they could write scripts to parse their own custom formats creating tips files. Seems like this sort feature would be pretty easy to implement as well...
But it would be better if Geany generated the file from source files, without someone having to write it. The advantage to your proposal would be that maybe the user could use some other scripting language instead of writing/extending a parser in C and getting it into Geany. But even then you would probably want some kind of scripting framework for parsing source files (maybe some already exist).
Hm... gets me thinking. Since it could apply to any symbol in general (not just function calls), this sort of feature might be better called "bubbletips" rather than "calltips" (which Geany already seems to have, in some fashion) ...
Can you give some examples?
It sounds interesting, but for now we will probably stay with the current system.