Tags2db is a program that converts tags files ( ctags, gccxml, etc.) to database tables ( SQLite, etc.). Currently only ctags, gccxml and SQLite are supported. Other tags files such as etags, and other databases such as MySQL will be supported in the future.
Here are two screenshots of the SQLite database converted from ctags (the SQLite database is displayed by SQLite Database Browser):
SQLite
libxml2 (Optional, if you want gccxml is supported)
To build and install it, First install sqlite3 development package and optionally libxml2 developement package. On Debian, you could do this by executing the following command:
# aptitude install libsqlite3-devIf you are using a source tarball, then extract it:
# aptitude install libxml2-dev
$ tar zxvf tags2db-{version}.tar.gzOr you obtained the source code through the git repository, run ./autogen.sh:
$ cd tags2db-{version}
$ cd /path/to/source/dirRun ./configure and make:
$ ./autogen.sh
$ ./configureNow the binary executables should be built. To install it, run the following command:
$ make
$ su -c 'make install'This command requires root privilege.
Click here
to download the latest stable release directly. Currently version 0.10.1.1 is
the latest stable version.
For other releases, click
here to visit the download
page.
If you find any bug or you have some good suggestions, please submit it on the issue tracker or send an email to me (xuhdev@gmail.com).
This project is hosted with git, a distributed revision control system.
Click here to visit the code repository page.