0

hi I would like change how my autoformatting is setup from vue volar. Currently when I format my code volar takes the closing tag of a html tag and sets in on another line. for me it hard to read this code this way. I don't know if this is intentional or a bug. im sure this is something thar can be changed but, I don't know which settings use... any help would be great

current code:

  <v-container
      ><div class="d-flex justify-start">
        {{ contactsStore.contacts.length }} Kontakte
      </div></v-container
    >

expect behavior:

<v-container>
 <div class="d-flex justify-start">
  {{ contactsStore.contacts.length }} Kontakte
 </div>
</v-container>

and when the component has props I would like to to look like this

  <v-container
    :headers="headers"
    :items="contactsStore.getStateWithFullName"
    :search="search"
    :items-per-page="20"
    hide-default-footer
    >
     <div class="d-flex justify-start">
        {{ contactsStore.contacts.length }} Kontakte
     </div>
    </v-container>
bassxzero
  • 4,838
  • 22
  • 34
sportsman
  • 59
  • 1
  • 6
  • 1
    Does this answer your question? [Closing > in new line](https://stackoverflow.com/questions/53366923/closing-in-new-line) – bassxzero Nov 11 '22 at 10:49

1 Answers1

0

fixed! just found the answer in another post. good to know that I am not the only one that does not like this.

Closing > in new line

sportsman
  • 59
  • 1
  • 6