#Problem Description
When writing scala program IDEA, some obvious syntax error is not checked, nothing like what the red line when writing Java when running compiled, the compilation fails.
https://blog.csdn.net/weizheng1000/article/details/53393910
# Troubleshooting
1.IDEA opened the power-saving mode
According to some online posts of view, the power-saving mode for this phenomenon, but not because of my situation.
2.Scala syntax check is closed
This is the reason I have caused. In the lower right corner of the bottom bar to have a [IDEA] button, make sure it is in a small T state. Figure