ctrl+shift+p filters: :st2 :st3 :win :osx :linux
Browse

GTags

by koko1000ban ST2

GNU GLOBAL(gtags) support for Sublime Text 2/3

Details

  • 2014.09.30.01.30.07
  • github.​com
  • github.​com
  • 10 years ago
  • 1 hour ago
  • 12 years ago

Installs

  • Total 1K
  • Win 658
  • Mac 305
  • Linux 288
Nov 21 Nov 20 Nov 19 Nov 18 Nov 17 Nov 16 Nov 15 Nov 14 Nov 13 Nov 12 Nov 11 Nov 10 Nov 9 Nov 8 Nov 7 Nov 6 Nov 5 Nov 4 Nov 3 Nov 2 Nov 1 Oct 31 Oct 30 Oct 29 Oct 28 Oct 27 Oct 26 Oct 25 Oct 24 Oct 23 Oct 22 Oct 21 Oct 20 Oct 19 Oct 18 Oct 17 Oct 16 Oct 15 Oct 14 Oct 13 Oct 12 Oct 11 Oct 10 Oct 9 Oct 8
Windows 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
Mac 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
Linux 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0

Readme

Source
raw.​githubusercontent.​com

SublimeGtags

This is a plugin for the Sublime Text 2/3 text editor that support GNU GLOBAL (gtags)

Installation

Clone this repo directly into your Packages directory.

Set Up

To set-up C/C++ Source Navigation:

  1. Install CTAGS

  2. Get GNU GLOBAL

  3. In terminal cd to downloaded directory, and run command “./configure –with-exuberant-ctags” (This will use the Ctags as a parser for parsing files)

  4. Type “make”.

  5. Type “make install”.

  6. Now run “gtags -v” in your project folder to create tag files.

Settings

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"]
}

Compatibility

  • OS X (good)
  • Linux (fair)
  • Windows (fair)

Support

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 :)

Screenshot