0
votes

I'm using prettier to format my Vue files, but can't find to seem a setting that puts props/attributes of html elements to new lines.

screen

I'd like to make sure that my code is always formatted as it is for v-text-fieldin a yellow frame, rather than below. I set Prose Wrap to "never", but I guess that was not it. Any help appreciated!

1
Are you using the prettier extension or ESLint with prettier plugin? - tHeSiD

1 Answers

-1
votes

That's what Prettier does: breaks lines if they get too long. It doesn't make sense to use Prettier if you don't need its line-breaking behavior as this behavior and Prettier are one and the same.