I'm sorta new to IntelliJ and I'm having a rough time editing existing HTML documents.
It seems as if moving lines of code around in the document causes the tab intenting to change, often messing up the nesting of tags.
This was especially bad when the Reformat On Paste option was selected. Since I turned that off, I have less trouble with this. However, it seems like IntelliJ does not handle nested tables very well.
I have tried to begin my work with a Reformat command, so IntelliJ can take control of the formatting, but even when I do this, the code will still get the intenting changed as a I copy lines, move lines up and down, or paste in code.
Often it will change a a line intented with 4 tabs, to a line with 1 tab and 1 space. I feel like I'm spending way too much time reformatting code, and not enough time writing it.
I'm happy to provide any additional information needed to help track down either the source of the issue, or the correct settings I can use to improve the formatting/reformatting of my code.