Bitbucket is a code hosting site with unlimited public and private repositories. We're also free for small teams!

Close

TagHighlight

TagHighlight is a plugin that highlights names of classes, variables, types etc in source code in Vim. This makes it quicker and easier to spot errors in your code. By using exuberant ctags and parsing the output, the typedefs, #defines, enumerated names etc are all clearly highlighted in different colours. As standard, it supports the following languages (but it's very easy to add more):

  • C/C++ (most of the testing has been with these)
  • C#
  • Java
  • Javascript
  • Matlab (functions only; may require custom ctags version)
  • Perl
  • PHP
  • Python
  • Ruby
  • Scala
  • Fortran
  • Go (if your version of ctags supports it)
  • VHDL (if your version of ctags supports it)

Adding more languages is extremely simple.

To show the benefit of this plugin, there are some screenshots and a more detailed description at the following website:

http://www.cgtk.co.uk/taghighlight

If you find this plugin useful, please help me out by writing about how you use it on the Usage Survey.

Installation instructions are available here:

http://www.cgtk.co.uk/taghighlight/install

The source is managed in Mercurial and is available on bitbucket.

Detailed documentation can be found in doc/TagHighlight.txt.

Recent activity

abudden

abudden pushed 1 commit to abudden/TagHighlight

506ef8f - TagRelative internal option added to make tags work better with projects with the tag files stored remotely.
abudden

abudden pushed 3 commits to abudden/TagHighlight

3418ba6 - Fix for bug in user libray loading (thanks to Kévin Brodsky for reporting this).
8ee664d - Removed duplicated debug and print actual RunOptions (fixes #78).
7b0fe2b - Wrap syntax matches with word boundaries.
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.