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.
- NPE: null cannot be cast to non-null type com.intellij.openapi.fileEditor.TextEditorWithPreview (GH-39)
- Support
sketch
(#45) - Support block comment (#22)
- Support block strings as shape ids (#23)
- Support line continuations in shape ids, arrows, and values (#24)
- Support line continuations in declarations and fix shape declarations (#30)
- Resolving of ambiguous shape references (shapes with the same names but declared in different containers).
- Support parent reference.
- Completion for
shape
keyword.
- Proper highlighting for
vars
,classes
,style
object syntax. - Parse property
style.*
in a non-shape map.
- Support
style
,classes
andvars
object syntax.
D2Viewer
must implementDumbAware
(GH-2).
- Spellchecker for unquoted string, simplify parser.
- If Dark IntelliJ theme is used, use dark D2 theme for preview by default.
- Viewer toolbar to change layout, export.
- Support direction keyword on top-level.
- A lot of space around the D2 file icon.
- IJ Platform 2024.1 compatibility.
- Highlighting works for most D2 syntax.
- Reference&Resolve is implemented for shapes.
- Basic completion (keywords).
- Fix element color provider (
logs.style.stroke: "#f4a261"
).