新安装的Android Studio,intellij在编辑器中未向我显示错误.
Fresh Install of Android Studio, intellij is not showing me errors in the editor.
没有灯泡,没有带红色下划线的文字.要知道我在哪里出错(甚至是最简单的错误,例如缺少';'),我必须编译我的Android项目.
No lightbulb, no red underlined text. To know where I made errors (even the simplest error like a missing ';' ) I have to compile my Android project .
我一直在使用x64,Java JDK 1.7_40.
I'm on x64 all the way & Java JDK 1.7_40.
谢谢!
推荐答案我找到了答案!
在右滚动条的顶部,有一个小眼睛图标,称为代码分析",如果在代码编辑器中打开的文件没有错误,则应该为绿色.
Just on top of the right scrollbar there is a small eye icon, wich is called "Code Analysis", it should be green if the file opened in the code editor is without errors.
那是什么问题?似乎代码分析很耗电,并且在笔记本电脑处于省电模式"时默认情况下将其禁用.
So what was the problem ? It seems that code analysis is battery hungry and it is desactivated by default when your laptop is on Power Saving Mode.
取消选中省电模式"和Voilà"!
Uncheck Power Saving Mode, and Voilà !
更多推荐
Android Studio未显示快速修复灯泡
发布评论