sponsor Vim development Vim logo Vim Book Ad

ClassTree : Display class/interface hierarchy

 script karma  Rating 7/8, Downloaded by 1576  Comments, bugs, improvements  Vim wiki

created by
Yanbiao Zhao
 
script type
utility
 
description
Define command "CTree" to display hierarchy of classes/interfaces defined

You must build tag file using Exuberant Ctags with option "--fields=+i"

Works for C#. Should work for Java and any other single-inheritance OO language.
 
install details
Drop CTree.vim into your favorite plugin directory or source the script from your .vimrc file
 

rate this script Life Changing Helpful Unfulfilling 
script versions (upload new version)

Click on the package to download.

package script version date Vim version user release notes
CTree.vim 1.1.2 2006-05-08 7.0 Yanbiao Zhao 1. Clear the code to use taglist() instead of using command "tselect"

2. Fix bug in detecting tag file changes
CTree.vim 1.1.1 2006-05-03 7.0 Yanbiao Zhao 1. Add command "CTag". It will jump to class/interface definition matching the tag

2. Detect the changes to tag setting and tag files. If they are changed, type information will be reloaed automatically. Command "CTreeReset" is not necessary any more and removed.

3. Add short cuts to command "CTree" and "CTag". They are commented out in the script. Uncomment them if you want.
CTree.vim 1.1 2006-04-16 7.0 Yanbiao Zhao Add command "CTreeReset" to clear the cached tag information

Will get parent of interface if it has only one parent.

Add prompt information when load tag information and display total number of entries in cache
CTree.vim 1.0 2006-04-14 7.0 Yanbiao Zhao Initial upload
ip used for rating: 18.222.69.152

If you have questions or remarks about this site, visit the vimonline development pages. Please use this site responsibly.
Questions about Vim should go to the maillist. Help Bram help Uganda.
   
Vim at Github