bug-global
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [feature request] search the place where the header file is included


From: Hideki IWAMOTO
Subject: Re: [feature request] search the place where the header file is included
Date: Sun, 16 Mar 2003 04:53:54 +0900

On Sat, 15 Mar 2003 03:32:28 +0900, Shigio Yamaguchi wrote...
> > I want the function to find quickly the place where the header file is used
> > by following operation.
> > 
> > >global -Prx 'die.h'
> > die.h              42 gctags/C.c     #include "die.h"
> > die.h              42 gctags/Cpp.c   #include "die.h"
> > die.h              38 gctags/java.c  #include "die.h"
> > die.h              38 libutil/conf.c #include "die.h"
> > die.h              43 libutil/dbop.c #include "die.h"
> > die.h              34 libutil/defined.c #include "die.h"
> > die.h              30 libutil/die.c  #include "die.h"
> >  ....
> 
> How about using -I option?
> 
> % global -xI die.h
> die.h              42 gctags/C.c     #include "die.h"
> die.h              42 gctags/Cpp.c   #include "die.h"
> die.h              38 gctags/java.c  #include "die.h"
> die.h              38 libutil/conf.c #include "die.h"
> die.h              43 libutil/dbop.c #include "die.h"
> ...
> 

Thank you. It works as I wanted.

Is it easy to add the function which makes the link
to the place which is using the header file to htags?

----
Hideki IWAMOTO  address@hidden




reply via email to

[Prev in Thread] Current Thread [Next in Thread]