title: IntelliJ checkstyle plugin reformat
body: <p>I followed the step <a href="https://youtrack.jetbrains.com/issue/IDEA-61520#comment=27-1292600" rel="nofollow noreferrer">add checkstyle</a></p>
  
  <p>Here are the specific steps:
  Setup Steps</p>
  
  <ol>
  <li>Go to IntelliJ -> Preferences -> Plugins -> Browse repositories.</li>
  <li>Search for and Install the "Checkstyle-IDEA" plugin, restart IntelliJ.</li>
  <li>Go to IntelliJ -> Preferences -> Other Settings -> Checkstyle.</li>
  <li>Under "Configuration File" click "+" and name the description "Customized Checkstyle".</li>
  <li>Click on "Use a checkstyle file accessible via HTTP" and "ignore invalid certificates".</li>
  <li>For the URL use: <a href="https://drive-xxxxxxxxx.xxxxxx.com/view/xxxxx/checkstyle-rules.xml" rel="nofollow noreferrer">https://drive-xxxxxxxxx.xxxxxx.com/view/xxxxx/checkstyle-rules.xml</a> (corporate website) click "Next" and then click "Finish".</li>
  <li>Click on the checkbox for "Customized Checkstyle", click "Apply" and "OK".</li>
  </ol>
  
  <p>And I can run in real-time checkstyle to my code. However, when I <strong>reformat</strong> the code, the formatted code does not match the checkstyle, could you please let me know what I did wrong?</p>