bc9a830
Add Vue language server v3 support (#40651)
Click to expand commit body
Closes https://github.com/zed-extensions/vue/issues/48
Migration guide:
https://github.com/vuejs/language-tools/discussions/5456
PR to remove tdsk: https://github.com/zed-extensions/vue/pull/61
Release Notes:
- Added support for Vue language server version 3. Know more
[here](https://github.com/vuejs/language-tools/releases/tag/v3.0.0).
---------
Co-authored-by: MrSubidubi <dev@bahn.sh>
Co-authored-by: Piotr Osiewicz <24362066+osiewicz@users.noreply.github.com>
Smit Barmase
,
MrSubidubi
, and
Piotr Osiewicz
created
9a454a7
acp: Fix following for agents that only provide locations (#40710)
Click to expand commit body
We were dropping the entities once we created the buffers, so the weak
entities could never be upgraded. This treats new locations we see the
same as we would for a read/write call and stores the entity so that we
can follow like we normally would.
Release Notes:
- acp: Fix following not working with certain tool calls.
eb94291
ai onboarding: Add dismiss button to the sign in banner (#40660)
Click to expand commit body
Release Notes:
- N/A
Danilo Leal
created
d45e591
Set the minimum log level to `info` for the remote server (#40543)
Click to expand commit body
`env_logger` defaults to only showing error-level logs, but we show
info-level logs and above for the main Zed process, so I think it makes
sense for the remote server to behave the same way.
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
3ecbebb
Revert deprecate code actions on format (#40409)
Click to expand commit body
Closes #40334
This reverts the change made in #39983, and includes a replacement
migration that will transform formatter settings values consisting of
only `code_action` format steps into the previously deprecated
`code_actions_on_format` in an attempt to restore the behavior to what
it was before the migration that deprecated `code_actions_on_format`.
This PR will result in a modified order in the `code_actions_on_format`
setting if it existed, however the decision was made to explicitly
ignore this for now, as this PR is primarily targeting users who have
already had the deprecation migration run, and no longer have the
`code_actions_on_format` key
Release Notes:
- Fixed an issue with a settings migration that deprecated the
`code_actions_on_format` setting. The `code_actions_on_format` setting
has been un-deprecated, and affected users will have the bad migration
rolled back with an updated migration
---------
Co-authored-by: Cole Miller <cole@zed.dev>
Co-authored-by: Mikayla Maki <mikayla.c.maki@gmail.com>
Co-authored-by: HactarCE <6060305+HactarCE@users.noreply.github.com>
Ben Kunkle
,
Cole Miller
,
Mikayla Maki
, and
HactarCE
created
c926654
Revert "acp: Don't collapse tool calls by default" (#40395)
6789eff
acp: Add nicer WSL warning for Codex (#40354)
Click to expand commit body
Moves the Codex warning into the thread so that we can render it nicer,
as well as provide an option to open the folder in WSL.
Release Notes:
- N/A
---------
Co-authored-by: Bennet Bo Fenner <bennetbo@gmx.de>
Ben Brandt
and
Bennet Bo Fenner
created
2ee904a
settings_ui: Scale window size based on UI font size (#40257)
b7527b8
Add rust-analyzer support for musl linux (#40108)
Click to expand commit body
Release Notes:
- Added rust-analyzer support for musl remotes
localcc
created
b92b790
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
269bfab
acp: Allow updating default mode for Codex (#40238)
Click to expand commit body
Release Notes:
- acp: Save default mode for codex
Ben Brandt
created
00835b5
Avoid gap between titlebar and body on linux
Click to expand commit body
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
e78775b
Fix triggers for debugger thread and session lists not rendering (#40227)
f680ca5
Rename settings and keymap actions (#39970)
Click to expand commit body
This PR renames the following actions to make it easier and prioritize
the UI version of interacting with them:
| Before | After |
|--------|--------|
| `OpenSettingsEditor` | `OpenSettings` |
| `OpenSettings` | `OpenSettingsFile` |
| `OpenKeymapEditor` | `OpenKeymap` |
| `OpenKeymap` | `OpenKeymapFile` |
Release Notes:
- Rename actions to open settings (UI/window and JSON file) as well as
to open the keymap (editor tab and JSON file).
Danilo Leal
created
cb2c9ef
keymap editor: Adjust the "edit in keymap.json" button (#39789)
Click to expand commit body
Making its visuals and positioning more consistent with the same button
in the settings UI.
Release Notes:
- N/A
c949dea
onboarding: Add some UI improvements (#40016)
Click to expand commit body
Includes improvements in button padding, ways we space elements out,
more consistent use of some components, and cleaning up redundant
buttons styles. Pretty much nothing changes in the design, though.
Release Notes:
- N/A
This reverts commit 2fa54ddbbe408e31cac451c251e8241c1d083885.
This is causing some inscrutable issues with the title bar and window
borders on Linux with fractional DPI scaling. I can't debug this right
now, so let's revert it before the stable release.
John Tur
created
1b35be5
Fix redirect stdin command for fish shell (#39963)
Click to expand commit body
This fixes an issue introduced via
[v0.208.0-pre](https://github.com/zed-industries/zed/releases/tag/v0.208.0-pre)
and reported via
https://github.com/zed-industries/zed/issues/34530#issuecomment-3386042577
where, when using fish shell as the default shell and using a Claude
Code thread in Zed, all command were failing because `(command)` in fish
is for command substitution. Using it creates this type of error:
```
fish: command substitutions not allowed in command position. Try var=(your-cmd) $var ...
(npm ci) </dev/null
^~~~~~~~~~~~^
```
or in the editor itself:
<img width="1624" height="1060" alt="image"
src="https://github.com/user-attachments/assets/64fc3126-2cdd-450e-bc85-ef91c56b3705"
/>
Using the appropriate syntax to redirect to stdin for fish fixes the
issue.
Release Notes:
- Fixed redirect stdin command for fish shell
Kevin Rambaud
created
027ca0d
windows: Temporarily use preview release of Gemini CLI (#40212)
Click to expand commit body
Workaround for disagreement about line endings that's fixed in the
v0.9.0 series
Release Notes:
- N/A
Cole Miller
created
750c0b3
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
John Tur
created
fea090a
Remove ping/unwrap from crash handler (#39870)
Click to expand commit body
Release Notes:
- N/A
---------
Co-authored-by: Julia Ryan <juliaryan3.14@gmail.com>
Conrad Irwin
and
Julia Ryan
created
d521efd
settings_ui: Only allow to reset a setting to default in the file in which it was customized (#40182)
Click to expand commit body
Plus some other tiny visual adjustments.
Release Notes:
- N/A
Danilo Leal
created
31efb92
remote: Wrap `uname` invocation in `sh` for `nu` shell (#40084)
Click to expand commit body
Closes https://github.com/zed-industries/zed/pull/39994
Release Notes:
- Fixed remoting not working when nushell is set as the default shell on
the remote target
Lukas Wirth
created
9d35922
windows: Prefer Git Bash for external agent terminals (#40150)
Click to expand commit body
This applies the same change as #39466 to the terminal codepath for
external agents.
Release Notes:
- N/A
Co-authored-by: Max Brunsfeld <maxbrunsfeld@gmail.com>
Cole Miller
and
Max Brunsfeld
created
dcad1f0
windows: Detect when `python3` is not usable and notify the user (#40070)
Click to expand commit body
Fixes #39998
Debugpy and pylsp are installed in a Zed-global venv with pip. We need a
Python interpreter to create this venv when it doesn't exist and one of
these tools needs to be installed, and sometimes we attempt to use
`python3` from `$PATH`. This can cause issues on Windows, where out of
the box `python3` is a sort of shim that opens the Microsoft Store app.
This PR changes the debugpy installation path to create the Zed-global
venv using the Python interpreter from a venv in the project, and only
use python3 from `$PATH` if that fails. That matches how pylsp
installation already works. It also tightens up how we search for a
global Python installation by doing a basic sanity check (`python3 -c
'print(1 + 2)`) before accepting it, which should catch the Windows
shim.
Release Notes:
- windows: improved the behavior of Zed in situations where no global
Python installation exists.
Cole Miller
created
bcc50b5
windows: Fix shader rotation order for pattern rendering (#39993)
Click to expand commit body
old
<img width="1076" height="1008" alt="image"
src="https://github.com/user-attachments/assets/e1cd8238-e869-4abb-98b4-4790467c59d1"
/>
new
<img width="989" height="1004" alt="image"
src="https://github.com/user-attachments/assets/42b7fd59-0038-4490-82a7-979983da5416"
/>
Release Notes:
- N/A
0x2CA
created
9a46330
Add `.ZedSans` as a possible fallback font (#40129)
Click to expand commit body
Closes https://github.com/zed-industries/zed/issues/40121
Release Notes:
- Fixes a bug where users couldn't return the UI font family to the
default value through the UI.
Danilo Leal
created
2d34a4a
Use `DwmFlush` unconditionally for Windows vsync (#39913)
Click to expand commit body
Closes #36934
I'm still experiencing bugs with the
`DCompositionWaitForCompositorClock` API. Let's back out the support for
now until the fixes are identified and widely available.
`DwmFlush` does various things that aren't just waiting for VSync, so
it's not ideal, but it's not bad enough that it's worth a bigger
refactor right now.
Release Notes:
- N/A
John Tur
created
75f5215
remote: Check if remote can --exec, fall back to spawning shell otherwise (#40112)
Click to expand commit body
Bonus: fix passing env vars to the proxy server in WSL setting.
Closes #39710
Supersedes #39893
Release Notes:
- N/A
Jakub Konka
created
016a4c5
Add a comment about the use of `shell_kind` in terminal.rs (#40114)
Click to expand commit body
Release Notes:
- N/A
Co-authored-by: Jakub Konka <kubkon@jakubkonka.com>
Cole Miller
and
Jakub Konka
created
f397b22
remove_server: Add function to delete wsl project (#40105)
Click to expand commit body
As title say, could delete wsl project in `open remote` delegate.
Release Notes:
- Added ability to delete wsl projects from remote picker
CharlesChen0823
created
0d15313
settings_ui: Add some AI settings (#40111)
Click to expand commit body
There's a lot of AI settings that will require custom UI for them to be
part of the settings window, but many don't (simple booleans and
dropdown) and can be moved right away. In consequence, the whole
"General Settings" section in the agent panel's settings view can be
removed given all of those items are now part of the settings window.
Release Notes:
- N/A
Danilo Leal
created
050f6ee
settings_ui: Make arrow keys up and down activate page content (#40106)
Click to expand commit body
Release Notes:
- settings ui: Navigating the settings navbar with arrow keys up and
down now also activates the page, allowing users to more quickly see the
content for a given page before moving focus to the page itself.
Danilo Leal
created
4134044
windows: Fix semantic merge conflict with `ShellKind::new` (#40107)
Click to expand commit body
Release Notes:
- N/A
Cole Miller
created
1754ee2
util: Fix shell kind in windows based on program path (#39696)
Click to expand commit body
Closes #39614
The `ShellKind` struct is built on Windows' side, meaning that when
connecting to remotes, we fall back to PowerShell construction, even if
the shell program we are spawning is a unix program.
This broke tasks creation since we are using the shell kind to construct
args:
https://github.com/zed-industries/zed/blob/d04ac864b8cb78ee888ce03323e34c17a6dd16b9/crates/project/src/terminals.rs#L149
In normal terminals this only affected activation scripts (only place
where shell kind is used)
I don't have a Windows machine to test it, so I would appreciate any
help with testing!
Release Notes:
- Fixed an issue where tasks could not be executed in Windows WSL
---------
Signed-off-by: Marco Mihai Condrache <52580954+marcocondrache@users.noreply.github.com>
Marco Mihai Condrache
created
13db8e9
settings_ui: Fix garbage value for terminal font size (#40093)
Click to expand commit body
Closes #40086
Release Notes:
- Fixed garbage value shown for terminal font size in the settings UI
when no font size is defined in `settings.json`.
Smit Barmase
created
34f1c57
windows: Add support for fetching shell environment in remote projects (#39831)
Click to expand commit body
Closes #39216
Note that this affects all platforms, I'm just using the prefix to make
auto-cherry-picking easier.
Release Notes:
- Fixed shell commands run by agents failing to find installed programs
in some cases.