IntelliJ is not formatting HTML

Had the same problem, the statements under the tag were not indented by default. Reformatting and auto-indentation worked after I changed the following:

Settings -> Editor -> Code Style -> HTML -> Other (tab) -> Do not indent children of: -> remove “body” from the list.

Maybe it is the same for you or something related at this section. Hope it works for you aswell.

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)