Domanda

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?

È stato utile?

Soluzione

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

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

Altri suggerimenti

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.

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top