GtagsClient : A client for Google Gtags
script karma |
Rating 12/3,
Downloaded by 1275 |
Comments, bugs, improvements
|
Vim wiki
|
created by |
Edward Fox |
|
script type |
utility |
|
description |
Google Gtags is an extension to GNU Emacs and X-Emacs TAGS functionality, with a server-side component that narrows down the view of a potentially large TAGS file and serves the narrowed view over the wire for better performance. Google Gtags could be downloaded from http://code.google.com/p/google-gtags/ .
This plugin is a Vim client to Googe Gtags. With this plugin, you could easily set up many projects in your workstation, and use different Gtags servers in different projects automatically. The only thing you should do is putting a text file named ".gtags" in the project root directory, write the servers' information in this file, one line per server. The description format is:
language,type,hostname,port
For example:
c++,definition,my.server.org,8928
c++,callgraph,my.server.org,8929
python,definition,my.server.org,8930
python,callgraph,my.server.org,8931
Then when you open any files under this directory (including all sub directories), your Vim will use these servers for tags looking up.
The server auto-selection doesn't work with "mixer" feature. So if you want to use the server auto-selection feature, you should disable the mixer feature by typing ":let g:google_tags_use_mixer=0", or put the following lines in your .vimrc.
" Gtags
let g:google_tags_use_mixer=0 |
|
install details |
This plugin is compressed in VimBall format. So you may need to install the latest version of vimscript #1502 first.
Then the only thing you should do is just downloading the Vimball, opening it in Vim and typing this command followed by an enter in your Vim:
:so % |
|
script versions (upload new version)
Click on the package to download.
ip used for rating: 18.118.2.15
|