Compiler cross references were needed when editor's were used. Today, we have IDE's (Interactive Development Environments). Several are available, each with their pro's and con's. I currently use VSCODE but each has features I like and dislike.
Most IDE's allow you to select a variable in a program and right mouse. The options listed will depend upon the programming language. You specifically asked for "find all references" but you will find other useful options such as "goto definition", "goto references", "goto implementation" and much more. I strongly recommend you get familiar with your IDE otherwise you will get overwhelmed by large projects. Good luck, Jon. On Wed, Jun 17, 2020 at 12:15 PM <[email protected]> wrote: > I remember using mainframe FORTRAN compilers where the compiler would > print out a page of symbol cross references. > > For each symbol or function there would listed the line where it was > defined and then line numbers where it was used/referenced. > > Something similar would be useful for GO. Printing out the symbol. it's > package, file and line # and then where it was referenced. > > Thanks, > > Joe > > -- > You received this message because you are subscribed to the Google Groups > "golang-nuts" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/golang-nuts/9a4f6833-265b-4306-81d4-a0c41a08fde2o%40googlegroups.com > <https://groups.google.com/d/msgid/golang-nuts/9a4f6833-265b-4306-81d4-a0c41a08fde2o%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/golang-nuts/CAByJhJ%3Dz6R36w7-DcnwO95g1tez5T45GcSXn%2BWw0LQvrhBkhoQ%40mail.gmail.com.
