Fully featured SVGO plugin for Visual Studio Code.
Execute Extensions: Install Extensions
command from Command Palette (Cmd Shift P) and search by svgo.
Also you can install this extension locally by putting symbolic link from ~/.vscode/extensions
to ~/path/to/this/repo
like below.
$ ln -s ~/workspace/github.com/1000ch/vscode-svgo ~/.vscode/extensions/1000ch.svgo-local
Open the Command Palette (Cmd Shift P) and search following commands.
- svgo: Minify current SVG file: to minify current SVG file
- svgo: Format current SVG file: to format current SVG file
You can also execute these commands from context menu of Explorer or Editor.
You can enable/disable plugins via Configure Extension Settings.
To configure with svgo.config.js
, just put the config file in project root.