1

When I use Android Studio, I can right-click on a string resource variable and choose Goto->Declaration in order to open the XML string resource file where it is defined. When I try to "open declaration" using Eclipse ADT, it opens the "R" file instead.

How can I get Eclipse ADT to do the same behavior as Android Studio?

3
  • I think ADT doesn't include this feature. Would be happy to be proven wrong though :) Commented Jun 12, 2014 at 22:34
  • Maybe someone should make a plug-in for that! Commented Jun 12, 2014 at 22:35
  • How about a +1 for my question? lol. Commented Jun 12, 2014 at 22:36

1 Answer 1

2

Control-click on the variable and it should then open a popup menu with the XML file(s) where the resource is defined.

Just select the desired XML file and voila.

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

1 Comment

I didn't know this existed! +1 to both question and answer :)

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.