title: CLions aligns everything to the left on entering closing curle, how to reset styles?
body: <p>CLion does some crazy and bad formatting on any closing curly brace entering.</p>
  
  <p><a href="https://i.stack.imgur.com/CuIvH.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/CuIvH.png" alt="enter image description here"></a></p>
  
  <p>Setting / changing style doesn't help</p>
  
  <hr>
  
  <p>Compiling goes ok, so this is not due to syntax error.</p>
  
  <hr>
  
  <p>I have sent a bug: <a href="https://youtrack.jetbrains.com/issue/PY-36944" rel="nofollow noreferrer">https://youtrack.jetbrains.com/issue/PY-36944</a></p>
  
  <p>But how can I make formatter less annoying meanwhile? It breaks my formatting even if I copy paste the code.</p>