Search code examples
visual-studio-codebrackets

Atribute saperetes from bracket in vscode


Attribute separates from the bracket. Here is a printscreen and in the red foursquare you can see how attribute is in the new line from the bracket.

enter image description here

I have uninstalled extension "bracket pair colorizer"


Solution

    • May be you can try this, it may work:
      Go to Settings > Wrap Attributes ( In the search bar type Wrap Attributes ) and in the HTML Format make that to Auto if it isn't.
    • If that doesn't try installing extension called Prettier - Code formatter and check whether it can solve your issue.