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
  • 58 minutes ago
  • 12 years ago

Installs

  • Total 1K
  • Win 658
  • Mac 305
  • Linux 288
Apr 25 Apr 24 Apr 23 Apr 22 Apr 21 Apr 20 Apr 19 Apr 18 Apr 17 Apr 16 Apr 15 Apr 14 Apr 13 Apr 12 Apr 11 Apr 10 Apr 9 Apr 8 Apr 7 Apr 6 Apr 5 Apr 4 Apr 3 Apr 2 Apr 1 Mar 31 Mar 30 Mar 29 Mar 28 Mar 27 Mar 26 Mar 25 Mar 24 Mar 23 Mar 22 Mar 21 Mar 20 Mar 19 Mar 18 Mar 17 Mar 16 Mar 15 Mar 14 Mar 13 Mar 12
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