Re: So for C++ support should one use "universal-ctags"? What are the current limitations?
Joseph Garvin <[email protected]> Thu, 25 Feb 2021 01:28:20 -0600
| Newsgroups | gmane.comp.gnu.global.general |
|---|---|
| Message-ID | <CAH=MJ4YVtvxUKzED7ATNPk_NUqHsirktasSgUKsH0d9sJpfk8g@mail.gmail.com> |
--0000000000004b385a05bc241998 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable I find the claim that GLOBAL doesn't really support C++ strange because I have been using it for exactly that for almost 10 years with no problems. It finds most symbols and references just fine. I say this even when using it on a C++17 code base. On Wed, Feb 24, 2021, 4:36 PM Shigio YAMAGUCHI <[email protected]> wrote: > Hello, > Unfortunately, there is currently no maintainer for this. > I'm rather thinking of using Universal ctags in the future. > > The reason for thinking so is > o Universal ctags can be used as a plug-in parser of gtags(1). > o Universal ctags is well maintained. > o Little known, but Universal ctags can treat references. > However, there is no parser which uses that function yet. > > Either way, what's missing is the parser writer. > > Regards, > Shigio > > 2021=E5=B9=B42=E6=9C=8825=E6=97=A5(=E6=9C=A8) 1:29 Gautam Thaker <ghthake= [email protected]>: > > > > > > In release notes for 6.6.5 I read: > > > > [DEPRECATED] > > o gtags: the built-in C++ parser is deprecated, since it is not well > maintained. > > Currently, it is hard to say that GLOBAL supports C++ language. > > > > What is state of C++ support? I really like being able to have my > global/gtags/ggtags.el eco-system provide me C++ definitions AND referenc= es > (where methods/functions are being called from.) universal-ctags, I don't > believe it can find references. > > > > What is the state of C++ support and what is the likely future? > > > > Thanks. > > > > > > > -- > Shigio YAMAGUCHI <[email protected]> > PGP fingerprint: > 26F6 31B4 3D62 4A92 7E6F 1C33 969C 3BE3 89DD A6EB > > --0000000000004b385a05bc241998 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <div dir=3D"auto"><div>I find the claim that GLOBAL doesn't really supp= ort C++ strange because I have been using it for exactly that for almost 10= years with no problems. It finds most symbols and references just fine. I = say this even when using it on a C++17 code base.<br><br><div class=3D"gmai= l_quote"><div dir=3D"ltr" class=3D"gmail_attr">On Wed, Feb 24, 2021, 4:36 P= M Shigio YAMAGUCHI <<a href=3D"mailto:[email protected]">[email protected]</a>= > wrote:<br></div><blockquote class=3D"gmail_quote" style=3D"margin:0 0 = 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hello,<br> Unfortunately, there is currently no maintainer for this.<br> I'm rather thinking of using Universal ctags in the future.<br> <br> The reason for thinking so is<br> o Universal ctags can be used as a plug-in parser of gtags(1).<br> o Universal ctags is well maintained.<br> o Little known, but Universal ctags can treat references.<br> =C2=A0 However, there is no parser which uses that function yet.<br> <br> Either way, what's missing is the parser writer.<br> <br> Regards,<br> Shigio<br> <br> 2021=E5=B9=B42=E6=9C=8825=E6=97=A5(=E6=9C=A8) 1:29 Gautam Thaker <<a hre= f=3D"mailto:[email protected]" target=3D"_blank" rel=3D"noreferrer">ghthak= [email protected]</a>>:<br> ><br> ><br> > In release notes for 6.6.5 I read:<br> ><br> > [DEPRECATED]<br> > o gtags: the built-in C++ parser is deprecated, since it is not well m= aintained.<br> >=C2=A0 =C2=A0Currently, it is hard to say that GLOBAL supports C++ lang= uage.<br> ><br> > What is state of C++ support? I really like being able to have my glob= al/gtags/ggtags.el eco-system provide me C++ definitions AND references (wh= ere methods/functions are being called from.) universal-ctags, I don't = believe it can find=C2=A0 references.<br> ><br> > What is the state of C++ support and what is the likely future?<br> ><br> > Thanks.<br> ><br> ><br> <br> <br> -- <br> Shigio YAMAGUCHI <<a href=3D"mailto:[email protected]" target=3D"_blank" re= l=3D"noreferrer">[email protected]</a>><br> PGP fingerprint:<br> 26F6 31B4 3D62 4A92 7E6F=C2=A0 1C33 969C 3BE3 89DD A6EB<br> <br> </blockquote></div></div></div> --0000000000004b385a05bc241998--