auto tags gen : Plugin for creating tags automatically (C/C++)
| script karma
Downloaded by 101
Comments, bugs, improvements
script versions (upload new version)
|Pinaki Sekhar Gupta|
|Plug-in for creating tags with ctags
in the current working directory of the currently opened
buffer (file), automatically, when you save your file.
This plug-in works with C/C++ files only.
Works in the current working directory. It can include
sub-directories as well. You can generate tags files automatically for easy access through Omni Completions,
and facilitate the plug-in that depends on a tags file.
You can even create tags file in any directory without
saving a file.
For example: code_complete.vim (by Mingbai),
echofunc.vim (by Mingbai), plug-ins rely on a
tags file in the working directory
and the include directories added to vim's search list.
All of this is specified within a simple text file based plug-in script
(auto_tags_gen.vim) with a few global variables and
a shared library (auto_tag_gen.dll).
Written For Vim version 7.3.46. May work with older
versions as well as the future releases also.
Tested with Vim 32-bit on Windows 32-bit,
may work with Vim 64-bit on Windows 64-bit.
May work on Linux.
If you want to use this plug-in on Linux, please
build the .so file from the source.
You must set 'nocompatible' in your _vimrc file to use this plug-in. You can
stop the plug-in from being loaded by setting the
:let loaded_auto_tag_generator = 0
in your _vimrc file.
You can also put these lines for your convenience:
filetype plugin on
:set timeout timeoutlen=4500 " ttimeoutlen=100 " default settings -1 not harmed under comment
set history=100 " tons of command-line history. Can be used with up-dn arrow key
Download Exuberant ctags from
Put ctags.exe into C:\WINDOWS\system32
or, create a folder for ctags and finally add this folder to path, by
r-clicking at My Computer -> Properties -> Advanced -> Environment Variables
-> System Variables -> Path. (XP)
r-clicking at Computer -> Advanced System Settings -> System Properties
-> Advanced tab -> Environment Variables
-> System Variables -> Path. (Win7)
But I recommend to put this stuff into system32 instead of cluttering up
the System Path.
Using 7-zip extract "auto_tag_gen_v0.00.02win32.7z" to any location of your preference. This contains source code for the dll and the Code::Blocks IDE project, plus "auto_tag_gen.zip".
Extract "auto_tag_gen.zip" and put the stuffs in their respective locations, e.g. 'auto_tags_gen.txt' to C:\Program Files\vim\vim73\doc
'auto_tag_gen.dll' and 'auto_tags_gen.vim' to
Fire-up gVim and at the Vim command-line do:
Read the documentations carefully.
Click on the package to download.
ip used for rating: 126.96.36.199