ver 2.9: Correct only the changed portions without auto formatting
Now your VSCode can mutate to an interactive visual & literal SVG editor π
You can create shapes using the SVG's coder or directly creating shapes with the shaping tool.
| command | title |
|---|---|
| svgeditor.openSvgEditor | Open SVG Editor |
| svgeditor.newSvgEditor | New File with SVG Editor |
| svgeditor.reopenRelatedTextEditor | Reopen Text Editor Related to Current SVG Editor |
| name | description | default |
|---|---|---|
| svgeditor.filenameExtension | Initial filename extension of new untitled file. | svg |
| svgeditor.width | Initial width of new untitled file. | 400px |
| svgeditor.height | Initial height of new untitled file. | 400px |
| svgeditor.defaultUnit | Specifies the unit when creating some shapes. | null |
| svgeditor.decimalPlaces | The number of decimal places. | 1 |
| svgeditor.collectTransformMatrix | Collect two or more transform functions into a matrix. | true |
| svgeditor.additionalResourcePaths | Additional resource directory paths SVG Editor can access. | |
| svgeditor.useStyleAttribute | Use style attribute instead of presentation attriubte when there are no previous specifications. | false |
| svgeditor.indentStyle | Indent style for auto-formatting. | space |
| svgeditor.indentSize | Indent size of spaces for auto-formatting. | 4 |
| operation | key |
|---|---|
| delete | backspace / delete |
| duplicate | ctrl+d |
| zoom in | oem_plus |
| zoom out | oem_minus |
| group | ctrl+g |
| ungroup | ctrl+u |
| font | f8 |
| bring forward | pageup |
| send backward | pagedown |
| align left | ctrl+alt+numpad4 |
| align right | ctrl+alt+numpad6 |
| align bottom | ctrl+alt+numpad2 |
| align top | ctrl+alt+numpad8 |
| object to path | shift+ctrl+c |
| rotate clockwise | ctrl+] |
| rotate counterclockwise | ctrl+[ |
| rotate clockwise by the angle step | ] |
| rotate counterclockwise by the angle step | [ |
| center vertical | ctrl+alt+h |
| center horizontal | ctrl+alt+t |
- *: id, class, style
- svg: xmlns, xmlns:xlink, version, viewBox, x, y, width, height
- circle: cx, cy, r, π¨
- rect: x, y, width, height, rx, ry, π¨
- ellipse: cx, cy, rx, ry, π¨
- polyline/polygon: points, π¨
- path: d, π¨
- text: x, y, dx, dy, textLength, lengthAdjust, π¨
- g: π¨
- defs: π¨
- linearGradient: π¨
- radialGradient: π¨
- stop: offset, stop-color, π¨
- image: x, y, width, height, xlink:href, href, π¨
- use: x, y, width, height, xlink:href, href, π¨
- style
- script
π¨(presentation attributes): fill, fill-rule, stroke, stroke-width, stroke-linecap, stroke-linejoin, stroke-dasharray, stroke-dashoffset, transform, font-family, font-size, font-style, font-weight
Localtion (xlink:)href refers to is restricted with your workspace, extension and svgeditor.additionalResourcePaths directories due to vscode-resource scheme settings.
- Embedded CSS
- Gradient colors
- Images
- Correct only the changed portions without auto formatting
- Filters
- Animations
MIT