Better XML support

Describe your feature request
Come on, people! XML is 100% predictable! I understand the leniency with HTML, but XML should at least auto-complete the closing tag if you write an opening tag.

In addition, SVG files should be editable! There should also be a “Preview” button in the corner, similar to Markdown files.

What problem(s) would this feature solve?
It is currently really annoying trying to code in XML, especially when writing SVG files.

Explain what you were trying to do when you came across the problem leading to this feature request
I was trying to write an SVG file, and I got really annoyed at Replit’s bad support for XML and SVG files.

6 Likes

For autocompletion, this isn’t directly Replit, this is todo with the language server used, you should be able to change/configure this using the .replit file.

I agree, SVGs should definitely be editable in the editor, as a temporary solution, a while ago I made an extension SVG Editor (it’s unverified). You can use this to edit your SVG files as plain text, it’s nothing fancy though.

4 Likes