How to set up the indent for HTML on line breaks?
Hi there!
In File | Settings | Editor | Code Style | HTML the indents can be configured. In my case it's
- Tab size: 4
- Indent: 4
- Continuation indent: 4
But when the tag is too long and break it into multiple lines, the indents of the lines in-between are not 4, but 3:
<a
href="/contact"
class="block rounded-md px-3 py-2 text-base font-medium text-gray-300 hover:bg-gray-700 hover:text-white"
>Contact</a>
How to set it up to get the indent of 4 characters?
<a
href="/contact"
class="block rounded-md px-3 py-2 text-base font-medium text-gray-300 hover:bg-gray-700 hover:text-white"
>Contact</a>
Please sign in to leave a comment.