Here is the deal,
If you've used Aptana, Eclipse or even Microsoft Expression Web editor, then you've seen that they feature a Balloon Text or Intellisense popup showing hints/info of built-in and custom objects, methods, etc.
They get the info thru JSDoc, PHPDoc, JavaDoc, RDoc, etc.
I'd like to get these feature in Vim, maybe implemented as omnicompletion and also since Mac/GVim supports balloon text, as this as well.
This feature actually exists and is defined in each file type's Omni-completion. For example, enabling PHP's omni-completion will show completions in a popup window as well as the method definition in a smaller buffer which opens at the top of the current tab-frame.
Activate it by adding the following to your .vimrc
filetype plugin on
au FileType php set omnifunc=phpcomplete#CompletePHP
And then using C-x C-o for completion. (I find many people like to remap this to C-space to mimic Visual Studio)
More information and links about omnicompletion can be found at http://vim.wikia.com/wiki/Omni_completion
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With