3

While editing code sometimes we might need to change the string value in strings.xml, what is the fastest way to do that?

1
  • ctrl+click and then shift+f6 Commented Jun 23, 2015 at 16:17

2 Answers 2

3

For windows/Linux:

Hold Ctrl and hover your mouse over the reference of string. It will create a link that will take your cursor to the string.xml file .

For Mac:

Hold Cmd button and do the same thing as above.

Example: enter image description here

Sign up to request clarification or add additional context in comments.

Comments

1

In windows you can do Alt + Enter in your string and Android Studio will show you this:

enter image description here

From there you can Extract string resources

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.