atom-react
atom-react copied to clipboard
Incorrect indentation after multi-line self-closing element
See below gif. If self-closing element is on a single line, then the next line indentation works correctly. If I change the self-closing element to be over multiple lines, then the next line indentation aggressively enforces the wrong indentation. Both when you hit enter to create a new line, and when you type any character on that line.
Was just about to post about this; I'm having the same issue. I tried writing the same HTML in a .html
file and it works fine, but not with JSX
+1 This is incredibly obnoxious. If you fix the tabbing manually, it will break itself any time you type more valid characters on the new line.