<br>so hypothetically, I could add to this list and get intuitive calltips?<br><br><br><div class="gmail_quote">2009/7/16 Enrico Tröger <span dir="ltr"><<a href="mailto:enrico.troeger@uvena.de">enrico.troeger@uvena.de</a>></span><br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div class="im">On Thu, 16 Jul 2009 09:07:53 -0600, Ben wrote:<br>
<br>
>2009/7/16 Enrico Tröger <<a href="mailto:enrico.troeger@uvena.de">enrico.troeger@uvena.de</a>><br>
><br>
>> On Tue, 14 Jul 2009 19:57:32 -0600, Ben wrote:<br>
>><br>
>> Hi,<br>
>><br>
>> >anyhow, my point:  Zend uses a php doc standard of using @param to<br>
>> >identify paramters and then tooltips them as you complete a function<br>
>> >name within you application. geany does this for language built-ins<br>
>> >but I was curious if there is documentation on how to make this<br>
>> >happen for javascript-language functions that are user<br>
>> >functions... ?<br>
>><br>
>> not really sure what you mean with "user functions". Are you talking<br>
>> about embedded Javascript in HTML/PHP files?<br>
>><br>
>> And if so, what exactly doesn't work and how should it work?<br>
>><br>
</div><div class="im">>um, I mean, for example, functions I've created take for example:<br>
><br>
>function do_stuff(param1,param2,param3)<br>
>{<br>
> return {param1,param2,param3<br>
>}<br>
><br>
>if for some strange reason this were built into the system, take php's<br>
>str_replace, if I type 'str_r' I get a tooltip suggesting str_replace,<br>
<br>
</div>This is a called an auto-completion.<br>
<div class="im"><br>
>and if I type it all the way out I get str_replace(string needle,string<br>
>haystack,[optional param1],[optional param2]) in a tooltip<br>
<br>
</div>This is called a calltip.<br>
(just for clarity)<br>
<div class="im"><br>
<br>
>is geany designed to do this for things like this given my example, or<br>
>am I doing it wrong?<br>
<br>
</div>As I just said in the other reply in this thread, it's currently not<br>
supported by the PHP parser we use (based on the one from the CTags<br>
project).<br>
<br>
The difference to the standard PHP API is that the standard API tags<br>
are created from the a list of the PHP API. See<br>
<a href="http://git.geany.org/geany/tree/scripts/create_php_tags.php" target="_blank">http://git.geany.org/geany/tree/scripts/create_php_tags.php</a> for<br>
details. So the detailed argument list information come from PHP's<br>
funcsummary.txt and are stored in Geany's php.tags (usually found<br>
in /usr/share/geany/php.tags).<br>
<div><div></div><div class="h5"><br>
<br>
Regards,<br>
Enrico<br>
<br>
--<br>
Get my GPG key from <a href="http://www.uvena.de/pub.asc" target="_blank">http://www.uvena.de/pub.asc</a><br>
</div></div><br>_______________________________________________<br>
Geany mailing list<br>
<a href="mailto:Geany@uvena.de">Geany@uvena.de</a><br>
<a href="http://lists.uvena.de/cgi-bin/mailman/listinfo/geany" target="_blank">http://lists.uvena.de/cgi-bin/mailman/listinfo/geany</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br>/ˈmɪstər/ /ˈdʒɛnəsɪs/@/dʒi/ /meɪl/ /dɒt/ /kɒm/<br>Benjamin West<br><br>