Frage

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?

War es hilfreich?

Lösung

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

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

Andere Tipps

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.

Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow
scroll top