can gtags be enhanced to find where a symbol is being modified?
Gautam Thaker <[email protected]> Tue, 14 Jul 2020 16:39:32 -0400
| Newsgroups | gmane.comp.gnu.global.general |
|---|---|
| Message-ID | <CA+1+E3UbxTECh2j3Ozy0OD2WwjDhKEZPxP6erCJ+jFKpUuV0kw@mail.gmail.com> |
--000000000000999faa05aa6cce90 Content-Type: text/plain; charset="UTF-8" I have been a long time gtags/global/ggtags.el use and love it. When I use ggtags.el to find all the locations where a particular symbol is referenced, I wish it were possible to ask to be shown all the places where the symbol is being "modified" (written to.) Ideally, I wish either GRTAGS (or elsewhere) the following entries can be generated: Symbol Read/Write function file_name line_number we can then, with some simple arg flag (^u for example?) only search for symbol where it is being modified, possibly restricting it to just the current function an/or current file. How hard would this be to do? I am willing to do some of the work if guided. Also, when I use gtags --sqlite3, the GRTAGS file seems essentially empty. (I have built gtags with --with-sqlilte). --000000000000999faa05aa6cce90 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <div dir=3D"auto"><div class=3D"gmail_quote" dir=3D"auto"><div dir=3D"ltr" = class=3D"gmail_attr"><br></div>I have been a long time gtags/global/ggtags.= el use and love it.=C2=A0 When I use ggtags.el to find all the locations wh= ere a particular symbol is referenced, I wish it were possible to ask to be= shown all the places where the symbol is being "modified" (writt= en to.)<br> <br> <br> Ideally, I wish either GRTAGS (or elsewhere) the following entries can be g= enerated:<br> <br> Symbol=C2=A0 =C2=A0Read/Write=C2=A0 =C2=A0function file_name=C2=A0 line_num= ber<br> <br> <br> we can then, with some simple arg flag (^u for example?) only search for sy= mbol where it is being modified, possibly restricting it to just the curren= t function an/or current file.<br><br> How hard would this be to do? I am willing to do some of the work if guided= . Also, when I use<br> <br> <br> gtags --sqlite3, the GRTAGS file=C2=A0 seems essentially empty. (I have bui= lt gtags with --with-sqlilte).<br> <br> <br> <br> <br> </div></div> --000000000000999faa05aa6cce90--