autoproto.vim : Auto display function parameter in preview
script karma |
Rating 44/26,
Downloaded by 4399 |
Comments, bugs, improvements
|
Vim wiki
|
created by |
Jochen Baier |
|
script type |
utility |
|
description |
The "autoproto" plugin displays the function parameter/prototypes
in the preview window if you type a left parenthesis behind a function name.
With this plugin it is not necessary to memorize large parameter lists.
You do not need to leave insert mode. Typing is almost not affected. |
|
install details |
* Drop autoproto.vim into your plugin directory.
* The script need a tag file to work:
- for your project: ":!ctags -R ." (or use the gvim button)
- for library functions:
run: "ctags -R -f ~/.vim/systags --c-kinds=+p /usr/include /usr/local/include"
put "set tags+=~/.vim/systags" in your .vimrc file.
* Open some *.c file and write for example: "XCreateWindow ("
(or "XCreateWindow(").
If the tag exist it will be shown in the preview window.
Note: only *.c files are supported ! The file must exist. |
|
script versions (upload new version)
Click on the package to download.
ip used for rating: 18.191.190.40
|