The VS Code in my Mac pc is automatically breaking the customer HTML tags in new lines. This is making the length of the whole code much bigger. For example, I want below code in one line
<FormInput name="propertyTax" width="43%" height="7%" placeholder="3,200"></FormInput>
But the VS code is showing as below.
<FormInput
name="propertyTax"
width="43%"
height="7%"
placeholder="3,200">
</FormInput>
I tried change wordwrap from settings with no luck.
Please help me.
HTML > Format: Wrap Attributes
set to anything besidesauto
? If so, that can cause what you are seeing. And see https://mcmap.net/q/642371/-disable-html-attribute-alignment-in-visual-studio-code. – Kean