Sublime Forum

Formatting html/blade files

#1

Hi. I lost all my user settings after my last machine died and now I’m trying to get the formatting back to as it was, but cannot for the life of me figure out how i done it before.

Im working on a Laravel project at the moment, and the html/blade files that im writing are not indenting as i want it.

This is how i want it to indent:

<button
    x-show="!readMore"
    @click.prevent="readMore = true"
    class="text-lh text-secondary border border-gray-300 rounded-md py-2 px-3">
        Read More
</button>

But if i add the class etc. onto a new line the other lines below indent backwards.

Any ideas or know of any packages that will help with this.

Cheers

0 Likes