xpcomplete : Completion for the XP-Framework (php)
script karma |
Rating 8/2,
Downloaded by 915 |
Comments, bugs, improvements
|
Vim wiki
|
created by |
Sebastian Kusnier |
|
script type |
utility |
|
description |
This file provides the ability to handle a better completion with the XP-Framework. This file is based on the original version from phpcomplete.vim delivered by a standard vim installation.
XP-Framework: http://xp-framework.net/
Requirements:
ctags:
Use absolute paths and --PHP-kinds=+cfidv for your ctag files
Example:
ctags -f $HOME/devel/xp.ctags/tags \\
--langmap=\"php:+.inc\" \\
-h \".php.inc\" -R --totals=yes \\
--PHP-kinds=+cfidv \\
--fields=+iaS \\
$HOME/devel/xp.public/trunk/skeleton \\
$HOME/devel/xp.public/trunk/ports/classes \\
$HOME/devel/xp.projects/**/src
TODO:
Screenshots
Better description
|
|
install details |
save xpcomplete.vim in ~/.vim/autoload/
add follogwing to your vimrc:
autocmd FileType php set omnifunc=xpcomplete#CompletePHP
set tags+=$HOME/devel/xp.ctags/tags
If ctags isn't installed you can download it from its homepage http://ctags.sourceforge.net/ or if you're running Debian/Ubuntu you can install it by executing the following shell command:
sudo apt-get install exuberant-ctags |
|
script versions (upload new version)
Click on the package to download.
ip used for rating: 3.144.126.147
|