Score
0
Watch 1 Star 4 Fork 0

夜狼 / vscode-svg2TypeScriptMIT

Create your Gitee Account
Explore and code with more than 5 million developers,Free private repositories !:)
Sign up
A vscode svg langauge support extension spread retract

Clone or download
Loading...
README.md

Version

svg

A Powerful SVG Language Support Extension. Almost all the features you need to handle SVG.

Features

SVG Full Auto Completion.

feature 1

Tip: All Completion list is context, will only show enable items.

Document Symbol tree.

feature 2

SVG Live Preview and Export PNG

feature 3

MDN Reference for fast learn

feature 4

Tip: Configure Trusted Domains add MDN to it get more fast action.

Fast Color Picker

feature 4

Rename Tag Name or Id Reference.

Cursor in Tag Name or Id Attribute or url(#id) Hit F2(Windows) Key, Rename it!

In Id Reference Click Goto id="" element.

Hot Ctrl Key and Move mouse to a url(#id), That it!

SVG Format Support

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.

Minify SVG with SVGO

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.

Contributors

Known Issues

SVG Version 2.0 is not included.

Changelog

1.2.0 - 2020-05-25

  • Add style css base supported

1.1.9 - 2020-05-17

  • Fixed some thin bug and Outdated API Replace.

1.1.8 - 2020-04-24

  • Add Preview svg/img mode switch can show how a svg use in html or img. Show svg document can only view in img mode.

1.1.7 - 2020-03-28

  • Add svg.preview.backgroundSaveTo option so prevent preview create .vscode\settings.json in workspace

Full Changelog

Donations

Welcome Support this project.


For more information

Enjoy!

Comments ( 0 )

Sign in for post a comment

TypeScript
1
https://gitee.com/timedge/vscode-svg2.git
git@gitee.com:timedge/vscode-svg2.git
timedge
vscode-svg2
vscode-svg2
master

Search

231008 48f1a665 1899542 231017 9a6720c6 1899542