Any shortcut to see the resource variable content in the source code?

Viewed 86

In Android Studio, when we open a code or XML file, sometimes we can see the resource value as shown below i.e. MockServer Experiment. By clicking into it we'll be able to see that it is a resource string variable @string/app_name

My question is, how can I do the reverse (e.g. from the resource string variable, I can get it to show the value)? Aside from clicking into the resource file to see it.

2 Answers

Ctrl+> works for me on my Ubuntu machine. To show a string value, you need to move the cursor to e.g. @string/app_name and press the shortcut.

if move typing cursor on it and use Ctrl+Shift+i, then a popup menu is opened and shows the definition.1

Or You Can use Ctrl+Q

My Android Studio Version is 4.0

Related