如何在 Android Studio 中通过键盘快捷键覆盖方法
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/26574277/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
How to override method via keyboard shortcut in Android Studio
提问by ahsan.dev
I can finally ask a question to get my points up.
我终于可以问一个问题来提高我的分数了。
In android studio, I want to be able to override the method, however I do not know the keyboard shortcut. Does anyone know?
在 android studio 中,我希望能够覆盖该方法,但是我不知道键盘快捷键。有人知道吗?
回答by Alupotha
You can not remember all shortcuts :)
Android Studio(actually Intellij)
has a solution
您无法记住所有快捷方式:)
Android Studio(实际上是 Intellij)有一个解决方案
quick command search : ctrl+shift+A
快速搜索命令:ctrl+ shift+A
if you have more memory here it is CTRL+ O
如果你有更多的记忆这里是CTRL+O
回答by Ragnar
回答by GabrielOshiro
Windows and Linux CTRL+ O
Windows 和 Linux CTRL+O
Mac ^+ O
苹果机 ^+O
Complete IntelliJ shortcuts
完整的 IntelliJ 快捷方式
回答by LearningToCode
ctrl + o -> windows shows overriden method in Android Studio
ctrl + o -> windows 在 Android Studio 中显示覆盖方法