android - What is the shortcut key to view the usage of variables when debugging source code?
我想大声告诉你
我想大声告诉你 2017-06-05 11:12:32
0
2
741

Please help me pass the review. My question is very clear.

How to check the usage of a variable when debugging the source code?
If you are in your own code, you can usealt f7to view the call, but in the source code (widgetpackage,v7package, etc.) If it doesn’t work, how can I check the usage and assignment of a variable at this time?

For example, I am looking at the classScroller, and I want to see where the member variablemCurrXis used. Is there any way to check it?
If this class is my own, then I canctrl left clickto view it, or usealt f7to view it, but the source code cannot be clicked, what can I do? Can you point it out?

I now usealt jto find the same string, which is very inefficient.
Ask God for guidance

我想大声告诉你
我想大声告诉你

reply all (2)
滿天的星座

Thanks for the invitation. I don’t quite understand what you want specifically, so I’ll just give you a rough idea based on my understanding.
Under normal circumstances, when the source code is opened in the IDE, there will be many red places, which causes the IDE to be unable to compile. I guess this may be the reason why the IDE cannot generate an index for it, and you cannot usectrl + left clickoralt + f7to check it out. However,This is just my guess.
I work a lot with source code, but I usually usectrl+f, which is the search command to see the use of a certain variable. However, some people also useSource Insightto load source code. This tool can also jump through shortcut keys like an IDE. You can try it.

    Ty80

    ALT + F7 Your description is not very clear. Please try this

      Latest Downloads
      More>
      Web Effects
      Website Source Code
      Website Materials
      Front End Template
      About us Disclaimer Sitemap
      php.cn:Public welfare online PHP training,Help PHP learners grow quickly!