VIM: autocomplete function name with parameters

I am new to VIM and I just realized that it CTRL + Ncould automatically populate the function name for me.

However, how can I make it show the parameters? I use cscope and ctags .

thank

+3
source share
2 answers

Are you sure? <C-]>usually goes to the tag definition under your cursor. The shortcut to complete the function name in insert mode with tagsis <C-x><C-]>.

For some languages, such as PHP, the omnicompletion function opens a small preview window with the signature of the function you just finished. However, most omnicompletion features do not use this trick.

+1

, C. , Clang Complete. : Eclim C/++, , , . Eclipse Vrapper.

0

All Articles