Skip to content

What's new in Tachi Code v1.8.0?

This release upgrades Monaco Editor dependency to v0.54.0, which brings a variety of new features and fixes to the core editor experience.

Most importantly, this upgrade includes support for TypeScript 5.9.3, which introduces several new language features and improvements.

Some of the other highlights of this upgrade include:

The new Edit Context-based text editor replaces the original textarea-based editing model with a more advanced model that allows for better handling of complex input scenarios and is enabled by default. This capability was first introduced to VS Code in version 1.94 and is enabled by default in Tachi Code with this upgrade.

You can disable this feature by setting the editor.editContext setting to false in the settings editor if you encounter any issues.

You can now use the middle mouse button to scroll the editor content by clicking and dragging the mouse around.

You can enable this feature by setting the editor.middleMouseScroll setting to true in the settings editor. This feature is disabled by default due to potential conflicts with other settings. For instance, if column selection is (editor.columnSelection ) enabled, holding down the middle mouse button selects text.

To avoid conflicts, please enable only one of these settings at a time.

Read more about this feature in VS Code’s release notes for version 1.102.

You can customize the behavior of the middle mouse button in the editor by configuring the editor.middleMouseActions setting.

You can choose from the following options:

  • default: The middle mouse button will perform its default action when clicked.
  • ctrlLeftClick: The middle mouse button will behave like a Command Command + left click.
  • openLink: The middle mouse button will open links in a new browser tab when clicked.

The release introduces syntax highlighting support for the following new languages as part of an upgrade to Shiki 3.15.0:

A new “Go to File…” action has been added to the command palette to allow quick navigation to open files by name.

You can access this action by opening the command palette and removing the default > prefix or by using the keyboard shortcut Option + P Alt + P .

Browser Extension support for Microsoft Edge

Section titled “Browser Extension support for Microsoft Edge”

The Tachi Code Browser Extension is coming to the Microsoft Edge Add-ons store.

For edge users, you can install the extension from the Microsoft Edge Add-ons Store once the plugin has been approved for distribution.

If you’ve ever wondered why it’s sometimes necessary to type !> before a command in the command palette, wonder no more!

This release makes handles transition between editor-specific and global commands transparently, removing the need for the !> prefix entirely. Typing > will now always show available commands for the current context, whether that be the editor or the global application context.

“Global” commands are a workaround to support using the Monaco Editor command palette when an editor is either not focused or not present (e.g., the welcome page) using a hidden editor instance that is always mounted in the background.

Updated Keyboard Shortcut for “Open in Tachi Code” Action

Section titled “Updated Keyboard Shortcut for “Open in Tachi Code” Action”

The keyboard shortcut for the “Open in Tachi Code” action has been updated from Comma Comma to Backtick Backtick to deconflict with GitHub’s convention for creating a new codespace.

  • Replaced references to “collapse unchanged regions” with “hide unchanged regions” in the diff editor context to align with terminology used in Monaco Editor.
  • Added workbench.hover.delay setting to configure the delay before hover tooltips are shown on Monaco Editor UI element tooltips. This setting doesn’t currently affect other hover tooltips added by Tachi Code, such as those on action bar or status bar buttons.
  • Patched monaco-editor dependency to fix an issue where its JSON tokenization was sometimes overriding Tachi Code’s Shiki-based tokenization, resulting in no syntax highlighting for JSON files in some instances.
  • Fixed issues with how user settings are applied to the diff editor
  • Fixed unused Monaco Editor models not being disposed of properly, leading to increased memory usage over time
  • Fixed status bar problem count showing the current file’s problems instead of the total problems across all files