简体   繁体   English

Android Studio 不会自动生成代码

[英]Android Studio doesn't auto generate code

Why my Android Studio doesn't auto generate code为什么我的 Android Studio 不自动生成代码

EX: I have to type all words findViewById because when I type find , the Android Studio doesn't hint me any code?? EX:我必须输入所有单词findViewById因为当我输入find ,Android Studio 没有提示我任何代码? so I have to type all words!所以我必须输入所有单词! When I type .当我输入. after an constant it doesn't show anything!在常数之后它不显示任何东西!

Can someone help me?有人能帮我吗?

Press ctrl+space to show hints.ctrl+space显示提示。
Also check the options under File->Settings->Editor->Code Completion还要检查File->Settings->Editor->Code Completion下的选项

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM