f2e8d0c
dap: Enable info level logs for CodeLLDB adapter (#40345)
Click to expand commit body
Trim whitespace/newline when committing the logs in Zed.
Release Notes:
- N/A
Jakub Konka
created
e406ac6
markdown_preview: Fix block quote last child bottom padding (#40343)
Click to expand commit body
Release Notes:
- Fixed block quote last child bottom padding in Markdown preview.
| Before | After |
| --- | --- |
| <img width="577" height="665" alt="image"
src="https://github.com/user-attachments/assets/f2ff9fff-b4a6-44ed-b83c-6811e13fb3b8"
/> | <img width="612" height="634" alt="SCR-20251016-okfv"
src="https://github.com/user-attachments/assets/b4c5b706-49aa-4348-9553-22b0eb98e201"
/> |
Jason Lee
created
5467156
project_panel: Add `open_file_on_paste` setting to configure auto opening of file on paste (#40331)
Click to expand commit body
Closes #40234
Release Notes:
- Added `open_file_on_paste` setting to configure auto opening of file
on paste in the project panel.
---------
Co-authored-by: Smit Barmase <heysmitbarmase@gmail.com>
Release Notes:
- Fixed occasional `RefCell already mutably borrowed` panic in windows
event handling
Lukas Wirth
created
35f5eb1
vim: Add gt and gT bindings for Markdown preview mode (#39854)
Click to expand commit body
### What does this PR do?
- Adds default keybindings `gt` for navigating to the next tab and `gT`
for navigating to the previous tab in markdown viewer mode
### Why do we need this change?
- While previewing markdown files, the default vim bindings (`gt` and
`gT`) do not work for navigating between tabs. These bindings work
everywhere else, which provides a non-consistent experience for the
user.
### How do we do this change?
- Update the vim mode bindings to explicitly add handling for this mode
---------
Co-authored-by: Conrad Irwin <conrad.irwin@gmail.com>
83f9f9d
gpui: Add more default font fallbacks (#35086)
Click to expand commit body
Release Notes:
- N/A
---
- Set `.SystemUIFont` as the GPUI default font.
- Add `Arial` to font fallback list.
- Add `Adwaita Sans` to default fallback list for Gnome.
- Move `Ubuntu` font to front of Gnome to make sure Ubuntu System takes
priority over `Ubuntu` font.
Our application get some crash report:
```
panicked at /Users/admin/.cargo/git/checkouts/zed-a70e2ad075855582/f1db3b4/crates/gpui/src/text_system.rs:150:9:
failed to resolve font 'Helvetica' or any of the fallbacks: Zed Plex Mono, Helvetica, Segoe UI, Cantarell, Ubuntu, Noto Sans, DejaVu Sans
```
This change to add `Arial` to fallback list, this font was included in
macOS and Windows.
Ref link (search "Arial"):
> Mac OS X (now known as [macOS](https://en.wikipedia.org/wiki/MacOS))
was the first Mac OS version to include Arial;
> https://en.wikipedia.org/wiki/Arial
- macOS Sequoia: https://support.apple.com/en-us/120414
- Windows 10:
https://learn.microsoft.com/en-us/typography/fonts/windows_10_font_list
- Gnome: https://developer.gnome.org/hig/guidelines/typography.html
Jason Lee
created
43baa5d
title bar: Remove chevron to the side of the avatar when logged in (#40287)
Click to expand commit body
Having the chevron to the side of the avatar is arguably unnecessary at
this point; most apps out there (Reddit, YouTube, etc.), including here
on GitHub, have the avatar without any icon, pointing to how there
doesn't seem to be a problem with knowing that there's a menu behind it.
Therefore, figured we could simplify the UI a bit more here.
This also looks better on platforms where the window controls are on the
right (Linux/Windows).
Release Notes:
- N/A
Danilo Leal
created
f4609c0
agent: Improve pickers and their triggers styles in the panel (#40284)
Click to expand commit body
Making all triggers have the same style when the picker is open
(including changing the icon when the picker opens on top of the
trigger). Also removed the footer from the ACP model selector given
there's nothing to consider when that's the case; users can only
configure LLM providers when using Zed's built-in agent.
Release Notes:
- N/A
Updates #40212
v0.9.0 is now stable and contains the fix for the line endings bug, so
we can return to installing from the stable channel as usual. This also
bumps the minimum version on Windows to v0.9.0 so that anyone on v0.8.x
or v0.9.0-preview.4 will be upgraded automatically.
Release Notes:
- N/A
Cole Miller
created
77933f8
Decouple cloud provider from Model in Zed (#40281)
This PR improves the rendering performance of the Settings UI window by
using `gpui::list` to render only the visible contents of a settings
page, instead of rendering the full content of a page. This fixes a lag
that the editor page has in debug builds.
I also added a new field `measuring_behavior` to `ListState` that has
`Visible` and `Measured` variances. `Visible` only measures and caches
the bounds of visible items plus the overdraw pixel offset. `Measure`
will cache all itemsβ bounds on the first layout phase, which fixes
problems with the scrollbar size/position being miscalculated.
Release Notes:
- N/A
---------
Co-authored-by: Mikayla Maki <mikayla@zed.dev>
Co-authored-by: Ben Kunkle <ben@zed.dev>
Anthony Eid
,
Mikayla Maki
, and
Ben Kunkle
created
500acc9
settings_ui: Scale window size based on UI font size (#40257)
49acfd2
repl: List kernelspecs of the current worktree (#40154)
Click to expand commit body
Closes #25564
Release Notes:
- Fix virtual env REPLs not showing up
Abdelhakim Qbaich
created
ecb0160
agent: Update message editor placeholder for Codex (#40264)
Danilo Leal
created
bb0cc10
dap: Enable adapter logs for StdioTransport delegate (#40262)
Click to expand commit body
This is the first towards better logs for adapter binaries. Next up I
intend to somehow allow `codelldb` adapter in Zed to permit simple log
level so that we can pass `RUST_LOG=level` when spawning the child
process.
Release Notes:
- N/A
Jakub Konka
created
3e2680d
settings ui: Adjust project dropdown design a bit (#40260)
Click to expand commit body
Makes the dropdown trigger button styling consistent with the other
buttons and allows to add a tooltip in the trigger through the popover's
`trigger_with_tooltip` method.
Release Notes:
- N/A
Danilo Leal
created
35595fe
search: Dismiss modal view when running search action (#39446)
Click to expand commit body
Currently, using cmd-f or cmd-shift-f to search while a modal is active
(e.g. after cmd-t or cmd-p) doesn't do anything β you need to first
close the modal manually before initiating a search. This PR allows
these actions to run regardless of whether a modal is active.
Some context: VSCode lets you do this too, and for me it's quite common
to do a symbol search with cmd-t immediately followed by a regular
search with cmd-shift-f if I don't find what I'm looking for, so having
to close the modal first is slightly disruptive. cmd-t followed by cmd-p
does dismiss the project symbols modal in order to display the file
search modal, so it makes sense to me to also allow search actions to
dismiss an active modal.
Maybe this blunt fix has unintended consequences? If some types of
modals shouldn't be dismissed when running cmd-f, or some actions
shouldn't dismiss a currently active modal, then we'll have to go about
it differently.
Release Notes:
- Added the ability to run search actions when a modal is currently
active
Tim Vermeulen
created
ce2259c
file_finder: Display single files already opened (#39911)
Click to expand commit body
Closes https://github.com/zed-industries/zed/issues/24670
(Follow up of https://github.com/zed-industries/zed/pull/36856) cc
@ConradIrwin Thanks for your help
Release Notes:
Fixed: Keep non project files when filtering in File finder
---------
Signed-off-by: Benjamin <5719034+bnjjj@users.noreply.github.com>
Co-authored-by: Kirill Bulatov <mail4score@gmail.com>
Updating Zed Docs for Windows
---------
Co-authored-by: Kate <work@localcc.cc>
Co-authored-by: Julia Ryan <juliaryan3.14@gmail.com>
Co-authored-by: Max Brunsfeld <maxbrunsfeld@gmail.com>
Katie Geer
,
Kate
,
Julia Ryan
, and
Max Brunsfeld
created
d6c9d00
dap: Wrap Child directly in a mutex rather than through Option<_> (#40192)
Click to expand commit body
Release Notes:
- N/A
Jakub Konka
created
85c2dc9
rope: Improve panic message for out of bounds `anchor_at_offset` (#40256)
8ab52f3
editor: Fix `SelectionsCollection::disjoint` not being ordered correctly (#40249)
Click to expand commit body
We've been seeing the occasional `cannot seek backwards` panic within
`SelectionsCollection` without means to reproduce.
I believe the cause is one of the callers of
`MutableSelectionsCollection::select` not passing a well formed
`Selection` where `start > end`, so this PR enforces the invariant in
`select` by swapping the fields and setting `reversed` as required as
the other mutator functions already do that as well.
We could also just assert this instead, but it callers usually won't
care about this so its the less user facing annoyance to just fix this
invariant up internally.
Fixes ZED-253
Fixes ZED-ZJ
Fixes ZED-23S
Fixes ZED-222
Fixes ZED-1ZV
Fixes ZED-1SN
Fixes ZED-1Z0
Fixes ZED-10E
Fixes ZED-1X0
Fixes ZED-12M
Fixes ZED-1GR
Fixes ZED-1VE
Fixes ZED-13X
Fixes ZED-1G4
Release Notes:
- Fixed occasional panics when querying selections
ec0eeaf
rope: Assert utf8 boundary of start of `Chunks::new` range (#40253)
Click to expand commit body
We seem to run into panics in related code, so better assert early
Release Notes:
- N/A *or* Added/Fixed/Improved ...
Lukas Wirth
created
3763354
zeta2: Numbered lines prompt format (#40218)
Click to expand commit body
Adds a new `NumberedLines` format which is similar to `MarkedExcerpt`
but each line is prefixed with its line number.
Also fixes a bug where contagious snippets wouldn't get merged.
Release Notes:
- N/A
---------
Co-authored-by: Michael Sloan <mgsloan@gmail.com>
Co-authored-by: Michael <michael@zed.dev>
Agus Zubiaga
,
Michael Sloan
, and
Michael
created
4f656ce
acp: Fix /logout for agents that support it (#40248)
Click to expand commit body
We were clearing the message editor too early. We only want to clear the
message editor if we are going to short circuit and return early before
submitting.
Otherwise, the agents that can handle this themselves won't have the
ability to do so.
Release Notes:
- acp: Fix /logout not working for some agents
Ben Brandt
created
0e9ee3c
docs: Add section for configuring Codex (#40250)
7beae75
acp: Allow updating default mode for Codex (#40238)
Click to expand commit body
Release Notes:
- acp: Save default mode for codex
Ben Brandt
created
a6e99c1
project: Always use shell env in `LocalLspAdapterDelegate::which` (#40237)
Click to expand commit body
Windows not having a default shell does not matter here, we might still
have an environment from other means (by being spawned from the cli for
example).
Release Notes:
- N/A *or* Added/Fixed/Improved ...
No need to clutter the `--help` docs with default directories for
platforms other than the current one.
Release Notes:
- N/A
Co-authored-by: David Kleingeld <davidsk@zed.dev>
Julia Ryan
and
David Kleingeld
created
877790a
docs: Remove duplicate Grok 4 Fast entry in `models.md` (#40232)
Click to expand commit body
Release Notes:
- N/A
Djordje
created
0c08bbc
Avoid gap between titlebar and body on linux (#40228)
Click to expand commit body
Co-authored-by: Max Brunsfeld <maxbrunsfeld@gmail.com>
Co-authored-by: John Tur <john-tur@outlook.com>
Release Notes:
- N/A
Co-authored-by: Max Brunsfeld <maxbrunsfeld@gmail.com>
Co-authored-by: John Tur <john-tur@outlook.com>
Conrad Irwin
,
Max Brunsfeld
, and
John Tur
created
ba0b687
Fix triggers for debugger thread and session lists not rendering (#40227)
Click to expand commit body
Release Notes:
- N/A
Cole Miller
created
45af5e4
Fix a couple of bugs in remote browser debugging implementation (#40225)
Click to expand commit body
Follow-up to #39248
- Correctly forward ports over SSH, including the port from the debug
scenario's `url`
- Give the companion time to start up, instead of bailing if the first
connection attempt fails
Release Notes:
- Fixed not being able to launch a browser debugging session in an SSH
project.
f348240
Don't probe for local workspaces pointing to WSL filesystem on startup (#40142)
Click to expand commit body
We automatically delete a local workspace if the folders comprising it
no longer exist.
If a local workspace points to folders in the WSL filesystem, checking
whether those folders exist will make us wait for the WSL VM and file
server to boot up. This can block Zed startup for many seconds.
Supported scenarios use remote workspaces, so delete these local
workspaces to ensure that we don't try to access their folders on the
startup path.
Release Notes:
- N/A