New Version at vscode-svg2
A Powerful SVG Language Support Extension. Almost all the features you need to handle SVG.
Tip: All Completion list is context, will not show all items.
Cursor in Tag Name or Id Attribute or url(#id) Hit F2(Windows) Key, Rename it!
Hot Ctrl Key and Move mouse to a url(#id), That it!
Formatting support using SVGO, which can prettify SVGs and sort tag attributes. SVGO works as a group of plugins that can be activated or desactivated (which is default for most in this extension). Information on the plugins can be found here.
Open the Command Palette (⇧⌘P
on Mac and Ctrl+Shift+P
on Win/Linux) and run Minify SVG
. This will reduce the filesize significantly by removing all unnecessary code from the image.
- Laurent Tréguier for sharing SVG formatting features
- Björn Ganslandt for sharing Minify SVG features
- Amelia Bellamy-Royds for Add the xmlns and xmlns:xlink attributes
- Evan Demaris
- Trevor Burnham
- Philipp Kief
SVG Version 2.0 is not included.
- A small amount of BUG fixes.
- Pretty SVG now set indent use editor tabSize setting.
- Update all package for Security.
- FIX Preview Zoom Reset.
- Add Zoom to Preview.
- Add Background Switch to Preview.
- Add 'xlink:href' attribute.
- Fix The contents of the document are emptied when the format fails.
- Add
Pretty SVG
command. - Add Experimental Setting
svg.disableFormatOnSave
.
- Add
Minify SVG
command.
- Change Format SVGO Options.
- Fix some debug time warning.
- Change Preview use 'Transparent' background.
- Add Formatting support using SVGO.
- Add url(#id) Definition Provider.
- Add New Rename Provider.
- New Hover Info Support.
- Improve Completion list in paint show color keywords.
- Improve Completion list work like snipple (For base sharp). Required vscode >=1.8 .
- The
svg.completion.showDeprecated
Configuration item is actived, will not show deprecated item in completion list by default(false
).
- Improve Preview.
- Improve Id Symbol show
[tag]#[id]
and fix a bug.
- Initial release.
Enjoy!
Welcome Support this project.