Ⅰ. 插件描述
A Symfony2 plugin for padawan.phpⅡ. 基本信息
|
Ⅲ. 安装方法
使用Vundle管理器安装
在你的.vimrc下添加:Plugin 'mkusher/padawan-php-symfony'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall
对于Vundle版本 < 0.10.2,请用上面的Bundle替换Plugin。
使用NeoBundle管理器安装
在你的.vimrc下添加:NeoBundle 'mkusher/padawan-php-symfony'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall
使用VimPlug管理器安装
在你的.vimrc下添加:Plug 'mkusher/padawan-php-symfony'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall
使用Pathogen管理器安装
在终端中运行以下命令:cd ~/.vim/bundle
git clone https://github.com/mkusher/padawan.php-symfony
Ⅳ. 文档说明
Symfony2 plugin
A Symfony2 plugin for
padawan.php completion server.
Adds services' names completion and type detection afterSymfony\Components\DependencyInjection\Container::get and Controller::get.
Demo
Installation
Plugin name is mkusher/padawan-symfony, so you should call plugin add with
this name.
Running
As of now, the only way to update services map is to Generate Index. After it
you'll be able to get services list and types detection.
