title: Beautify / Format Java code in Visual Studio Code
body: <p>I have tried some proposals on <a href="https://stackoverflow.com/questions/35984564/how-to-format-code-in-visual-studio-code">here</a> and <a href="https://stackoverflow.com/questions/29973357/how-do-you-format-code-in-visual-studio-code-vscode">here</a>, but none of them works. How do you accomplish it for Java code or is there a way for general? En passant, I've install XML formatter in order that it may work, but not.</p>
  
  <p><a href="https://i.stack.imgur.com/tiBJU.png" rel="noreferrer"><img src="https://i.stack.imgur.com/tiBJU.png" alt="enter image description here"></a>
  <a href="https://i.stack.imgur.com/FGy69.png" rel="noreferrer"><img src="https://i.stack.imgur.com/FGy69.png" alt="enter image description here"></a></p>