Skip to content

yet another web front end for GNU GLOBAL source code tagging system

Notifications You must be signed in to change notification settings

DavidPu/gtagviewer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Usage

  • you may need to build latest global by following: http://www.gnu.org/software/global/download.html

  • generate tags with 'global' under your source code tree. e.g:

    cd ~/src/mydroid
    gtags
  • get the gtagviewer somewhere you want to run. e.g:

    git clone https://github.com/DavidPu/gtagviewer.git ~/gtagviewer
  • modify gtagviewer/cgi-bin/config.py:

    ROOT: point to your ~/src/mydroid. use FULL path instead. e.g: /home/username/src/mydroid
    FIND: point to location of GNU find command, e.g: /usr/bin/find. check with 'which find'.
    GLOBAL: point to location of global command, e.g: /usr/local/bin/global
  • create a symbol link 'src' ---> ~/src/mydroid under gtagviewer folder. e.g:

    cd ~/gtagviewer
    ln -s ~/src/mydroid src
  • start the server && browse your code with your web browser:

    sudo python server.py -b 127.0.0.1 -p 80 &
    google-chrome http://127.0.0.1

KEY Bindings

  • use F6/F7/F8 to toggle Left/Bottom/Right panels.

  • all panels works just like a vim editor! type '/' to search something, '#' to select word, use hjkl to move around!

  • Mouse: try to left/right/middle button click to see what happens..

    Happy Hacking!

Screen Shot

  • simple file browser: search path

  • search box with autocomplete supported: search path

  • definition/reference search with Left/Middle mouse key click: search path

  • path search with regex support: search path

About

yet another web front end for GNU GLOBAL source code tagging system

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published