vitaliymaz / vscode-svg-previewer

Vscode SVG Previewer
22 stars 5 forks source link

Button to show preview with this extensions disappears if other SVG extension is active #78

Open Mart-Bogdan opened 1 year ago

Mart-Bogdan commented 1 year ago

If this extension https://marketplace.visualstudio.com/items?itemName=jock.svg is active -- preview opens with that extension and this ext is ignored.

I know that this is possible, because this one https://gitlab.com/SNDST00M/vscode-native-svg-preview doesn't conflict with jock.svg

And I'd prefer to use THIS ext for preview, thanks to fact that it supports both CSS styled SVGs and live reload of preview on code change.

reslear commented 6 months ago

https://github.com/vsce-toolroom/vscode-svg-previewer

hi @zm-cttae thx fro fork, also can you add please "Go to source" button in "Preview only (instead of the code editor)":

Screenshot 2024-04-26 at 05 17 46

like:

    context.subscriptions.push(vscode.commands.registerCommand("svgPreview.showSource", (uri?: vscode.Uri) => {
        svgPreviewManager.activePreview?.showSource(uri);
    }));
Screenshot 2024-04-26 at 05 18 21