github zed-industries/zed v1.18.0-pre

pre-release4 hours ago

This week's release includes refreshed Markdown preview styling, inline debugger values for C and C++, and File Finder history that persists across workspace sessions.

Shipped by the Zed Guild 🛡️

  • Fixed the inline assistant doing nothing when the model emitted reasoning before its tool call. (#61220; thanks aviatesk)
  • Fixed some Pyright and BasedPyright settings not being applied properly. (#62673; thanks lingyaochu)
  • Fixed bookmarks not disappearing from the gutter immediately after clearing all bookmarks. (#62847; thanks austincummings)
  • Fixed the LSP status tooltip to display the target script path for runtime-managed language servers. (#62919; thanks lingyaochu)

Learn about the Zed Guild.

Features

AI

  • Added support for GPT-5.6's 1M-token context window on Amazon Bedrock. (#63069; thanks 5herlocked)
  • Added Gemini 3.5 Flash-Lite to the Google AI models. (#63129; thanks ArneshBanerjee)
  • Added Grok 4.5 and Grok 4.6 to the xAI models. (#63234)
  • Added the ability to reload a broken external agent connection from the Agent Panel without restarting Zed. (#62669; thanks gaojunran)
  • Added the configurable edit_predictions.<provider>.prediction_debounce setting for inline completions. (#61568; thanks ddeityy)
  • Added settings autocomplete for the OpenAI subscription language model provider. (#62989)
  • Improved language model connection errors by identifying the unreachable host. (#62990)

Git

  • Added permalink support for Tangled repositories. (#63051)
  • Added the git: toggle diff base action to toggle the diff base between HEAD and the default branch. (#62966)
  • Improved the Git Graph and Git history views to initially focus the search editor. (#63002)
  • Improved the Git Panel's “Discard Tracked Changes” option to affect only files within the directory where its context menu was opened. (#62872)

Debugger

  • Added inline values for C and C++ when debugging with CodeLLDB or GDB. (#46705; thanks xcb3d)
  • Added separate Continue Program and Continue Thread controls for debug adapters that support single-thread execution. (#63135)

Languages

  • Improved Markdown preview styling with better typography, spacing, and rounded inline code backgrounds. (#63118; thanks archcorsair)
  • Added support for configuring Bash Language Server through lsp.bash-language-server.settings. (#57487; thanks CathalMullan)
  • Improved the tabular data preview by moving its settings into a popover, freeing more vertical space for the table. (#62812; thanks HalavicH)

Terminal

  • Added terminal support for ctrl-alt-<letter> keystrokes. (#62891; thanks nbdd0121)

Linux

  • Improved rendering performance by prewarming font match caches. (#63158)
  • Improved rasterization performance by caching glyphs after measuring bounds. (#63209)

Other

  • Improved file finder history to include recently opened files from previous sessions. (#55034; thanks anilzeybek)
  • Improved text input in GPUI web applications on Android by adding support for Gboard. (#63201)
  • Added a Clear button to the Settings window's search field that clears the search and resets the navigation list. (#56033; thanks asgoode)
  • Added the in_preview keybinding context for editors in preview mode. (#61777; thanks krawitzzZ)
  • Improved responsiveness when closing projects that are loading large text files. (#62831; thanks 39ali)

Bug Fixes

  • Fixed a bug where last-session workspace state was not preserved or restored after closing the last macOS window with the red close button when on_last_window_closed was set to "quit_app" and restore_on_startup was set to "last_session". (#60477; thanks Caleul)
  • Fixed a bug where the terminal panel failed to open in some circumstances and panels switched back to the restored panel during startup. (#62712)
  • Fixed a bug where Zed windows sometimes remained blank when first opened on X11. (#62081; thanks mTvare6)
  • Fixed Continue Program resuming only the selected thread with some debug adapters instead of all threads. (#63135)
  • Fixed global gitignore entries incorrectly matching directories outside the opened project and marking the entire project as ignored. (#62130; thanks floesche)
  • Fixed language model provider rejections being retried and displayed without their actionable provider message. (#63095)
  • Fixed performance issues caused by overly large LSP hovers. (#63022)
  • Fixed the UI freezing in fullscreen on some Wayland compositors. (#60690)
  • Fixed a bug where edits in GPUI web applications could be applied to stale text. (#63201)
  • Fixed a bug where keybindings in the Git Panel context menu changed after the first frame. (#63021)
  • Fixed a bug where the Debug Panel did not immediately reflect toggled breakpoints. (#63240; thanks caseyavila)
  • Fixed a crash when an OpenAI-compatible model sent a usage-only stream chunk with null cache token fields. (#62983; thanks enoch-robinson)
  • Fixed a crash when dispatching profiled GPUI actions in web applications. (#63183; thanks labcoder)
  • Fixed a panic when closing a window under X11. (#63089)
  • Fixed a bug where file names containing control characters, such as tabs and newlines, rendered unreadably in tabs, the Project Panel, the file finder, the tab switcher, and terminal tab titles. (#62875; thanks Taqinou)
  • Fixed a bug where the Agent Panel occasionally forgot the selected agent. (#61147; thanks tnayuki)
  • Fixed a bug where the Agent Panel selected an uninstalled external agent when opening a project or restoring an unsent draft, which prevented the thread from starting. (#62497; thanks white-hat)
  • Fixed a bug where the agent edits panel and review diff showed whole-file overwrites as entirely added lines with no removals. (#62267; thanks drawing)
  • Fixed a bug where the file finder jumped to the wrong file when the mouse hovered over another entry after pressing cmd-p. (#61716; thanks HuaGu-Dragon)
  • Fixed a bug where the Python run button did not appear in the gutter for if __name__ in ("__main__", ...)-style main guards. (#58911; thanks tlium)
  • Fixed a bug where the X11 urgency hint was never cleared, which left Zed showing a permanent attention indicator in taskbars and docks after the first notification. (#61619; thanks zquestz)
  • Fixed Anthropic billing, conflict, and timeout errors being handled incorrectly. (#62984)
  • Fixed duplicate file entries in the Project Panel on macOS when language servers returned definition paths whose casing differed from the worktree root. (#61392; thanks NeverDieOne)
  • Fixed environment variables defined in tasks.json not being applied when debugging Python tasks. (#63154; thanks andreyfedoseev)
  • Fixed extension tags obscuring action buttons on extension cards. (#63153; thanks joshkent94)
  • Fixed function bodies not folding when their arguments spanned multiple lines. (#62245; thanks anxyum)
  • Fixed handling of OpenAI overload errors. (#63238)
  • Fixed idle Wayland windows waking at the display's refresh rate. (#60690)
  • Fixed labels in Mermaid diagrams not soft-wrapping correctly. (#62931)
  • Fixed localized Windows Explorer context menu titles falling back to English. (#60634; thanks justjavac)
  • Fixed new windows opening partially off-screen on secondary Windows monitors with different DPI scaling. (#62859; thanks dineshyadav03)
  • Fixed opening remote paths from SCP-style SSH URLs with IPv6 hosts. (#62157; thanks cppcoffee)
  • Fixed overlapping range-formatting results duplicating text. (#62935)
  • Fixed read-only files being formatted or saved when format_on_save was enabled. (#62921; thanks mateioprea)
  • Fixed same-line regex replacements using lookahead or lookbehind. (#61900; thanks IbrahimKhan12)
  • Fixed streaming failing for Mistral-hosted models that omitted the object field in stream chunks, such as GLM 5.2. (#62517; thanks ummon-v)
  • Fixed terminal support for the alt-f5 keystroke. (#62891; thanks nbdd0121)
  • Fixed text being duplicated after moving the caret during composition in GPUI web applications. (#63201)
  • Fixed text wrapping so closing punctuation and slashes never began a wrapped line. (#62743; thanks alii)
  • Fixed the lsp_results_location setting being ignored by the editor: go to declaration and editor: go to type definition actions. (#61060; thanks xdBronch)
  • Fixed the “Discard Tracked Changes” option being enabled for files in the Git Panel's “Unstaged” section. (#62872)
  • Fixed the terminal panel dismissing an open modal when terminals finished restoring during startup. (#63097; thanks butvinm)
  • Fixed undoing a file rename leaving behind directories created by the rename. (#60082)
  • Fixed window-manager rules and taskbar grouping failing to recognize Zed under X11 and XWayland. (#62848; thanks HundredBillion)
  • Fixed Windows artifacts around color emoji glyphs. (#63225; thanks 39ali)
  • Fixed Zed overriding window-manager focus policies when activating windows. (#62081; thanks mTvare6)
  • Fixed macOS showing one-time code AutoFill suggestions in regular Zed text inputs. (#60116)

Breaking Changes and Notices

  • Improved debugger step keybindings across platforms to match VS Code defaults: f10 now steps over and f11 steps into while execution is paused, while fullscreen remains available outside paused sessions. (#58729; thanks Andrej730)
  • Removed Gemini 2.5 Flash-Lite, Gemini 2.5 Flash, Gemini 2.5 Pro, and Gemini 3.1 Flash-Lite from Google AI, and made Gemini 3.5 Flash-Lite the default and fast model. (#63131)
  • Removed GLib libraries from Linux release archives to prevent conflicts with system plugins. (#61593)

Don't miss a new zed release

NewReleases is sending notifications on new releases.