Tuesday, July 24, 2012

Re: c function prototype help

Charles Campbell wrote:
> sinbad wrote:
>> c function prototype and macro declaration should appear as balloon help
>> while the function is being used. are there any plugins that can do
>> this.
>> i use global gtags instead of ctags so any plugin which makes use of
>> gtags
>> will be helpful.
>
> Perhaps the following scripts will be of interest for C and C++:
>
> * hints_man2.vim : shows a prototype on the bottom of the display as
> you type a function in the man 2 manpages.
> example: alarm(
>
> * hints_man3.vim : shows a prototype on the bottom of the display as
> you type a function in the man 3 manpages.
> example: printf(
>
> * hints_man3.vim : also contains a hints.vim script which will show
> prototypes based on your tags file and the word under your mouse in a
> balloon.
>
> I may break hints.vim out sometime, because I expect it'll work for
> other languages besides C and C++.
Sorry; forgot to mention where you can find these scripts.

http://www.drchip.org/astronaut/vim/index.html#HINTS_MAN2
http://www.drchip.org/astronaut/vim/index.html#HINTS_MAN3

Regards,
Chip Campbell

--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

No comments:

Post a Comment