Skip to content

Handle SVG as its own language #252506

Open
Open
@ad-si

Description

@ad-si

I just tried to disable auto-formatting for SVG like this:

  "[svg]": {
    "editor.formatOnSave": false
  }

However, [svg] is not a valid language and therefore it doesn't work.
Instead you have to use [xml], which I don't want to use since I still want it to auto-format any "real" XML files.

IMHO: SVG is branched off from XML (just like HTML) and warrants its own language specifier.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions