close


1。 $ sudo apt-get install global
2。 $ cd <source_root_path>
3。 $ gtags
4。 $ global <pattern> (find definition of pattern)
5。 $ global -r <pattern> (find references of pattern)
6。 $ global -x <pattern> (shows the detail)
7。 $ global -xg <pattern> (locates the lines which have specified pattern)

* Not work with VIM, use the above commands under SHELL

reference: http://www.gnu.org/software/global/globaldoc.html

 

 

arrow
arrow
    全站熱搜

    forteallan 發表在 痞客邦 留言(0) 人氣()