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

Value suggestions for attributes

Open thomasfrobieter opened this issue 3 years ago • 1 comments

I wonder if the extension only autocompletes the attribute-names but not the values?

Example: It correctly autocompletes preserveAspectRatio on the SVG-Element, but it doesn't suggest its values (none, meet, slice, xMinYMin, ...).

So you still have to look at the specification :(

thomasfrobieter avatar Feb 04 '22 12:02 thomasfrobieter

Most common property values are already provided. For now, autocompletes is only for simple values, in your example, preserveAspectRatio is <align> [<meetOrSlice>] value is not just a enum.
In the future, complex value auto-completion will be supported

lishu avatar Feb 04 '22 15:02 lishu