Extensions: Install Extensions command from Command Palette (Cmd Shift P) and search by svgo.
Open the Command Palette (Cmd Shift P) and search following commands.
- Minify current SVG file: to minify current SVG file
- Minify SVG files in workspace: to minify all SVG files in workspace
- Prettify current SVG file: to prettify current SVG file
- Prettify SVG files in workspace: to prettify all SVG files in workspace
You can also execute these commands from context menu of Explorer or Editor.
To configure with
.svgo.yml, just put the config file in project root.