Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
Mart-Bogdan opened this issue May 28, 2023 · 1 comment

Comments

@Mart-Bogdan
Copy link

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
Copy link

reslear commented Apr 26, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants