While creating a new MCP extension this weekend, I visited these pages
and it felt like they could be improved a little bit. I'm renaming the
MCP-related page under the /extension directory to use the "MCP"
acronym, instead of "context servers".
Release Notes:
- N/A
Previously, upon hitting the "Continue" button to restart an interrupted
thread due to consecutive tool calls reaching its limit, you wouldn't
see the loading dots and the UI would be a weird state. This PR improves
when these loading dots actually show up, including in their conditional
a check for `message.is_hidden`.
Also took advantage of the opportunity to quickly organize some of these
variables. The `render_message` function could potentially be chopped up
in more smaller pieces. Lots of things going on here.
Release Notes:
- N/A
Closes #ISSUE
Release Notes:
- debugger: Fix Ruby (was broken by #30833)
---------
Co-authored-by: Anthony Eid <hello@anthonyeid.me>
Co-authored-by: Piotr Osiewicz <peterosiewicz@gmail.com>
Co-authored-by: Cole Miller <m@cole-miller.net>
Conrad Irwin
,
Anthony Eid
,
Piotr Osiewicz
, and
Cole Miller
created
b103d76
Improve handling of large output in embedded terminals (#32416)
Click to expand commit body
#31922 made embedded terminals automatically grow to fit the content. We
since found some issues with large output which this PR addresses by:
- Only shaping / laying out lines that are visible in the viewport
(based on `window.content_mask`)
- Falling back to embedded scrolling after 1K lines. The perf fix above
actually makes it possible to handle a lot of lines, but:
- Alacrity uses a `u16` for rows internally, so we needed a limit to
prevent overflow.
- Scrolling through thousands of lines to get to the other side of a
terminal tool call isn't great UX, so we might as well set the limit
low.
- We can consider raising the limit when we make card headers sticky.
Release Notes:
- Agent: Improve handling of large terminal output
Agus Zubiaga
created
ab70e52
agent: Improve MCP status indicator tooltip and loading state (#32414)
Click to expand commit body
Mostly a small tweak making sure that the indicator tooltip hit area is
bigger and the loading state is clearer (not using an indicator
anymore). Way more little improvement opportunities in this component to
do, though.
Release Notes:
- N/A
Closes #5237
- Adds "trailing" option for "show_whitespaces" in settings.json
- Supports importing this setting from vscode
The option in question will render only whitespace characters that
appear after every non-whitespace character in a given line.
Release Notes:
- Added trailing whitespace rendering
JonasKaplan
created
f0345df
debugger: Undo conversion of stack frames list to uniform list (#32413)
Click to expand commit body
Partially reverts #30682
A uniform list is desirable for the scrolling behavior, but this breaks
badly when there are collapsed entries or entries without paths, both of
which seem common with the JS adapter.
It would be nice to go back to a uniform list if we can come up with a
set of design tweaks that allow all entries to be the same height.
Release Notes:
- Debugger Beta: fixed an issue that caused entries in the stack frame
list to overlap in some situations.
Cole Miller
created
bbd2262
Fix buffer rendering on every mouse move (#32408)
Click to expand commit body
Closes #32210
This notify was added in #13433. Solution is to only notify when the
breakpoint indicator state has changed.
Also improves the logic for enqueuing a task to delay showing - now only
does this if it isn't already visible, and that delay task now only
notifies if still hovering.
Release Notes:
- Fixed a bug where buffers render on every mouse move.
Michael Sloan
created
c4fd9e1
Switch to using weak transactions for queries happening on connection (#32411)
0b7583b
Refine styling of merge conflicts (#31012)
Click to expand commit body
- Improved colors
- Blank out diff hunk gutter highlights in conflict regions
- Paint conflict marker highlights all the way to the gutter
Release Notes:
- Improved the highlighting of merge conflict markers in editors.
---------
Co-authored-by: Marshall Bowers <git@maxdeviant.com>
Co-authored-by: Cole Miller <cole@zed.dev>
Nate Butler
,
Marshall Bowers
, and
Cole Miller
created
Bubbles up rate limit information so that we can retry after a certain
duration if needed higher up in the stack.
Also caps the number of concurrent evals running at once to also help.
Release Notes:
- N/A
Ben Brandt
created
fa54fa8
Store pulled diagnostics' result_ids more persistently (#32403)
Click to expand commit body
Follow-up of https://github.com/zed-industries/zed/pull/19230
`BufferId` can change between file reopens: e.g. open the buffer, close
it, go back in history to reopen it — the 2nd one will have a different
`BufferId`, but the same `result_ids` semantically.
Release Notes:
- N/A
Kirill Bulatov
created
de16f2b
Bypass account age check when feature flag is set (#32393)
Click to expand commit body
Release Notes:
- N/A
Antonio Scandurra
created
e3b13b5
title_bar: Merge Linux only code into `platform_linux` (#32401)
Click to expand commit body
Release Notes:
- N/A
Jason Lee
created
2c5d2a5
Do not skip punctuation characters with `alt-arrow` if next character is `\n` (#32368)
- Remove git/edit predictions templates
- Rename Agent to AI related (include edit predictions, copilot, etc)
- Other minor adjustments
Release Notes:
- N/A
Peter Tripp
created
6801b91
context_server: Make notifications type safe (#32396)
Click to expand commit body
Follow up to #32254
Release Notes:
- N/A
Bennet Bo Fenner
created
3853e83
git_ui: Improve error handling in commit message generation (#29005)
Click to expand commit body
After and Before video of the issue and solution.
https://github.com/user-attachments/assets/40508f20-5549-4b3d-9331-85b8192a5b5a
Closes #27319
Release Notes:
- Provide Feedback on commit message generation error
---------
Signed-off-by: Umesh Yadav <umesh4257@gmail.com>
Co-authored-by: Cole Miller <cole@zed.dev>
Umesh Yadav
and
Cole Miller
created
047a7f5
Decrease the size of the branch picker icon (#32387)
Click to expand commit body
<img width="323" alt="image"
src="https://github.com/user-attachments/assets/0060eaf3-35f9-4f0f-b9b6-e26ffad853c2"
/>
<img width="323" alt="image"
src="https://github.com/user-attachments/assets/57b66dae-2a74-401f-82c1-8fc730a98fb0
" />
Release Notes:
- Adjusted size of the icon inside the title bar's branch picker when
that's turned on.
Ben Hamment
created
8332e60
language: Don't add final newline on format for an empty buffer (#32320)
Click to expand commit body
Closes #32313
Release Notes:
- Fixed newline getting added on format to empty files
Evan Simkowitz
created
afab4b5
agent: Add tests for thread serialization code (#32383)
Click to expand commit body
This adds some unit tests to ensure that the `update(...)`/migration
path to the latest versions works correctly
Release Notes:
- N/A
Closes #32054
The dock size for the git panel wasn't being persisted across Zed
restarts. This was because the git panel lacked the serialization
pattern used by other panels.
Please let me know if you have any sort of feedback or anything, as i'm
still trying to learn :]
Release Notes:
- Fixed Git Panel dock size not being remembered across Zed restarts
## TODO
- [x] Update/fix tests that may be broken by the GitPanel constructor
changes
vipex
created
387281f
project_panel: Add `hide_root` when only one folder in the project (#25289)
Click to expand commit body
Closes #24188
Todo:
- [x] Hide root when only one worktree
- [x] Basic tests
- [x] Docs
- [x] Fix `select_first` + tests
- [x] Fix auto collapse dir + tests
- [x] Fix file / dir creation + tests
- [x] Fix root rename case
| Show root | Hide root |
|--------|--------|
| <img width="272" alt="Screenshot 2025-02-20 alle 22 35 55"
src="https://github.com/user-attachments/assets/361d93c7-e1ad-4419-a5f4-be62c9632807"
/> | <img width="269" alt="Screenshot 2025-02-20 alle 22 36 11"
src="https://github.com/user-attachments/assets/62011f76-a24b-4297-9734-f5c3b9f75760"
/> |
| <img width="275" alt="Screenshot 2025-02-20 alle 22 56 33"
src="https://github.com/user-attachments/assets/77e7e6e6-3dfe-4e88-b4b0-b620cb809d2b"
/> | <img width="267" alt="Screenshot 2025-02-20 alle 22 55 53"
src="https://github.com/user-attachments/assets/fa1099c8-7ed0-45ef-a7cf-aeb54b8283b1"
/> |
Release Notes:
- Added support to hide the root entry of the Project Panel when there’s
only one folder in the project. This can be enabled by setting
`hide_root` to `true` in the `project_panel` config.
---------
Co-authored-by: Smit Barmase <heysmitbarmase@gmail.com>
Angelk90
and
Smit Barmase
created
72bcb0b
chore: Fix warnings for Rust 1.89 (#32378)
Click to expand commit body
Closes #ISSUE
Release Notes:
- N/A
Piotr Osiewicz
created
4ff41ba
context_server: Update types to reflect latest protocol version (`2025-03-26`) (#32377)
Click to expand commit body
This updates the `types.rs` file to reflect the latest version of the
MCP spec. Next up is making use of some of these new capabilities. Would
also be great to add support for [Streamable HTTP
Transport](https://modelcontextprotocol.io/specification/2025-03-26/basic/transports#streamable-http)
Release Notes:
- N/A
Bennet Bo Fenner
created
16e901f
docs: Remove reference to outdated Gemini models (#32379)
Click to expand commit body
Release Notes:
- N/A
Bennet Bo Fenner
created
54b4587
Add bound checks for resizing right dock (#32246)
Click to expand commit body
Closes #30293
[Before](https://github.com/user-attachments/assets/0b95e317-391a-4d90-ba78-ed3d4f10871d)
|
[After](https://github.com/user-attachments/assets/23002a73-103c-4a4f-a7a1-70950372c9d9)
Release Notes:
- Fixed right panel expanding in backwards, when dragged out of its
intended bounds, by adding a bounds check to ensure its size never gets
to high.
smaster
created
1fe1011
Add GitHub token environment variable support for Copilot (#31392)
Click to expand commit body
Add support for environment variables as authentication alternatives to
OAuth flow for Copilot. Closes #31172
We can include the token in HTTPS request headers to hopefully resolve
the rate limiting issue in #9483. This change will be part of a separate
PR.
Release Notes:
- Added support for manually providing an OAuth token for GitHub Copilot
Chat by assigning the GH_COPILOT_TOKEN environment variable
---------
Co-authored-by: Bennet Bo Fenner <bennetbo@gmx.de>
Clauses Kim
and
Bennet Bo Fenner
created
78fd268
gemini: Fix edge case when transforming MCP tool schema (#32373)
Click to expand commit body
Closes #31766
Release Notes:
- Fixed an issue where some MCP tools would not work when using Gemini
Hi! This pull request updates the Ruby extension documentation for [the
upcoming v0.9.0
upgrade](https://github.com/zed-extensions/ruby/pull/106):
- Added documentation for two newly added language servers: `sorbet` and
`steep`.
- Updated documentation on using the `ZED_CUSTOM_RUBY_TEST_NAME` symbol
for tasks.
Thanks!
Release Notes:
- N/A
Vitaly Slobodin
created
3908ca9
docs: Add JavaScript configuration to the example setup of Deno (#32104)
Click to expand commit body
When using Deno with the example configuration as described here,
duplicate lsp information is displayed in Javascript files.
This pull request solves that issue by adding Javascript to the
configuration.
Release Notes:
- Improve LSP support when using Deno with Javascript using the default
configuration.
dannybunschoten
created
6fe58a2
Allow to run dynamic TypeScript and JavaScript tests (#31499)
Click to expand commit body
First of all thank you for such a fast editor!
I realized that the existing support for detecting runnable test cases
for typescript/javascript is not full. Meanwhile I can run most of test
by pressing "run button":
<img width="713" alt="image"
src="https://github.com/user-attachments/assets/e8bb1cb1-f0a5-4eb1-b9a6-7188a9fa47ae"
/>
I can't run dynamic tests:
<img width="703" alt="image"
src="https://github.com/user-attachments/assets/d7eef1bc-e99a-4f05-9d62-ec49b8194959"
/>
I was curious whether I can improve it on my own and created this pr. I
edited schemas and added minor changes in `TaskTemplate` to allow to
replace '%s' with regexp pattern, so it can match test cases:
<img width="772" alt="image"
src="https://github.com/user-attachments/assets/db3a6fe0-ad90-4853-8e98-4215e41dfe88"
/>
Release Notes:
- Allow to run dynamic TypeScript/JavaScript tests
---------
Co-authored-by: Piotr Osiewicz <24362066+osiewicz@users.noreply.github.com>
Alexander
and
Piotr Osiewicz
created
79e7ccc
vim: Handle case sensitive search editor setting (#32276)
Click to expand commit body
Update the `vim::normal::search::Vim.search` method in order to
correctly set the search bar's case sensitive search option if the
`search.case_sensitive` setting is enabled.
Closes #32172
Release Notes:
- vim: Fixed a bug where the `search.case_sensitive` setting was not respected when activating search with <kbd>/</kbd> (`vim::Search`)
Dino
created
0bc9478
language_models: Add support for images to Mistral models (#32154)
Click to expand commit body
Tested with following models. Hallucinates with whites outline images
like white lined zed logo but works fine with zed black outlined logo:
Pixtral 12B (pixtral-12b-latest)
Pixtral Large (pixtral-large-latest)
Mistral Medium (mistral-medium-latest)
Mistral Small (mistral-small-latest)
After this PR, almost all of the zed's llm provider who support images
are now supported. Only remaining one is LMStudio. Hopefully we will get
that one as well soon.
Release Notes:
- Add support for images to mistral models
---------
Signed-off-by: Umesh Yadav <git@umesh.dev>
Co-authored-by: Bennet Bo Fenner <bennetbo@gmx.de>
Co-authored-by: Bennet Bo Fenner <bennet@zed.dev>
Umesh Yadav
,
Bennet Bo Fenner
, and
Bennet Bo Fenner
created
4ac7935
language_models: Add thinking support to LM Studio provider (#32337)
Click to expand commit body
It works similar to how deepseek works where the thinking is returned as
reasoning_content and we don't have to send the reasoning_content back
in the request.
This is a experiment feature which can be enabled from settings like
this:
<img width="1381" alt="Screenshot 2025-06-08 at 4 26 06 PM"
src="https://github.com/user-attachments/assets/d2f60f3c-0f93-45fc-bae2-4ded42981820"
/>
Here is how it looks to use(tested with
`deepseek/deepseek-r1-0528-qwen3-8b`
<img width="528" alt="Screenshot 2025-06-08 at 5 12 33 PM"
src="https://github.com/user-attachments/assets/f7716f52-5417-4f14-82b8-e853de054f63"
/>
Release Notes:
- Add thinking support to LM Studio provider
Umesh Yadav
created
c75ad2f
language_models: Add thinking support to DeepSeek provider (#32338)
Click to expand commit body
For DeepSeek provider thinking is returned as reasoning_content and we
don't have to send the reasoning_content back in the request.
Release Notes:
- Add thinking support to DeepSeek provider
Umesh Yadav
created
365997d
docs: Remove duplicate Clang-Format link (#32359)
Click to expand commit body
Release Notes:
- N/A
andrewkolda
created
c57a626
editor: Fix select when click on existing selection (#32365)
Click to expand commit body
Follow-up for https://github.com/zed-industries/zed/pull/30671
Now, when clicking on an existing selection, the cursor will change on
`mouse_up` when `drag_and_drop_selection` is `true`. When
`drag_and_drop_selection` is `false`, it will change on `mouse_down`
(previous default).
Release Notes:
- N/A
Smit Barmase
created
ebea734
Coalesce consecutive spaces in new buffer tab titles (#32363)
Click to expand commit body
VS Code has a behavior where it coalesces consecutive spaces in new
buffer tab titles, which I quite like. This presents the content better
and allows more meaningful content to be displayed, as consecutive
spaces don't count towards the 40 character limit.
VS Code
<img width="1013" alt="SCR-20250608-uelt"
src="https://github.com/user-attachments/assets/71a1fd4b-a506-4eab-b6a4-66096a12f1ad"
/>
Zed
<img width="1136" alt="SCR-20250608-ueif"
src="https://github.com/user-attachments/assets/f40fc3c9-0f0f-471d-93ed-be9568fbe778"
/>
Release Notes:
- N/A
Joseph T. Lyons
created
4fe0553
editor: Add support for `drag_and_drop_selection` (#30671)
Click to expand commit body
Closes #4958
Release Notes:
- Added support for drag and drop text selection. It can be disabled by
setting `drag_and_drop_selection` to `false`.
---------
Co-authored-by: Smit Barmase <heysmitbarmase@gmail.com>
CharlesChen0823
and
Smit Barmase
created
b15aef4
Introduce dynamic tab titles for unsaved files based on buffer content (#32353)
Click to expand commit body
https://github.com/user-attachments/assets/0bb08784-251c-4221-890a-2d6b3fb94e0f
For new, unsaved files:
- If a buffer has no content, or contains only whitespace, use
`untitled`
- If a buffer has content, take the first 40 chars of the first line
| Sublime | VS Code | Zed |
|---------|---------|-----|
| <img width="227" alt="SCR-20250608-ouux"
src="https://github.com/user-attachments/assets/d02b1e50-5775-4252-86e6-6c9d3f6c72fb"
/> | <img width="230" alt="SCR-20250608-ousn"
src="https://github.com/user-attachments/assets/7c9c016b-642f-4a80-9bc1-8c9bdc7bbd32"
/> | <img width="242" alt="SCR-20250608-ovbg"
src="https://github.com/user-attachments/assets/c7f4be5c-5bba-4a2a-b477-1392ca938cd5"
/> |
Note that this implementation also trims all leading whitespace, so that
if the buffer has any non-whitespace content, we use it. VS Code and
Sublime do not do this.
| Sublime | VS Code | Zed |
|---------|---------|-----|
| <img width="233" alt="SCR-20250608-oviq"
src="https://github.com/user-attachments/assets/ccffecc6-0f46-4d1b-8739-740240bc067b"
/> | <img width="198" alt="SCR-20250608-ovkq"
src="https://github.com/user-attachments/assets/35c20149-f898-417b-aff3-dda22b8cc1f3"
/> | <img width="233" alt="SCR-20250608-ovns"
src="https://github.com/user-attachments/assets/2509e8f6-254b-4fcb-a0ea-e18e95bb685b"
/> |
Release Notes:
- Introduced dynamic tab titles for unsaved files based on buffer
content
Joseph T. Lyons
created
23adff6
Add CI check that `cmd-` is not in linux keymaps + check other mods (#32334)
Click to expand commit body
Motivation for the `cmd-` check is that there were a couple keybindings
using `cmd-` in the linux keymap and so these were bound to super /
windows
Release Notes:
- N/A
Michael Sloan
created
866fe42
Cleanup comments in linux keymaps (#32333)
Click to expand commit body
Release Notes:
- N/A
Michael Sloan
created
f7b2faf
Fix a few linux keybindings that use `cmd-` instead of `ctrl-` (#32332)
Click to expand commit body
Release Notes:
- N/A
Michael Sloan
created
5187954
Remove previous multi buffer hardcode from the outline panel (#32321)
Click to expand commit body
Closes https://github.com/zed-industries/zed/issues/32316
Multi buffer design was changed so that control buttons are not
occupying extra lines, the hardcoded logic for that is obsolete thus
removed.
Release Notes:
- Fixed incorrect offsets during outline panel navigation in singleton
buffers
Kirill Bulatov
created
cabd22f
No longer instantiate recently opened agent threads on startup (#32285)
Click to expand commit body
This was causing a lot of work on startup, particularly due to
instantiating edit tool cards. The minor downside is that now these
threads don't open quite as fast.
Includes a few other improvements:
* On text thread rename, now immediately updates the metadata for
display in the UI instead of waiting for reload.
* On text thread rename, first renames the file before writing. Before
if the file removal failed you'd end up with a duplicate.
* Now only stores text thread file names instead of full paths. This is
more concise and allows for the app data dir changing location.
* Renames `ThreadStore::unordered_threads` to
`ThreadStore::reverse_chronological_threads` (and removes the old one
that sorted), since the recent change to use a SQL database queries them
in that order.
* Removes `ContextStore::reverse_chronological_contexts` since it was
only used in one location where it does sorting anyway - no need to sort
twice.
* `SavedContextMetadata::title` is now `SharedString` instead of
`String`.
Release Notes:
- Fixed regression in startup performance by not deserializing and
instantiating recently opened agent threads.
Michael Sloan
created
1552198
Cursor keymap: Add cmd-enter to submit inline assistant (#32295)
0da97b0
editor: Respect `multi_cursor_modifier` setting when making columnar selections using mouse (#32273)
Click to expand commit body
Closes https://github.com/zed-industries/zed/issues/31181
Release Notes:
- Added the `multi_cursor_modifier` setting to be respected when making
columnar selections using the mouse drag.
---------
Co-authored-by: Smit Barmase <heysmitbarmase@gmail.com>