code_complete : function parameter complete, code snippets, and much more.
| script karma |
Rating 1651/549,
Downloaded by 24857 |
Comments, bugs, improvements
|
Vim wiki
|
| created by |
| Ming Bai |
| |
| script type |
| utility |
| |
| description |
Get the latest version from Github:
https://github.com/mbbill/code_complete
Demo :http://files.myopera.com/mbbill/files/code_complete.gif
It shows what this script can do.
In insert mode, when you type "<tab>"(default value of g:completekey) after function name with a "(" , function parameters will be append behind, use "<tab>" key again to switch between parameters.
This key is also used to complete code snippets.
Example:
press <tab> after function name and (
foo ( <tab>
becomes:
foo ( `<first param>`,`<second param>` )
press <tab> after code template
if <tab>
becomes:
if( `<...>` )
{
`<...>`
} |
| |
| install details |
1. Put code_complete.vim to plugin directory.
2. Use the command below to create tags file including signature field.
ctags -R --c-kinds=+p --fields=+S .
|
| |
script versions (upload new version)
Click on the package to download.
ip used for rating: 142.132.191.50
|