For more details, check exVim's Docs: View Class Hierarchies
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.
- Vim 6.0 or higher.
- exvim/ex-utility
- graphviz
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.
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
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
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
.