How to navigate to the initialization of a variable NOT its declaration?
I see people using the text search and try to find each assignment and I tend to find the usages of that variable and filter by hand the assignments to it. Both ways are not practical.
Is there any shortcut or usage search way of doing this faster?
Hold ctrl
and mouse click
the instance of the variable. This will bring you to where the variable is created. If you initialized it later in the code, hold ctrl
and mouse click
the variable again (where it is created) and it will show you options of all places in the code where the variable is used - just click on the top one, which is likely the initialization.
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