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.
- Two commands to allow code linking to work with hierarchical document symbols (addresses #167, 291)
linkSymbolWithSelectedNode
to link by symbol path and document URIlinkWsSymbolWithSelectedNode
to link solely by symbol path
- Add support for settings:
- Updates Draw.io to 16.0.0
- Add support for settings:
style
defaultVertexStyle
defaultEdgeStyle
colorNames
defaultColorSchemes
setting can now have a title attribute- Updates Draw.io to 14.9.9
- Migrates to memento for draw.io local-storage
- Removes redundant web extension kind definition.
- Files can be linked again.
- Updates Draw.io to 14.8.0
- Code Link Match filter includes characters
<
,>
and,
to support generic class names (fixes #240).
- When Draw.io applies an external change to the document, it no longer emits another change (fixes #215).
- Emits proper line breaks instead of (fixes #209).
- When execution of a command throws, a more detailed error message is shown (fixes #239).
- Uses full
zh-tw
language code (instead of justzh
) if VS Code reports this language. - Makes the extension ui, workspace and web ready.
- Updates Draw.io to 14.7.3.
- Add support for untrusted workspaces.
- Adds support for sketch theme.
- Removes metadata from xml. This includes an etag, last modified date and other information.
- SVG link targets are configurable now (see #204).
- Option to disable SVG 1.1 warning
- When changing properties in the properties dialog and saving the diagram after applying the change, the diagram was saved as compressed xml (if it was opened as xml). With this fix it is always saved as uncompressed xml.
- Updates drawio to 14.2.4.
- Implements Properties dialog to configure scale and border for SVG and PNG exports.
- Updates drawio to 13.10.0.
- A context menu item has been added to the explorer view to link nodes to arbitrary files (see #169).
shift+f3
(find previous) is uncovered when the find-widget is visible (see #174, by @fbehrens).- Fixes that code link changes didn't trigger a document change.
- Add "Preset Colors" and "Custom Color Schemes" settings (see #145, by @AvroraPolnareff).
- Add "New Draw.io Diagram" to the command palette (see #145).
- Fix webview error when data directory is symlink (see #152, by @jingyu9575).
- Fixes bug that leads to too many sponsorship dialogs.
- Disables Alt+Shift+S and Ctrl+Shift+S, as everything save-related is handled by VS Code (see #144).
- Enhanced Liveshare support: Cursors and selections of other participants are now shown.
- Code Links can now refer to arbitrary code spans, not only to symbols.
- Adds export/convert/save entries to the drawio menu.
- Supports custom drawio plugins.
- Other VS Code extensions can provide custom drawio plugins.
- Adds a status bar item to quickly change the current drawio theme.
- Adds drawio-language-mode (see #130).
- Users of the Insiders Build are asked for feedback after some activity time.
- Users of the Stable Build are asked for sponsorship after some activity time.
- Updates drawio to 13.6.5.
- Code Link looks for
#symbol
references in the entire label, not just in the beginning. - Hides the option to convert a drawio file format to itself.
- Changes Category to "Visualization".
- Fixes loss of data when changing theme in binary drawio editor with unsaved changes.
- Fixes export/convert output to wrong directory when filepath contains '.' (see #117, by @fatalc).
- Fixes color problem when using light drawio theme in dark vscode theme (see #129).
- Symbol Code Link Feature
- "Draw.io: Change Theme" Command
- Experimental Manual Code Link Feature (disabled by default)
- Experimental Command "Edit Diagram as Text" (disabled by default)
- Uses
https://embed.diagrams.net/
as default URL when using the online mode.
- Support for creating and editing *.drawio.png files!
- Ctrl-P is now forwarded to VS Code (see #77).
- Read-only view when diffing diagrams.
- Better xml canonicalization. If only non-significant whitespace has been changed, the diagram should never reload.
- Prevents Draw.io from marking the diagram as changed if it got reloaded from disk.
- Adds hediet.vscode-drawio.editor.customFonts to configure custom fonts.
- Adds hediet.vscode-drawio.editor.customLibraries to configure custom fonts.
- Encodes hediet.vscode-drawio.local-storage to make editing more difficult (other settings should be used for that).
- Reloads diagram editor when the config changes.
- Writes localStorage to the settings file it was read from.
- Implements a command that lets you export a diagram to svg, png or drawio.
- Implements a command that lets you convert a diagram to other editabled formats (e.g. drawio.svg).
- Fixes F1/Ctrl+Tab/Ctrl+Shift+P shortcuts.
- Reduces the size of the extension significantly.
- Does not spawn an http server anymore to host Draw.io
- Uses new Draw.io merge API for better Live-Share experience.
- Supports Draw.io features that required local storage:
- Scratchpad
- Languages
- Selected Libraries
- Layout Settings
- Uses current VS Code locale settings for Draw.io.
- Removes export options as they did not work.
- Fixes bug when using VS Code remote development.
- Fixes bug that caused empty drawio diagrams to be saved with xml compression.
- Technical code improvements.
- Supports editing
*.drawio.svg
files. - Introduces
hediet.vscode-drawio.theme
to configure the theme used in the Draw.io editor. - Logs the drawio iframe/extension communication.
- Fixes a memory leak.
- Fixes a bug that resets the view/undo stack on save.
- Implements offline mode (enabled by default).
- Implements config to disable offline mode.
- Implements config to choose a custom drawio url.
- Treats
*.dio
files the same as*.drawio
files. - Makes extension compatible with VS Code 1.44.
- Initial release