VSCodeBeautify icon indicating copy to clipboard operation
VSCodeBeautify copied to clipboard

Can I make Beautify treats all tag as inline element by default?

Open mannok opened this issue 7 years ago • 1 comments

I know that I can config which tag is an inline element in "inline" config. However, I am developing my website using Vue.js. There are many custom-defined tags and some of them are inline by default. In this case, beautify always help me split them into a new line.

Original:

<div>
<span>content</span><custom-span></custom-span>
</div>

After formatting (Now):

<div>
    <span>content</span>
    <custom-span></custom-span>
</div>

I am requesting for:

<div>
    <span>content</span><custom-span></custom-span>
</div>

Just keep <custom-span> inline by default! For example, in config, Let me set something like "treat_all_tags_as_inline": true.

Thanks in advance.

mannok avatar Sep 28 '18 09:09 mannok

Can't be done. Sorry.

HookyQR avatar Apr 30 '19 12:04 HookyQR