Find out where the variable is initialized

I have a class with the variable "test" in my project. I need to find out on which page of the project / solution this "test" is initialized. We have shortcuts for this, besides Ctl + F, and look at the whole project.

+5
source share
3 answers

Very similar to @George's answer, but I prefer Ctrl+Shift+F(Find Files). About the same as Find All Links, but you don’t need to compile anything for this.

Regarding the special initialization search, search the files text:b*=(making sure regular expressions are used), find the place where you assigned the text.

, Ctrl+Shift+F .

+2
+7

You can click the right mouse button, then find all links to search = newor, if you want Ctrl-K, R.

+4
source

All Articles