D
D
Dpy3b2021-10-14 10:15:22
Emmet
Dpy3b, 2021-10-14 10:15:22

Why doesn't autocomplete svg, g, path, symbol and other tags work in VS Code?

Why doesn't autocomplete svg, g, path, symbol and other tags work in VS Code? Is that how it should be or not? I thought it was built into Emmet. Plugin Auto Complete Tag ( Auto Rename Tag and Auto Close Tag ) I have installed if that.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
D
Dpy3b, 2021-10-14
@Dpy3b

In short, I found out that all tags and attributes associated with SVG are not supported at all in Emmet .
The ONLY solution to this problem is this extension https://marketplace.visualstudio.com/items?itemNam... .
After installing it in .svg files, autocomplete of tags and properties with the widest possible range of hints will work for you.
The only condition is that autocomplete starts working after " < ".
Also , immediately after installation, I recommend that you go to the plugin settings and enable the first three checkboxes.

P
Pavel Merkushevich, 2021-10-14
@PavelMerk

Hello! Are you sure you have Auto Close Tag enabled? I have these tags with the help of Auto Close Tag quietly autocomplete

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question