Re: [PATCH] ctags: Generate tags for headers, i.e. function prototypes

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

 



On Tue, Sep 18, 2018 at 03:24:13PM +0200, Michal Privoznik wrote:
> On 09/18/2018 02:24 PM, Erik Skultety wrote:
> >>From time to time it's handy to jump directly to a function prototype in
> > a header. However, generating tags for headers is disabled by default in
> > ctags, let's enable it by using --c-kinds=+p.
> >
> > Signed-off-by: Erik Skultety <eskultet@xxxxxxxxxx>
> > ---
> >  .ctags | 1 +
> >  1 file changed, 1 insertion(+)
> >
> > diff --git a/.ctags b/.ctags
> > index 75e9753182..a4f17b589d 100644
> > --- a/.ctags
> > +++ b/.ctags
> > @@ -3,3 +3,4 @@
> >  --exclude=*.html
> >  --exclude=*.html.in
> >  --langmap=c:+.h.in
> > +--c-kinds=+p
> >
>
> ACK, although I might post a patch to add some more fields later.

If you think that they add any value then sure, let's do that, but please stay
away from c-kinds=+l, aka "local variables" as I actually find that one
counter-productive.

Thanks,
Erik

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list



[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux