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.