vscode is my favorite editor, I have a code formatting problem with it. Here is my jsx code:
vscode
jsx
Alternatively to Beautify and the workaround that you should do, you can use instead rc-beautify vscode extension. Install it, CTRL+B to format JS, JSX code.