IntelliJ IDEA code reformat not working

I am using IntelliJ IDEA version 2017.3, then I install plug-in CheckStyle-IDEA v 5.16.0 successful, I install Apache Maven Checkstyle Plugin to run myCheckFile.xml . At install phase, I received many check style error like:

Indentation: '.' has incorrect indentation level 6, expected level should be 8.
Indentation: 'new' has incorrect indentation level 6, expected level should be 8.

After importing CheckStyle settings, I expect when I hit Ctrl+Alt+L inside IntelliJ IDEA all check style error will die but that doesn't happen, is there's something i'm missing ?

链接地址: http://www.djcxy.com/p/96208.html

上一篇: 使用less.js更改单个变量

下一篇: IntelliJ IDEA代码重新格式化不起作用