I have a class with variable “test” in my project. I need to find out at which page of the project/solution this “test” get initialized. Do we have any short cut keys for this, other than Ctl+F and look for entire project.
try F12. There are some great shortcut posters here, print one out for your wall
Visual Studio 2010 Keybinding Posters
You can right-click it, then Find All References, looking for = new
, or if you prefer, Ctrl-K, R
.
Very similar to @George's answer, but I prefer a Ctrl+Shift+F
(Find In Files). Does about the same thing as Find All References, but doesn't have to compile anything to do it.
As for specifically looking for the initialization, a find in files of text:b*=
(making sure Use Regular expressions is on), would find any place where you assigned to text.
This is assuming you didn't mean Ctrl+Shift+F
in your question.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With