Ⅰ. 插件描述
The hierarchy of classes in exVim projectⅡ. 基本信息
|
Ⅲ. 安装方法
使用Vundle管理器安装
在你的.vimrc下添加:Plugin 'exvim/ex-hierarchy'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall
对于Vundle版本 < 0.10.2,请用上面的Bundle替换Plugin。
使用NeoBundle管理器安装
在你的.vimrc下添加:NeoBundle 'exvim/ex-hierarchy'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall
使用VimPlug管理器安装
在你的.vimrc下添加:Plug 'exvim/ex-hierarchy'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall
使用Pathogen管理器安装
在终端中运行以下命令:cd ~/.vim/bundle
git clone https://github.com/exvim/ex-hierarchy
Ⅳ. 文档说明
- -
For more details, check exVim's Docs: View Class Hierarchies
- -
Intro
ex-hierarchy is a plugin working under exVim. It will generate the class inherit relationship
data and use graphviz draw the specific class hierarchies.
ex-hierarchy is also a part of exVim project.
Requirements
- Vim 6.0 or higher.
- exvim/ex-utility
- graphviz
Installation
Install ex-utility
ex-hierarchy is written based on exvim/ex-utility. This
is the basic library of ex-vim-plugins. Follow the readme file in ex-utility to install it first.
Install graphviz
ex-hierarchy used graphviz to draw the class hierarchies. To install it:
Mac
## use Homebrew
brew install graphviz
Linux
## use pat-get
apt-get install graphviz
## use yum
yum install graphviz
## or compile graphviz from source
Windows
download it from graphviz
Install ex-hierarchy
ex-hierarchy follows the standard runtime path structure, and as such it can
be installed with a variety of plugin managers:
To install using Vundle:
# add this line to your .vimrc file
Bundle 'exvim/ex-hierarchy'
To install using Pathogen:
cd ~/.vim/bundle
git clone https://github.com/exvim/ex-hierarchy
To install using NeoBundle:
# add this line to your .vimrc file
NeoBundle 'exvim/ex-hierarchy'
cd ~/.vim
unzip ex-hierarchy-master.zip
copy all of the files into your ~/.vim directory
Usage
NOTE: This plugin currently is highly depends on exVim. You need to run :Update
command in exVim before using it.
Enter your project, use :HV your-class to generate your class hierarchies.
More details, check :help exhierarchy.