What's new in Tachi Code v1.2.0?
This release significantly enhances Tachi Code’s diagram and visualization capabilities with expanded Mermaid diagram support, introduces export features for SVG and Mermaid diagram preview images, and adds help actions to the command palette to simplify accessing documentation. Additionally, this update includes significant improvements to syntax highlighting, performance optimizations, and resolves several critical issues.
Highlights:
- Full Mermaid diagram support with syntax highlighting for all diagram types
- Export functionality for SVG files and Mermaid diagrams as PNG/SVG
- New help commands for quick access to documentation and version information
- Enhanced language highlighting with updated token colors and improved performance
- UI improvements including better command palette layout and problem pane navigation
New features
Section titled “ New features”Syntax highlighting for more mermaid diagram types
Section titled “Syntax highlighting for more mermaid diagram types”This release adds syntax highlighting for the full range of Mermaid diagrams based on the TextMate grammars included in the Mermaid.js VS Code extension.
Mermaid syntax highlighting is now also available inside Markdown code blocks, both in the editor and in the live-preview.
Download SVGs and Mermaid diagrams
Section titled “Download SVGs and Mermaid diagrams”A new context menu has been added to rendered SVG files and Mermaid diagrams, enabling you to quickly save them as either SVG
or PNG
image files.
New help commands
Section titled “New help commands”A batch of new help-related commands has been added to the command palette, including:
- Help: Documentation to open the documentation site in a new browser tab.
- Help: What's New? to open the latest release notes in a new browser tab.
- Help: About to open the about dialog, which displays important information about the current version of Tachi Code.
Improvements
Section titled “ Improvements”- Updated Armada token colors for the following languages:
- JavaScript
- TypeScript
- JSX/TSX
- HTML
- SVG/XML
- Less
- Added double-click navigation from the problem pane to the corresponding editor line.
- Reworked command palette layout to allow it to better adapt to viewport size.
- Optimized language loading performance and eliminates unnecessary dependencies.
- Added a notification on launch of a new version of the browser extension to inform users that an update occurred.
- Updated various dependencies.
As always, dependency information is available via the about dialog,
where a link to Tachi Code’s Software Bill of Materials (SBOM) can be found.
Notable updates include:
- Mermaid.js to version 11.8.1, adding better support for tree diagrams.
- Radix UI to the latest component versions.
Bug fixes
Section titled “ Bug fixes”- Fixed problems pane showing no problems after closing a tab.
- Fixed custom general (non-language-specific) token customizations not being applied to the editor.
- Fixed token customizations not being applied to markdown preview codeblocks.
- Fixed an issue where Monaco’s built-in Monarch tokenizer sometimes overrode our Shiki tokenizer, resulting in sporadic incorrect syntax highlighting.
- Fixed an issue where the bracket highlighting settings were not being applied.