This is a plugin for the Sublime Text 2/3 text editor that support GNU GLOBAL (gtags)
Clone this repo directly into your Packages directory.
##Set Up To set-up C/C++ Source Navigation:
-
Install CTAGS
-
Get GNU GLOBAL
-
In terminal cd to downloaded directory, and run command "./configure --with-exuberant-ctags" (This will use the Ctags as a parser for parsing files)
-
Type "make".
-
Type "make install".
-
Now run "gtags -v" in your project folder to create tag files.
You can point other locations for the GPATH, GRPATH etc files via the preferences. Main menu -> Preferences -> Package Settings -> SublimeGtags -> Settings - Users
There's a GTags.sublime-settings:
{
// show relative paths in keyword jump selection panel
"show_relative_paths": true,
// a list of other locations to look up (GTAGSLIBPATH)
"extra_tag_paths" : ["/usr/local/src/llvm-trunk/tools/clang"]
}
- OS X (good)
- Linux (fair)
- Windows (fair)
If you find something wrong with the plugin, the documentation, or wish to request a feature, let me know on the project’s issue page.
Thanks :)