Ⅰ. 插件描述
PHP completion, refactoring and introspection tool.Ⅱ. 基本信息
|
Ⅲ. 安装方法
使用Vundle管理器安装
在你的.vimrc下添加:Plugin 'phpactor/phpactor'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall
对于Vundle版本 < 0.10.2,请用上面的Bundle替换Plugin。
使用NeoBundle管理器安装
在你的.vimrc下添加:NeoBundle 'phpactor/phpactor'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall
使用VimPlug管理器安装
在你的.vimrc下添加:Plug 'phpactor/phpactor'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall
使用Pathogen管理器安装
在终端中运行以下命令:cd ~/.vim/bundle
git clone https://github.com/phpactor/phpactor
Ⅳ. 文档说明
Phpactor
Branch | Status |
---|---|
master | |
develop |
This project aims to provide heavy-lifting refactoring and introspection
tools which can be used standalone or as the backend for a text editor to
provide intelligent code completion.
- Accurate code completion including class name auto-import.
- Various refactoring,fixes and code generation options.
- Native VIM plugin (emacs plugin is in development).
- Navigation (jump to
definition, related classes, references etc). - Context menu.
- More.
Installation
Phpactor is a general tool, it is not intended that it be installed as a project dependency.
See
Installation
for installation instructions.
Requirements
- PHP 7.1+
- Composer
Project Recommendations
Phpactor will perform better with Composer and, to
a lesser extent, with GiT.
Documentation
Full documentation can be found on the Github page
Community
- Follow @phpactor for the latest news.
- Join the
#phpactor
channel on the Slack Symfony Devs channel.