Vim plugin that displays tags in a window, ordered by class etc.
Tagbar is a vim plugin for browsing the tags of source code
files. It provides a sidebar that displays the ctags-generated
tags of the current file, ordered by their scope. This means that
for example methods in C++ are displayed under the class they are
defined in.
Dependencies
Vim 7.0
Exuberant ctags 5.5
Install
Extract the archive or clone the repository into a directory in
your 'runtimepath' or use pathogen.
Don't forget to run :helptags if you don't use pathogen.
If the ctags executable is not installed in one of the directories
in your $PATH environment variable you have to set the
g:tagbar_ctags_bin variable, see the documentation for more info.
Screenshots
License
Vim license
Authors
Jan Larres (jan@majutsushi.net)
Download
Stable releases
2.1 (2011-05-29)
zip
tar
- Make Tagbar work in (hopefully) all cases under
Windows
- Handle cases where 'encoding' is different from system
encoding, for example on a Chinese Windows with 'encoding' set
to "utf-8" (see manual for details in case it doesn't work
out-of-the-box)
- Fixed a bug with the handling of subtypes like
"python.django"
- If a session got saved with Tagbar open it now gets
restored properly
- Locally reset foldmethod/foldexpr in case foldexpr got
set to something expensive globally
- Tagbar now tries hard to go to the correct window when
jumping to a tag
- Explain some possible issues with the current jsctags
version in the manual
- Explicitly check for some possible configuration problems
to be able to give better feedback
- A few other small fixes
2.0.1 (2011-04-26)
zip
tar
- Fixed sorting bug when 'ignorecase' is set
2.0 (2011-04-26)
zip
tar
- Folding now works correctly. Folds will be preserved when
leaving the Tagbar window and when switching between files.
Also tag types can be configured to be folded by default,
which is useful for things like includes and imports.
- DoctorJS/jsctags and other compatible programs are now
supported.
- All of the highlight groups can now be overridden.
- Added keybinding to quickly jump to next/previous
top-level tag.
- Added Taglist's "p" keybinding for jumping to a tag
without leaving the Tagbar window.
- Several bugfixes and other small improvements.
1.5 (2011-03-06)
zip
tar
- Type definitions can now include a path to a file with the
ctags definition. This is especially useful for ftplugins that can now ship
with a complete ctags and Tagbar configuration without requiring user
intervention. Thanks to Jan Christoph Ebersbach for the suggestion.
- Added autofocus setting by Taybin Rutkin. This will put the
cursor in the Tagbar window when it is opened.
- The "scopes" field is no longer needed in type definitions,
the information is already there in "scope2kind". Existing definitions will be
ignored.
- Some fixes and improvements related to redrawing and window
switching.
1.2 (2011-02-28)
zip
tar
- Fix typo in Ruby definition
1.1 (2011-02-26)
zip
tar
- Don't lose syntax highlighting when ':syntax enable' is called
- Allow expanding the Vim window when Tagbar is opened
1.0 (2011-02-23)
zip
tar
Latest source
Download as:
zip
tar
You can also clone the project with Git
by running:
$ git clone git://github.com/majutsushi/tagbar