vscode-svg2 icon indicating copy to clipboard operation
vscode-svg2 copied to clipboard

How to ignore document formatting in lines or files?

Open s-varenia opened this issue 1 year ago • 1 comments

How to ignore document formatting in lines or files?

I need:

<text x="1em" y="1em">
	<tspan dx="0em" dy="0em">123</tspan><tspan dx="0em" dy="0em">45</tspan>
</text>

But after formatting, tspan wraps to a new line, which adds a space to the SVG.

<text x="1em" y="1em">
	<tspan dx="0em" dy="0em">123</tspan>
	<tspan dx="0em" dy="0em">45</tspan>
</text>

s-varenia avatar Apr 10 '23 14:04 s-varenia

The current formatting is implemented using the vscode HTML service, and this customization is not possible at this time

lishu avatar Apr 11 '23 14:04 lishu