Question

For a couple of months my Eclipse began auto linking resource ids from Java code to the appropriate resource files in res/ instead of R.java by command-clicking the generated Java variable. Now the default has been switched back - does anyone know how I can make the "Open Declaration in layout/___" the default again?

Was it helpful?

Solution

You Can Use Ctrl+Alt+Shift and click on res

or on Preferences -> General -> Editors -> Text Editors -> Hyperlinking you can change shortcut key

OTHER TIPS

For me to hide the option leading to R.java it was enough to change shortcut of "Preferences -> General -> Editors -> Text Editors -> Hyperlinking -> Open Declaration" to whatever key else that CTRL.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top