Git Product home page Git Product logo

vscode-svg's Introduction

svg

New Version at vscode-svg2

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

Features

SVG Elements Auto Completion.

feature 1

SVG Attributes Auto Completion.

feature 2

Document Symbol with SVG Element [id].

feature 3

SVG Preview

feature 4

Tip: All Completion list is context, will not show all items.

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.

Update History

0.1.6

  • A small amount of BUG fixes.

0.1.5

  • Pretty SVG now set indent use editor tabSize setting.
  • Update all package for Security.

0.1.4

  • FIX Preview Zoom Reset.

0.1.3

  • Add Zoom to Preview.
  • Add Background Switch to Preview.

0.1.2

  • Add 'xlink:href' attribute.

0.1.1

  • Fix The contents of the document are emptied when the format fails.

0.1.0

  • Add Pretty SVG command.
  • Add Experimental Setting svg.disableFormatOnSave.

0.0.9

  • Add Minify SVG command.

0.0.8

  • Change Format SVGO Options.

0.0.7

  • Fix some debug time warning.
  • Change Preview use 'Transparent' background.

0.0.6

  • Add Formatting support using SVGO.

0.0.5

  • Add url(#id) Definition Provider.

0.0.4

  • Add New Rename Provider.

0.0.3

  • 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).

0.0.2

  • Improve Preview.
  • Improve Id Symbol show [tag]#[id] and fix a bug.

0.0.1

  • Initial release.

For more information

Enjoy!

Donations

Welcome Support this project.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.