lishu / vscode-svg2

A vscode svg langauge support extension
MIT License
202 stars 11 forks source link

Support autocomplete in non-svg files like Vue #22

Open cvharris opened 4 years ago

cvharris commented 4 years ago

Steps to Reproduce

  1. Create a Vue file with Vue syntax highlighting (*.vue)
  2. Create a <template> and add any SVG element like <svg> or <circle>

What happens

The autocomplete does not work

What I expect to happen

Autocomplete that happens in *.svg files should work here.

Probably should allow this extension to be configurable to provide autocomplete for any other HTML syntax, including .html, .php, .pug, .jsx, etc.

lishu commented 4 years ago

Good idea, I did think about it very early, but because embedding in other languages takes a lot of time to implement, my personal time is limited (mainly poor), and there will be no plans to support embedding in other languages in the short term.

braebo commented 2 years ago

Is there support for HTML files yet? If so, that should work out of the box for .svelte files :)