Vim CCTree plugin
Vim script
Clone or download
Latest commit 1e1b040 Jul 24, 2017
Permalink
Failed to load latest commit information.
doc Fix directory name; add doc Apr 26, 2014
plugin Fixed an assignment Sep 27, 2016
LICENSE.txt Create LICENSE.txt Jul 24, 2017
README.md Edits to the description Apr 30, 2014

README.md

About

This is a fork of http://www.vim.org/scripts/script.php?script_id=2368

Description:

Plugin generates symbol dependency tree (aka call tree, call graph) in real-time inside Vim. Basic support for functions and macros; global variables, enums, typedefs can be cross-reference with additional processing. Functionality similar to that of tools and IDE's like CBrowser, Kscope, Source navigator, Eclipse, Source Insight. Project details/Screenshots. Requires cscope to generate a cscope database; the complementary utility ccglue can be used to convert cscope databases to native cctree databases for instant loading.

Complementary tools

  • ccglue Generate cross-reference cctree database files from cscope and/or ctags database files.

##Features

  • Symbol dependency tree analyzer for C using cscope database
  • Basic support for functions, and macros
  • Extended support for global variables, macros, enum members, typedefs, and also symbols cscope might not detect.
  • Native Vim 7 plugin
  • Supports using external tools, or perl interpreter to overcome VimScript memory limitations for loading large databases
  • Leverages Vim features and Integrates into typical programming work-flow
  • Dynamic syntax highlighting for real-time dependency tree flow (customizable)
  • Cscope like default short-cuts (customizable)
  • Folding support
  • Preview/Tag loading
  • Manipulate call-tree windows
  • Save buffers
  • Export to HTML with syntax highlighting (with +conceal)
  • Serialization of cross-reference tables
  • Similar to Vim's session feature, CCTree can save the built cross-references into a file for reloading any time later
  • Can be complemented with native tools [ccglue] for faster cross-reference building in larger projects

Supported languages:

Requirements:

Vim installation

To use with vundle (recommended) simply add:

Plugin 'hari-rangarajan/CCTree' 

in your .vimrc