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.
This release reworks the draw.directory
setting to behave like a more standard filepath. Specifically, it's now relative to the current file (unless the path is absolute).
To use the previous default behavior of inlining the svg content, set it to null
.
To make the path relative to workspace root, use the workspaceFolder
variable (e.g., ${workspaceFolder}/assets
).
- allow using the
${workspaceFolder}
variable in thedraw.directory
setting
- BREAKING:
draw.directory
is now relative to the current file if an absolute path is not given - BREAKING: to save files inline,
draw.directory
now must benull
instead of an empty string - rename main command title from
Edit Current Line
toEdit Drawing
for clarity
- update dependencies
- fix artifact publication in pipeline
- set cursor over drawing area to a small dot
- create relative paths on Windows
- retain drawing on canvas after save
- support multiple workspace roots
- default canvas colors
- use VSCode's chart color variables
- map eraser to middle click (which is a button on, at least, some styluses)
- persist canvas settings and selections
- don't cut off buttons when the page wraps
- re-init canvas on restore (this preserves, e.g., the undo/redo list)
- reuse filename when editing an existing file
- pull updated settings without a reload
- mathpix image upload
- drag-n-drop hover effect
- fix HTR and custom buttons click events
- run in the browser context
- bundle with webpack (vsix >3MB --> ~500KB)!
- disable save button when there is no active editor
- update font awesome to version 6
- remove uuid dependency, use node's crypto library
- removed some extraneous toolbar buttons
- fixed bug that prevents writing to the beginning of a file
- fixed spacing of custom buttons
- fixed bug with path building and directory creation on windows
- remove hardcoded unix-style paths
- settings pickers and custom inputs change together
- mask htr token input
- convert extension to typescript
- use vscode-webview-ui-toolkit library
- unit test framework and ci job
- preserve drawing when app is restarted or panel is moved to the background
- integrate mathpix HTR support
- convert settings into a small overlay
- integrate myscript HTR support
- simplify custom buttons interface
- update UI to closer match vscode's theme
- support for asciidoc and restructuredtext
- set webview color based on vscode light/dark theme
- save svg to external file
- toggle svg text preview element