Android Studio “Open Declaration” like eclipse

后端 未结 7 888
不知归路
不知归路 2020-12-29 20:18

Is there a function like the \"open declaration\" in eclipse, that we can use in the new Android Studio?

Just like F3 button.

7条回答
  •  悲哀的现实
    2020-12-29 21:01

    In Preferences, I added the shortcut to Navigate->Declaration in Keymap:

    Android Studio/IntelliJ Keymap screen -> add a shortcut for Declaration

    The cmd+button1 click was added with right click, "add mouse shortcut".

    It is interesting, that to make it 'fully' eclipse like, you may want to make the Javadocs appear on hover. For that you must set "Show quick doc on mouse move" up in the Editor->Other section.

    Setting up Show quick doc on mouse move in Editor->Other section

提交回复
热议问题