All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
- No Ascii text context in
<img>
mode show error.
- Preview external file reference support
- Add
tspan
,mask
lost attributes defineds.
- Preview now can show
<image href
local image.
- Format not handle
<?xml ... ?>
newline.
-
Dependent package security updates
-
Public
svg.showSvg
command so user can add hotkey.
- fix publish dev source branch.
<style>
CSS color picker support.
Preview: Scale Zoom
Configure custom zoom scale of change of the zoom operation.Preview: Zoom Options
Configure custom preview zoom dropdown options.
- Partial support for CDATA in script/style element.
- Add
Preview All: Exclude
Config forPreview All Svg
command filter files.
- Zoom level will not reset when document changes.
- Preview min Zoom will auto-change for big size SVGs.
- New
Translate External Address
Setting for Previewer Show<img>
mode external URL content
- Previewer Focus on Exception.
- Warning for
Minify
. Code Interactive
Button in Preview toolbar.
- Language grammars scopes to
text.xml.svg
- Enter rules for auto indent
- Preview pixel grid broken.
- Preview has new default
FIT
mode.
- More Preview bug fixes
- Preview
Disable Preview
configuration. Just for who don't like this extension's preview.
- Preview
<svg>
mode will show active graphic's shape and click to source code position.
Simple Elements
completion configuration. This will change completion action result to<simple />
.
- Clean release package.
- Activation event for speed up startup of VSCode.
Preview All SVG
UI not showing the scrollbar.
- Preview add
Toolbar Size
option.
- Preview add
Dark Transparent Background
option.
- Preview now support CSS file change auto update (after CSS file saved).
HTML Custom Data
for adding HTML document additional data
- IntelliSense enum options not correct after last complete rewrite.
vector-effect
attribute toPresentation
category.
- Editor add
Copy as Image Data Uri
command in Context Menu, now you can copy SVG add parse it to<img src="|" />
directly. - Preview now shows
Crossline
. - Preview now shows
Ruler
.
- Emmet-Style auto complete, support full 2.0 definitions.
- Add SVG elements & attributes to HTML Language Service Custom Data.
- Experimental add emmet-style auto complete, If you want to try this feature, configure 'svg.completion.emmet' to 'true'.
- Fixed write top level comment has error message in output.
- The previewer now supports up to 64x scaling.
- After 16x zoom, the pixel grid is automatically displayed.
- Fixed top bar on SVG preview covers top of preview
- Change default format to HTML base
- Change format SVGO configration
- Preview now can select CSS files.
- Support paint (
fill
,stroke
) URL picker forlinearGradient
/radialGradient
/pattern
- Fixed 'auto show' always on (off no effect)
- Fixed thin preview command action
- Fixed
Preview All SVG
command only work first open
- Add
Preview All SVG
command - Add
svg.preview.viewMode
configuration option, so preview can show one by one - Add a Lock button in Previewer (show only
svg.preview.viewMode
isonlyOne
) can lock current previewer to displayed SVG document.
- Add
style
CSS base supported
- Permit newlines in the comment body Regex.
- VS Code Webview Outdated API Replace.
- Preview add
svg
/img
mode switch can show how an SVG can be used in an HTML or an IMG. Show when SVG document can only view in IMG mode.
- Add
svg.preview.backgroundSaveTo
option to prevent preview create.vscode\settings.json
in workspace
- The
Minify SVG
option from the context menu does not work
- Add
id
,xlink:href="#"
goto definition / reference support
- configuration
svg.minify.removeXMLNS
default value set tofalse
- #11 Add
in
,in2
,result
goto definition / reference
- Fix
id
,url(#)
goto definition / reference
- Format bug from
SVGO
- Previewer will not auto take focus.
Minify Svg
menu show in all editor
- Path data auto tip feature
- Fix
pathDataHighlight
does not work after VS Code restarting
- Fix in
Untitled
file, some commands not working.
- Add
svg.pathDataHighlight
configuration you can disable path data highlight feature - Fix release webpack bug
minifySvg
command not working
- Fix Preview toolbar styles bug
- Add
svg.preview.autoShow
configuration to allow a preview to auto show when an SVG document is opened
- Rewrite all base langauge service protocol
- Add MDN doc link to hover tip and completion documentation
- Add Export PNG in perview view
- Remove Unnecessary configuration
- A small amount of BUG fixes.
- Pretty SVG now set to use editor tabSize setting.
- Update all package for Security.
- Fix Preview Zoom Reset.
- Add Zoom to Preview.
- Add Background Switch to Preview.
- Add 'xlink:href' attribute.
- Fix The contents of the document are emptied when the format fails.
- Add
Pretty SVG
command. - Add Experimental Setting
svg.disableFormatOnSave
.
- Add
Minify SVG
command.
- Change Format SVGO Options.
- Fix some debug time warning.
- Change Preview use 'Transparent' background.
- Add Formatting support using SVGO.
- Add url(#id) Definition Provider.
- Add New Rename Provider.
- New Hover Info Support.
- Improve Completion list in picker show color keywords.
- Improve Completion list work like snippet (For base sharp). Required vscode >=1.8 .
- The
svg.completion.showDeprecated
Configuration item is activated, will not show deprecated item in completion list by default(false
).
- Improve Preview.
- Improve Id Symbol show
[tag]#[id]
and fix a bug.
- Initial release.