cssho / vscode-svgviewer

SVG Viewer for Visual Studio Code
https://marketplace.visualstudio.com/items?itemName=cssho.vscode-svgviewer
MIT License
67 stars 20 forks source link

XML Preview should not be shown #37

Open ankitjainOfficial opened 7 years ago

ankitjainOfficial commented 7 years ago

I've enabled auto preview for Svg files. But, it also tries to show preview for xml files. The pain point being, if auto preview is open, it will not let me switch to tab with code.

So, given this setting,

"svgviewer.previewcolumn": "One"

I am never able to see xml code.

Steps to reproduce:

  1. Override SVGViewer settings to this:

    "svgviewer.enableautopreview": true,
    "svgviewer.previewcolumn": "One"
  2. Try opening a XML file.

Please let me know, if you need any further details from my end.

cssho commented 6 years ago

@ankitjainOfficial Sorry for replying so late. It was caused by https://github.com/Microsoft/vscode/issues/20075 . I can't do anything about it now.

brandonkal commented 5 years ago

And that issue is now: https://github.com/Microsoft/vscode/issues/15178

Hopefully this can be fixed.