60312a3
Fix attach to process in Go debugger (#43898)
Click to expand commit body
Release Notes:
- Fixed the behavior of the attach to process feature for the Golang
debugger.
**Step to reprorduce:**
1. Build and run golang binary
2. In Zed open debugger
3. Go to Attach tab
4. Select the binary you just built from the list
**Actual result:**
```
Tried to launch debugger with: {
"request": "attach",
"mode": "debug",
"processId": 74702,
"stopOnEntry": false,
"cwd": "/path/to/the/current/working/directory"
}
error: Failed to attach: invalid debug configuration - unsupported 'mode' attribute "debug"
```
**Expected result:** The debugger can attach to the process.
According to the [Delve
documentation](https://github.com/go-delve/delve/tree/master/Documentation/api/dap#launch-and-attach-configurations)
`attach` request supports `local` and `remote` values only
At some point, rust-analyzer started including the snippet expression
for some completions in the description field, but that can look like a
bug:
<img width="1570" height="578" alt="CleanShot 2025-11-27 at 20 39 49@2x"
src="https://github.com/user-attachments/assets/5a87c9fe-c0a8-472f-8d83-3bc9e9e00bbc"></img>
In these cases, we will now inline the tab stops as an ellipsis
character:
<img width="1544" height="428" alt="CleanShot 2025-12-01 at 10 01 18@2x"
src="https://github.com/user-attachments/assets/4c550891-4545-47cd-a295-a5eb07e78e92"></img>
You may also notice that we now syntax highlight the pattern closer to
what it looks like after accepted.
Alternatively, when the tab stop isn't just one position, it gets
highlighted as a selection since that's what it would do when accepted:
<img width="1558" height="314" alt="CleanShot 2025-12-01 at 10 04 37@2x"
src="https://github.com/user-attachments/assets/ce630ab2-da22-4072-a996-7b71ba21637d"
/>
Release Notes:
- rust: Display completion tab stops inline rather than as a raw LSP
snippet expression
A small CLI helper to test the metric
Release Notes:
- N/A
Oleksiy Syvokon
created
9af6e82
language: Only block the foreground on buffer reparsing when necessary (#43888)
Click to expand commit body
Gist is we only need to block the foreground thread for reparsing if
immediate language changes are useful to the user. That is usually only
the case when they edit the buffer
Release Notes:
- Improved performance of large project searches and project diffs
Co-authored by: David Kleingeld <david@zed.dev>
Lukas Wirth
created
3969109
Add file icon for the Odin programming language (#43855)
Click to expand commit body
Release Notes:
- Added file icon for the [Odin programming
language](https://odin-lang.org/).
<img width="617" height="288" alt="CleanShot 2025-11-30 at 22 37 00"
src="https://github.com/user-attachments/assets/2389b90a-2fec-43bf-838f-1441f08b724a"
/>
Closes #16827
Release Notes:
- Added: File history view accessible via right-click context menu on
files in the editor or project panel. Shows commit history for the
selected file with author, timestamp, and commit message. Clicking a
commit opens a diff view filtered to show only changes for that specific
file.
<img width="1293" height="834" alt="Screenshot 2025-11-11 at 16 31 32"
src="https://github.com/user-attachments/assets/3780d21b-a719-40b3-955c-d928c45a47cc"
/>
<img width="1283" height="836" alt="Screenshot 2025-11-11 at 16 31 24"
src="https://github.com/user-attachments/assets/1dc4e56b-b225-4ffa-a2af-c5dcfb2efaa0"
/>
---------
Co-authored-by: cameron <cameron.studdstreet@gmail.com>
ozzy
and
cameron
created
747dc23
util: Move `PathMatcher` over to `RelPath` (#43881)
Click to expand commit body
Closes https://github.com/zed-industries/zed/issues/40688 Closes
https://github.com/zed-industries/zed/issues/41242
Release Notes:
- Fixed project search not working correctly on remotes where the host
and remote path styles differ
Lukas Wirth
created
aa0e19f
gpui(windows): Reset foreground time budget when hitting the timeout limit (#43886)
b9c5900
terminal_view: Fix selection columns not being clamped correctly for rendering (#43876)
Click to expand commit body
Before:
https://github.com/user-attachments/assets/3be4d451-81a6-430b-bc36-d91f4cd44c9b
After:
https://github.com/user-attachments/assets/6d64bf0c-5bd1-45be-b9d8-20118e5a25e6
Release Notes:
- Fixed rendered selections in the terminal view not being clamped to
the line start/ends correctly
Lukas Wirth
created
4e3aa0b
zed: Fix session ID mismatching for workspace and telemetry (#43659)
Click to expand commit body
I don't think this caused any problems for us but you never know ...
Release Notes:
- N/A *or* Added/Fixed/Improved ...
Lukas Wirth
created
05764e8
http_client: Add integrity checks for GitHub binaries using digest checks (#43737)
Click to expand commit body
Generalizes the digest verification logic from `rust-analyzer` and
`clangd` into a reusable helper function in
`http_client::github_download`.
This removes ~100 lines of duplicated code across the two language
adapters and makes it easier for other language servers to adopt digest
verification in the future.
Closes #35201
Release Notes:
- N/A
Relates to #35759, but maybe doesn't entirely fix it? I think it will
improve the situation, at least.
Also provides a workaround for the issue described in
https://github.com/zed-industries/zed/issues/40094#issuecomment-3559808526
for users of WSL + `nix-direnv`.
Rationale: there are cases where automatic direnv integration is not
always desirable, but Zed currently has no way of opting out of this
integration besides `direnv revoke` (which is often not desirable).
This PR provides such an opt-out for users who run into problems with
the existing direnv integration methods. Some reasons why disabling
might be useful:
- Security concerns about auto-loading `.envrc` (arguably, `direnv
revoke` should cover this most of the time)
- As in #35759, for users who use different shells/envs for
interactive/non-interactive cases and want to manually control the
environment Zed uses
- As in #40094, to workaround OS limits on environment variable /
command-line parameter size
Release Notes:
- Added the ability to disable direnv integration entirely
Ian Chamberlain
created
d1d419b
gpui: Further fix extraction of font runs from text runs (#43856)
Click to expand commit body
After #39928, if a font's weight changes between text runs without other
decoration changing, the earlier weight continues to be used for the
subsequent run(s).
PR #40840 fixes this in shape_text, but similar code exists also in
layout_text. The latter is used for text in the editor view itself, so
the issue continues to appear when using a highlighting theme with
varied font weights.
Fix the issue by applying the same fix in layout_text.
Closes #42297
Release Notes:
- Fixed incorrect font weights in editor view when using a highlighting
theme with varying font weights
ca6e64d
docs: Fix bug on table of contents (#43840)
Click to expand commit body
We were previously always highlighting the last header in the table of
contents as active even if you were at the top of the page. This is now
fixed, where upon loading the page, no header is highlighted, and as you
scroll, we highlight the top-most heading one by one.
Release Notes:
- N/A
Danilo Leal
created
0079044
Add @yeskunall to `REVIEWERS.conl` (#43823)
Click to expand commit body
Release Notes:
- N/A
Kunall Banerjee
created
450cd3d
Respect vertical placement offset for glyphs (#43812)
Fixing the theme toggle popover, search results design, and
sidebar/table of contents responsiveness.
Release Notes:
- N/A
Danilo Leal
created
8abf1d3
agent_ui: Fix delete icon event in history panel (#43796)
Click to expand commit body
Summary
Fixed the thread deletion issue by:
1. Click handler conflict between the trash icon and the main ListItem
2. Added `cx.stop_propagation()` to prevent the click event from
bubbling up to the parent ListItem's click handler
3. Followed the established `cx.stop_propagation()` pattern used
throughout the codebase
Now when you click the trash icon to delete a thread:
- ✅ The thread deletion happens immediately on the first click
- ✅ No race condition between deletion and activation
- ✅ No double-clicking required
The fix is minimal, follows established patterns, and addresses the
exact root cause of the issue.
- Stop event propagation in thread removal handler
Release Notes:
- agent: Improved delete thread action in the history view by preventing
it from also triggering the thread activation.
Aero
created
e75e137
Fix the misalignment issue with Inline Assist (#43768)
Click to expand commit body
Easy path to fix the issue #38755
<img width="787" height="157" alt="Screenshot 2025-11-28 at 9 39 55 PM"
src="https://github.com/user-attachments/assets/4943f668-c2d7-4c35-8fa7-a6fea839a99f"
/>
Release Notes:
- agent: Fixed the UI misalignment between old and new lines from the
inline assist.
Closes #43734
Closes #43698
Release Notes:
- Fixed git gutter incorrectly showing up for ignored files.
Jakub Konka
created
200a4a5
docs: Improve table of content responsiveness (#43766)
Click to expand commit body
Release Notes:
- N/A
Danilo Leal
created
be8605b
agent_ui: Make thread loading state clearer (#43765)
Click to expand commit body
Closes https://github.com/zed-industries/zed/issues/43721
This PR makes the loading state clearer by disabling the message editor
while the agent is loading as well as pulsating the icon.
Release Notes:
- agent: Made the thread loading state clearer in the agent panel.
Danilo Leal
created
63eb3ea
docs: Customize view transition and other layout shift improvements (#43763)
Click to expand commit body
Follow up to https://github.com/zed-industries/zed/pull/43762.
Yet another shot at making the navigation between pages flicker less.
Release Notes:
- N/A
Follow up to https://github.com/zed-industries/zed/pull/43758.
This PR uses view transition animations to reduce the page flickering
when navigating between one and the other. Pretty cool CSS-only
solution.
Release Notes:
- N/A
Danilo Leal
created
b11f22b
Fix button in multibuffer header overflowing (#43761)
Click to expand commit body
Closes https://github.com/zed-industries/zed/issues/43726
Note that the truncation strategy on the file path is not yet perfect.
I'm just applying the regular method from the label component, but we
should wrap path text from the start rather than from the end. Some time
in the future!
<img width="500" height="712" alt="Screenshot 2025-11-28 at 7 17@2x"
src="https://github.com/user-attachments/assets/6ebc618a-4b4a-42fd-b5b7-39fec3ae5335"
/>
Release Notes:
- Fixed a bug where the "Open File" button would overflow in the
multibuffer header if the file path was too long.
Danilo Leal
created
6040c0c
agent_ui: Fix activity bar when plan and edited files list is long (#43759)
Click to expand commit body
Closes https://github.com/zed-industries/zed/issues/43728
Release Notes:
- agent: Fixed a bug where the plan and edit files list would consume
the whole space of the thread if they were too long. They're now capped
by a max-height and scrollable.
Danilo Leal
created
e8a3368
docs: Reduce layout shift when navigating between pages (#43758)
Click to expand commit body
This is still not perfect, but it reduces the shift that happens when
navigating between pages that have and don't have the table of contents.
It also tries to reduce the theme flicker that happens by moving its
loading to an earlier moment.
Release Notes:
- N/A
Danilo Leal
created
d4c0b87
agent: Clarify `include_pattern` parameter usage for grep tool (#41225)
Click to expand commit body
Adds clarifying examples and information about the `include_pattern`
parameter for the grep tool, analogous to the `path` parameter of the
read and list tools and others.
The lack of clarity led to unexpected agent behavior described in
#41189. This change is confirmed to improve the precision of Claude
Sonnet 4.5 when searching for code in an empty conversation (without it,
it leaves out the root directory in the query).
Closes #41189.
```
Release Notes:
- Clarify grep tool description to improve agent precision when using it with the `include_pattern` parameter
```
Closes #43040
Release Notes:
- Remove the end-of-support Gemini 1.5 model from the options.
- Remove the older Gemini 2.0 model from the options.
- Please let me know if you think it's better to keep it, as it is still
a usable model.
- Update the incorrect amounts for some input/output tokens.
- Update the default model to Gemini 2.5 Flash-Lite.
- Rename variant `Gemini3ProPreview` to `Gemini3Pro`
When this PR is merged, users will be able to select the following
Gemini models.
- 2.5 Flash
- 2.5 Flash-Lite
- 2.5 Pro
- 3 Pro
Junseong Park
created
557d393
docs: Add sidebar title collapse functionality and design facelift (#43754)
Click to expand commit body
This PR adds the ability to collapse section in the docs sidebar (which
are persistent until you close the tab), and some design facelift to the
docs, which makes its design close to the site as well as polishing up
many elements and interactions (like moving the search to a modal and
making the table of content visible in smaller breakpoints).
<img width="600" height="2270" alt="Screenshot 2025-11-28 at 5 26@2x"
src="https://github.com/user-attachments/assets/3a8606c6-f74f-4bd2-84c8-d7a67ff97564"
/>
Release Notes:
- N/A
Danilo Leal
created
1cc3a4c
settings ui: Add tab_bar.show_tab_bar_buttons to settings UI (#43746)
Click to expand commit body
Release Notes:
- Added "Show Tab Bar Buttons" setting to Settings UI to control
visibility of New, Split Pane, and Zoom buttons in the tab bar.
<img width="899" height="750" alt="Screenshot 2025-11-28 at 12 37 08 PM"
src="https://github.com/user-attachments/assets/9894da7b-9702-4b37-9adb-ae0e43c87edf"
/>
David Baldwin
created
f6ab730
Allow opening settings.json file from Settings UI with keybinding (#43747)
Click to expand commit body
Release Notes:
- Added a keybinding to open the `settings.json` file when the Settings
UI is in focus: `cmd-,` (macOS) / `ctrl-,` (Windows / Linux).
- A tooltip was added to the `Edit in settings.json` button to show this
keybinding.
Joseph T. Lyons
created
6c98003
Tweak the issue template for bugs (#43719)
Click to expand commit body
- shorten some phrases to (hopefully) retain attention better
- move the required field up to not bore people with scrolling
- call it a bug and not an issue to further emphasize we want feature
requests in Discussions where the product managers are
- remove the default from the WSL question since not everyone does
WSL or even Windows
Release Notes:
- N/A
---------
Co-authored-by: Miguel Raz Guzmán Macedo <miguel@zed.dev>
Co-authored-by: Kunall Banerjee <hey@kimchiii.space>
Lena
,
Miguel Raz Guzmán Macedo
, and
Kunall Banerjee
created
7b4e050
Use test db for command palette under vim tests (#43731)
Agus Zubiaga
created
7c967b8
language: Allow support for ESLint working directories (#43677)
Click to expand commit body
Closes #9648 #9755
Release Notes:
- Added way to configure ESLint's working directories in settings. For
example:
`{"lsp":{"eslint":{"settings":{"workingDirectories":["./client","./server"]}}}}`
---------
Co-authored-by: Piotr Osiewicz <24362066+osiewicz@users.noreply.github.com>
Smit Barmase
and
Piotr Osiewicz
created
478bcea
docs: Add configuration explanation in git section (#43637)
Click to expand commit body
Closes https://github.com/zed-industries/zed/issues/33441
Release Notes:
- Added configuration documentation for git-commit settings including preferred-line-length in the git panel
---------
Co-authored-by: Jakub Konka <kubkon@jakubkonka.com>
Matthew Chisolm
and
Jakub Konka
created
c18481e
git: Add UI for deleting branches (#42703)
Click to expand commit body
Closes #42641
Release Notes:
- Added UI for deleting Git branches
---------
Co-authored-by: Jakub Konka <kubkon@jakubkonka.com>
Mayank Verma
and
Jakub Konka
created
87e3d6e
git: Check push config before falling back to branch remote (#41700)
Click to expand commit body
Closes #26649
Release Notes:
- Improved git support for remotes handling. Git will now check pushRemote and pushDefault configurations before
falling back to branch remote.
---------
Co-authored-by: Jakub Konka <kubkon@jakubkonka.com>