Android Studio 实战秘籍 | Android Studio 使用经验

It pop up "Cannot find declaration to go to"

用户评价:  / 5
好 

摘录:Android Studio 常见问题

问题:

Case1 :I use "F3" to go to declaration between different files but it pop up "Cannot find declaration to go to".
Case2: If in one file , "F3"(Go to declaration) is ok.
In Eclipise , the case1 and case 2 are all the success if using "Go to declaration"
Any one knows how to deal with it in Android studio if using "Go to declaration" in different files?

讨论:

A:you should press F4 instead
Q:F4是find next吧。 我想找的是类的定义或是函数的实现
A:你是修改过快捷键吧? 默认的是F4,你在keymaps 里看下快捷键说明就都明白了。
Q:谢谢 ,问题解决 。是替换过keymaps,用了eclipise defaule的keymap . 用F12 "Find source"可以找到

Android Wear 开发教程

当前位置:Home 文档 实战秘籍 It pop up "Cannot find declaration to go to"