question
Android Studio or Intellij IDEA sometimes does not prompt syntax errors,
reason
There are 2 reasons:
- Power saving mode is on
- Incompatible plugin installed
solve
For reason 1, turn off the power saving mode
For reason 2, uninstall incompatible plug-ins, such as the Butterknife plug-in commonly used in Android, and open the error message in the lower right corner of the editor
It shows that Android ButterKnife Zelezny is wrong, it is recommended to disable plugin, or uninstall this plugin, uncheck it
This is the reason why similar keywords are not highlighted.