# # Copyright (c) 1998, 1999 Shigio Yamaguchi # Copyright (c) 1999, 2000, 2001, 2002, 2003 Tama Communications Corporation # # This file is part of GNU GLOBAL. # # GNU GLOBAL is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2, or (at your option) # any later version. # # GNU GLOBAL is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. # # * # Configuration file for GNU GLOBAL source code tag system. # # GLOBAL doesn't need 'gtags.conf' because it has the default values in it. # But if you have this file as '/etc/gtags.conf' or "$HOME/.globalrc" # then GLOBAL system overwrite default values with the values from the file. # # 'gtags.conf' is termcap style file. # 'default' is default target. # You can specify target with GTAGSLABEL environment variable. # default:\ :tc=gctags:tc=htags: #--------------------------------------------------------------------- # Configuration for gtags(1) # See gtags(1). #--------------------------------------------------------------------- common:\ :skip=GPATH,GTAGS,GRTAGS,GSYMS,HTML/,tags,TAGS,ID,y.tab.c,y.tab.h,.notfunction,cscope.out,.gdbinit,SCCS/,RCS/,CVS/,CVSROOT/,{arch}/,.svn/,.cvsrc,.cvsignore,.cvspass,.cvswrappers,.deps/,autom4te.cache/:\ :format=standard: # # [gctags] # # This command is distributed as part of GLOBAL. # # If you want to treat file.x, file.y and file.z as C source files then # # :suffixes=x,y,z: <- pick up x,y,z # :GTAGS=gctags --langmap=c\:.x.y.z -dt %s: <- treat as C source # :GRTAGS=gctags --langmap=c\:.x.y.z -dt %s: # :GSYMS=gctags --langmap=c\:.x.y.z -dt %s: # gctags|tag command for GLOBAL:\ :tc=common:\ :suffixes=c,h,y,c++,cc,cpp,cxx,hxx,hpp,C,H,s,S,java,php,php3,phtml:\ :sort_command=sort:\ :sed_command=sed:\ :GTAGS=gctags -dt %s:\ :GRTAGS=gctags -dtr %s:\ :GSYMS=gctags -dts %s: # # [Emacs's ctags] # # This ctags is distributed as a part of Emacs editor. # # supported suffixes by etags. # # lisp: l,el,lsp,lisp,cl,clisp # scheme: sm,scm,scheme,t,sch,ss,SM,SCM # assembly: s,a,sa,asm,src,def,ins,inc # C++: C,H,cpp,cxx,hxx,hpp,cc # C*: cs,hs # c,yacc: c,h,y # pl,p,pas: pascal # fortran: f,for # # [Installation] # % cd /lib-src # % make ctags # # cp ctags /usr/local/bin/ctags-emacs # ctags-emacs|ctags based on etags|GNU Emacs ctags:\ :tc=common:\ :suffixes=el,s,a,sa,asm,C,H,cpp,cxx,hxx,hpp,cc,c,h,y:\ :extractmethod:\ :GTAGS=/usr/local/bin/ctags-emacs -x -d -T -w %s: # # [Exuberant Ctags] # # This ctags is distributed as a part of Vim editor. # # [Installation] # % cd /src/ctags # % make # # cp ctags /usr/local/bin/ctags-exuberant # ctags-exuberant|Exuberant Ctags|ctags by Darren Hiebert:\ :tc=common:\ :suffixes=s,a,sa,asm,C,H,cpp,cxx,hxx,hpp,cc,c,h,y:\ :extractmethod:\ :GTAGS=/usr/local/bin/ctags-exuberant -x %s | perl -ne '\ if (/^operator \\S+\\s+function\\s/) { s/^operator //; }\ ($name, $type, $no, $path, $line) = split(/[ \\t]+/, $_, 5);\ printf(STDOUT "%-16s %4d %-16s %s", $name, $no, $path, $line);': #--------------------------------------------------------------------- # Configuration for htags(1) # Let's paint hypertext with your favorite colors! # See htags(1). #--------------------------------------------------------------------- htags:\ :body_begin=:body_end=:\ :table_begin=:table_end=
:\ :title_begin=

:title_end=

:\ :comment_begin=:comment_end=:\ :sharp_begin=:sharp_end=:\ :brace_begin=:brace_end=:\ :warned_line_begin=:warned_line_end=:\ :reserved_begin=:reserved_end=:script_alias=/cgi-bin/:\ :ncol#4:tabs#8:normal_suffix=html:gzipped_suffix=ghtml:\ :definition_header=no: