What's new in Tachi Code v1.1.0?
New features
Section titled “ New features”Language auto-detection
Section titled “Language auto-detection”Tachi code now automatically detects the programming language of files without an extension or manually specified language. This feature’s implementation uses an adaptation of VS Code’s language detection service based on the guesslang model by @yoeo.
Now, when opening arbitrary text snippets in Tachi Code, the application will intelligently determine the language based on the content without any additional effort on your part.
This feature is also the first in Tachi Code using Web Workers that are not supplied by monaco-editor to offload compute intensive tasks from the main thread, establishing a pattern for future performance improvements.
You can disable this feature in the Settings Editor if you prefer to specify the language manually. You can also configure this behavior on a per-language basis using language configuration overrides.
Notifications Center
Section titled “Notifications Center”This release introduces a new notification system that allows Tachi Code to display important messages and errors to users. When a notification is triggered by the application, it will be displayed in the bottom-right corner of the editor for 30 seconds or until it has been dismissed by the user.
Notifications that have not been dismissed can be viewed in the notification center. The notification center is accessible via the bell icon in the status bar at the bottom-right corner of the editor.
Color Theme Customization
Section titled “Color Theme Customization”Tachi Code now supports customizing the editor’s color theme using the JSON-based settings editor, Preferences: Open User Settings (JSON).
The workbench.colorCustomizations and editor.tokenColorCustomizations settings allow you to customize workbench and editor colors, respectively. The implementation of these settings is the same as in VS Code with the exception of semantic token colors, which are not supported in Tachi Code.
Prettier Code Formatter Integration
Section titled “Prettier Code Formatter Integration”Format code in more languages using Tachi Code’s new Prettier code formatter integration. This integration currently supports all of Prettier’s built-in languages with additional support for XML.
You can disable this feature at the application or language level using the prettier.enabled setting.
Additionally, you can configure the Prettier code formatter using the prettier.configuration setting to specify a custom Prettier configuration.
Improvements
Section titled “ Improvements”- Added a ”– Modified” suffix to the setting title tooltip for improved accessibility.
- Added a control to toggle a checkerboard background for mermaid and SVG live previews to improve readability of images with transparent backgrounds.
- Improved status bar icon size consistency.
- Improved focus outline styling for buttons.
- Improved Mermaid and SVG live preview panning and zooming behavior.
- Updated the Armada theme’s YAML and Less (CSS) colors.
- Made minor performance improvements.
Bug fixes
Section titled “ Bug fixes”- Fixed New File and Open File hamburger menu items not working in Firefox.
- Fixed resetting a language overridden setting in the Settings Editor UI resetting the base setting instead of the override.
- Fixed auto-injecting the Tachi Code editor in non-raw source code files with stricter injection eligibility check.