Ⅰ. 插件描述
Completion for the XP-Framework (php)Ⅱ. 基本信息
|
Ⅲ. 安装方法
使用Vundle管理器安装
在你的.vimrc下添加:Plugin '/xpcomplete'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall
对于Vundle版本 < 0.10.2,请用上面的Bundle替换Plugin。
使用NeoBundle管理器安装
在你的.vimrc下添加:NeoBundle '/xpcomplete'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall
使用VimPlug管理器安装
在你的.vimrc下添加:Plug '/xpcomplete'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall
使用Pathogen管理器安装
在终端中运行以下命令:cd ~/.vim/bundle
git clone https://github.com/vim-scripts/xpcomplete
Ⅳ. 文档说明
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