Android – is there a keyboard shortcut for “open statement in layout” in eclipse?

I hate that when I try to open the layout declaration, eclipse redirects me to the R file, which is not the same as anything. Is there a keyboard shortcut to bring it to the layout file? I know if you click it with Ctrl, it will give you this option in the pop-up window, but I hate using the mouse. I can't find this in the key binding section. I'm just a simple "public declaration" Has changed because it defaults to a terrible F3, but this usually takes you to the R file

resolvent:

Then there is a mouse shortcut - just hold down Ctrl and hover over the ID you want to view. You will get two options, one for r.java and the other for opening the declaration. Select the second

Edit:

Sorry, I totally missed the part you don't like using the mouse. Well, I don't think there is any other way. I see an error / function request https://code.google.com/p/android/issues/detail?id=53536 The report specifically requires this, so I don't think there is another way, In addition to using the mouse or keyboard to highlight the specific item of interest and using Ctrl Shift r to get the menu and press enter, as you mentioned, this is not feasible for things like r.id.foo. I hope people from Google / eclipse can comment on the error / function request

The content of this article comes from the network collection of netizens. It is used as a learning reference. The copyright belongs to the original author.
THE END
分享
二维码
< <上一篇
下一篇>>