Tuesday, July 24, 2012

Re: c function prototype help

On Monday, July 23, 2012 10:50:35 PM UTC-5, 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.
>
> tnx

You can get a popup balloon when you hover the mouse using this plugin. I think it just uses the taglist in Vim so if you can get the gtags created list into a format Vim understands it should work:

http://www.vim.org/scripts/script.php?script_id=2714

Al has indicated to me that he doesn't use the plugin anymore though so don't look for any big fixes or feature enhancements in the future. It works fairly well, but since it requires the mouse, I don't find it very useful for my workflow in Vim.

I prefer adding "preview" to my 'completeopt' option and using omni or user completion. This uses the "preview window" instead of a balloon popup, but it accomplishes the same task.

--
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