Software 43071 Published by

Zed 0.175.5 represents an updated version of the advanced code editor, featuring a range of enhancements. The updates include the removal of specific themes, including Andromeda, Atelier, Rosé Pine, Sandcastle, Solarized, and Summercamp, as well as the enhancement of selection capabilities through shift-click in the terminal. Furthermore, the editor has been enhanced to support Gemini 2.0 Flash through Copilot Chat in Zed Assistant, Mistral integration with the Assistant, and the functionality to switch to columnar selection by holding down alt-shift while the mouse is pressed.

Icon themes now possess the capability to offer their own file associations, allowing for the modification of file icons for different project files. The editor enhances LSP documentation file links, ensures consistent rendering of completion documentation markdown, displays lengthy paths in the file finder modal, and refines workspace serialization.





Recent updates address several issues, including resolving panics on completion with multi-byte character input, eliminating memory leaks and crashes associated with the Ansible extension, correcting an error where the editor's split selection into lines feature added an extra line at the end of the selection, fixing incorrect auto-indent behavior when writing TypeScript in Allman style, addressing a crash that occurred when attempting to save the terminal buffer, and rectifying an indentation issue in the outline view while working with Go code.

Zed 0.175.5

Breaking Changes and Notices
  • A number of themes are no longer installed in Zed by default: AndromedaAtelierRosé PineSandcastleSolarized & Summercamp. If you would like to continue using one of these extensions ( #24589):
    1. Open zed: extensions
    2. Install the zed-legacy-themes extension
    3. Re-select your desired theme
  • No longer open the split menu in the file finder when command is pressed. ( #25097)

Enhancements

  • Added support for Gemini 2.0 Flash via Copilot Chat in Zed Assistant. ( #24952; thanks  0xRichardH)
  • Added support for Mistral to the Assistant. ( #24879; thanks  Shidfar)
  • Added ability to extend selection with shift-click in the terminal. ( #25143)
  • Added support for switching to columnar selection by pressing alt-shift while mouse is down. ( #25096)
  • Added support to highlight all matching occurrences of text within the selection in editor. ( #24835)
  • Added regex highlights in the query input. ( #25005)
  • Added recognition for .bats files as Shell Script. ( #24877; thanks  bersace)
  • Added ability to specify port forwarding settings for remote connections. ( #24474; thanks  Tebro)
  • Added a way to configure user key bindings to toggle font size without adjusting user settings ( #24857). By default, toggling font size will not result in the user settings being updated. You can opt into persistence by adding some of the following keybindings to your keybindings.json file:
    • "cmd-=": ["zed::IncreaseBufferFontSize", { "persist": true }]
    • "cmd-+": ["zed::IncreaseBufferFontSize", { "persist": true }]
    • "cmd--": ["zed::DecreaseBufferFontSize", { "persist": true }]
    • "cmd-0": ["zed::ResetBufferFontSize", { "persist": true }]
  • Icon Themes: Added the ability for icon themes to provide their own file associations. ( #24926)
  • Icon Themes: Added file icon associations for .rdata and .RData files. ( #24925; thanks  aymennasri)
  • Icon Themes: Added the ability to change file icons for Visual Studio project files ( #24851; thanks  RandaZraik):
    • Solution files (.sln)
    • Solution User Options files (.suo)
    • C# Project files (.csproj)
    • F# Project files (.fsproj)
    • Visual Basic Project files (.vbproj)
  • Icon Themes: Added the ability to change the file icon for Crystal (.cr.ecr) files. ( #24903; thanks  nobodywasishere)
  • Improved LSP documentation file links by opening in Zed, not the system opener. ( #25117)
  • Improved rendering of completion documentation markdown consistently with documentation markdown. ( #25117)
  • Improved display of long paths in the file finder modal. ( #25049)
  • Improved workspace serialization by persisting latest selections for editors. ( #25083)
  • Improved redaction of Google Gemini keys from API errors in logs. ( #24884)
  • Improved gutter color highlights by having separate highlights for removed and deleted portions of git modification hunks. ( #24834)
  • Reduced the number of "theme not found" and "icon theme not found" errors in the logs for themes provided by extensions. ( #25098)

Vim

  • Improved logic of aqiqab, and ib motions to work more like mini.ai plugin. ( #24167; thanks  oca159)
  • Use visual mode for select all matches in search (to be consistent with ga). ( #24897; thanks  dinocosta)

AI

  • Handle edit_prediction_conflict context without modified keybinds for AcceptEditPrediction. ( #25015)
  • Excluded Cloudflare Workers .dev.vars files from edit prediction. ( #24838)

Bug Fixes

  • Fixed panics on completion with multi-byte characters input. ( #25150)
  • Fixed an issue where configured languages models were not showing up in the language model selector until the configuration view was opened for the first time. ( #25123)
  • Fixed a bug that made it possible to undo changes in dirty deserialized buffer (with restore_unsaved_buffers: true). ( #25106)
  • Fixed diff hunks appearing in unchanged symlinked files. ( #25058)
  • Fixed a parsing bug that caused memory leaks and crashes when using the Ansible extension. ( #25054)
  • Fixed a bug where editor: split selection into lines was adding an extra line at the end of the selection. ( #25053)
  • Fixed an issue where writing TypeScript using Allman style would result in incorrect auto-indent behavior. ( #25051)
  • Fixed crash when trying to save terminal buffer. ( #25028; thanks  dylwil3)
  • Fixed a bug that sometimes caused incorrect syntax highlighting when deploying the inline assistant. ( #25031)
  • Fixed issue where reload hangs for several minutes on Linux. ( #24882)
  • Fixed an indentation bug in the outline view when working with Go code. ( #24861; thanks  ashishbhate)
  • Fixed edge-cases when closing multiple items, including multibuffers. Previously no prompt was generated when closing an item that was open in a multibuffer, now you will be prompted. ( #24603)
  • Fixed a panic in the file finder. ( #25166)
  • Fixed some language servers (elixir-lstailwindcssphpactor) failing to start up due to an unfilled root_uri property in the InitializeParams. ( #25290)
  • Fixed Zed sending out didOpen notification to a language server when opening documents. ( #25411)
  • Changed how workspace folders are shared with language servers, fixing a startup issue with next-ls in the process. ( #25344)
  • Terminal: Fixed cmd-click on links/files when terminal is not focused. ( #25104)
  • Terminal: Fixed a bug where links remained highlighted/clickable, even after releasing cmd, when switching to another application and back. ( #25104)
  • Vim: Fixed crash in ci{. ( #25138)
  • Vim: Fixed rendering of vim commands to preserve case sensitivity. ( #24322; thanks  dinocosta)
  • Vim: Fixed ReplaceWithRegister gr with dot repeat. ( #24932; thanks  xzbdmw)
  • Vim: Fix :wq in a multibuffer. ( #24603)
  • Windows: Fixed handling of F10 and Alt+Fn. ( #24745; thanks  gim913)

Screenshot_from_2024_07_12_09_18_19

Download Zed