sublimehq / sublime_text

Issue tracker for Sublime Text
https://www.sublimetext.com
807 stars 39 forks source link

No preview for svg #556

Open airtonix opened 9 years ago

airtonix commented 9 years ago

Since sublime text provides previews for bitmap images, what are the difficulties involved with providing previews for SVGs?

FichteFoll commented 9 years ago

I suppose writing and/or bundling a compressed image format renderer is much easier than something scalable and XML-like, which svg is.

Besides, you can edit svg by hand (since it's xml), so there's that.

QuentinFchx commented 9 years ago

:+1: This would definitely be useful !

vstoykov commented 9 years ago

Yes SVGs are XML, but nobody edit them by hand. If you want to edit SVG you will use software for image manipulation.

If there is a preview in Sublime (like other images) this would be great especially for WEB developers.

atomless commented 9 years ago

+1

andymantell commented 9 years ago

"Nobody edits them by hand" is simply not true so making them preview in the same way as other images would get in the way of that. Sounds like a job for a plugin really, rather than core. Something like this: https://github.com/peterflynn/svg-preview

OtaK commented 9 years ago

:+1: That would be great to implement, whether as a core functionality or as a plugin.

IamSwap commented 8 years ago

+1

FichteFoll commented 8 years ago

Please use Github's reactions instead of "+1"ing posts. Thank you.

I've updated the readme of this repo to include a reference to reactions. Any further "+1" comment will be deleted without notice.

iManu commented 7 years ago

In my case it would be usefull to have a preview in popin (on cursor ?) while selecting/hovering svg element, in any file type like .twig, .js, .css… I don't need editing mode in first time.

AmjadHD commented 5 years ago

In my case it would be usefull to have a preview in popin (on cursor ?) while selecting/hovering svg element, in any file type like .twig, .js, .css…

@iManu, you should check Hover Image Preview