lishu / vscode-svg2

A vscode svg langauge support extension
MIT License
200 stars 10 forks source link

Request: highlight an image element when caret is placed on the tag #156

Open mihaon opened 1 year ago

mihaon commented 1 year ago

Now you can find an SVG tag in the code editor by clicking on a part of the image in the preview panel when the "Code interactive" feature is enabled. But the reverse is not possible.

It would be great if the corresponding SVG element is highlighted in the preview panel when the caret is placed on the SVG tag in the code editor and the "Code interactive" feature is enabled.