lishu / vscode-svg2

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

How to open PNG export preview #136

Closed janstieler closed 1 year ago

janstieler commented 1 year ago

HI, how can I open the png export window? I see no Icon in the right upper corner like in your readme.

Cheers

lishu commented 1 year ago

image

At last item in preview view.

janstieler commented 1 year ago

Thanks, but in first I need to open this previewwindow. Eventual it is overwritten by svgpreview. I will take a look.

lishu commented 1 year ago

Because export is base html canvas, so need a webview do that.

lishu commented 1 year ago

There are three ways to open the preview window:

  1. Select 'Preview SVG' in the context menu of the svg file in Explorer. image
  2. Click the preview icon in the upper-right corner of the editor. image
  3. Select 'Preview SVG' ('svg.showSvg') in the command panel. image