Commit log

c54e294 Autosave files on close, when setting is `afterDelay` (#36929)

Click to expand commit body
Closes https://github.com/zed-industries/zed/issues/12149
Closes #35524

Release Notes:

- Improved autosave behavior, to prevent a confirmation dialog when
quickly closing files and using the `afterDelay` setting

---------

Co-authored-by: MrSubidubi <finn@zed.dev>

itsaphel and MrSubidubi created

34d727a fix stack overflow in Source impl

David Kleingeld created

8683488 editor: Fix completions menu flashes on every keystroke in TSX files with emmet (#38320)

Click to expand commit body
Closes https://github.com/zed-industries/zed/issues/37774

Bug in https://github.com/zed-industries/zed/pull/32927

Instead of using trigger characters to clear cached completions items,
now we check if the query is empty to clear it. Turns out Emmet defines
whole [alphanumeric as trigger
characters](https://github.com/olrtg/emmet-language-server/blob/279be108725fb391c167690b697ce154fd32657b/index.ts#L116)
which causes flickering.

Clear on trigger characters was introduced to get rid of cached
completions like in the case of "Parent.Foo.Bar", where "." is one of
the trigger characters. This works still since "." is not part of
`completion_query_characters` and hence we use it as a boundary while
building the current query. i.e in this case, the query would be empty
after typing ".", clearing cached completions.

Release Notes:

- Fixed issue where completions menu flashed on every keystroke in TSX
files with emmet extension installed.

Smit Barmase created

a5c2917 editor: Fix incorrect offset passed to acp completion provider (#38321)

Click to expand commit body
Might fix | ZED-15G
Release Notes:

- N/A *or* Added/Fixed/Improved ...

Lukas Wirth created

574b943 Add wsl specific icon (#38316)

Click to expand commit body
Release Notes:

- N/A

localcc created

399118f denoise: Fix LICENSE-GPL symlink (#38313)

Click to expand commit body
Release Notes:

- N/A *or* Added/Fixed/Improved ...

Lukas Wirth created

5ca3b99 fs: Do panic when failing to query `modified` timestamps (#38312)

Click to expand commit body
Fixes ZED-1EW

Release Notes:

- N/A

Lukas Wirth created

d74b8bc docs: Fix macOS development docs typo (#38311)

Click to expand commit body
Release Notes:

- N/A

Smit Barmase created

28800c2 languages: Fix panic in python lsp adapters assuming settings shape (#38309)

Click to expand commit body
Fixes ZED-1EV
Fixes ZED-S0
Fixes ZED-Q9

Release Notes:

- N/A

Lukas Wirth created

17c44d9 workspace hack

David Kleingeld created

21d6f80 migrate to in tree denoise crate

David Kleingeld created

f1860ab fix rebase leftover

David Kleingeld created

b336233 fixes incoming legacy voip stream not being resampled

David Kleingeld created

83d9f07 Add WSL opening UI (#38260)

Click to expand commit body
This PR adds an option to open WSL machines from the UI.

- [x] Open wsl from open remote
- [ ] Open local folder in wsl action
- [ ] Open wsl shortcut (shortcuts to open remote)

Release Notes:

- N/A

localcc created

f82224a make AGC slightly faster

David Kleingeld created

127270d use release build for audio crate

David Kleingeld created

877c145 fixes denoise setting, prepares for migration to 16kHz

David Kleingeld created

30dc8e0 gets denoising to 'work'

David Kleingeld created

c5ac1e6 editor: Fix `select_larget_syntax_node` overflowing in multibuffers (#38308)

Click to expand commit body
Fixes ZED-18Z

Release Notes:

- N/A

Lukas Wirth created

d48d6a7 Fix empty nodes crash (#38259)

Click to expand commit body
The crash occured because we raced against the platform windowing
backend to render a frame, and if we lost the race there would be no
frame on a window that we return, which breaks most of gpui

Release Notes:

- N/A

localcc created

a2de918 agent_ui: Fix panic on editor changes in inline_assistant (#38303)

Click to expand commit body
Fixes ZED-13P

Release Notes:

- N/A

Lukas Wirth created

531f9ee Give most spawned threads names (#38302)

Click to expand commit body
Release Notes:

- N/A

Lukas Wirth created

64d362c edit prediction: Initial implementation of Tree-sitter index (not yet used) (#38301)

Click to expand commit body
Release Notes:

- N/A

---------

Co-authored-by: Agus <agus@zed.dev>
Co-authored-by: oleksiy <oleksiy@zed.dev>

Michael Sloan , Agus , and oleksiy created

5d561aa agent_ui: Fix agent panel insertion to use cursor position (#38253)

Click to expand commit body
Fix agent panel insertion to use cursor position

Closes #38216

Release Notes:
- Fixed agent panel text insertion to respect cursor position instead of
always appending to the end

## Before

[before.webm](https://github.com/user-attachments/assets/684d3cbe-4710-4724-8d2d-ac08f430dea8)

## After

[output.webm](https://github.com/user-attachments/assets/d1122d99-4efb-4a24-a408-db128814f98c)

Kyrilasa created

4ee2dae markdown: Fix indented codeblocks having incorrect content ranges (#38225)

Click to expand commit body
Closes https://github.com/zed-industries/zed/issues/37743

Release Notes:

- Fixed agent panel panicking when streaming indented codeblocks from
agent output

Lukas Wirth created

7d7e67a WIP

Conrad Irwin created

0a8a82e Agent

Conrad Irwin created

6eeffe9 TerminalView

Conrad Irwin created

7de2084 EDITOR!!

Conrad Irwin created

b61c73a languages!

Conrad Irwin created

fc692b4 title_bar!

Conrad Irwin created

6e93d70 Auto-update!

Conrad Irwin created

8195364 Workspace

Conrad Irwin created

034ff4e TEMP

Conrad Irwin created

c27d8e0 editor: Don't pull diagnostics on excerpts change in diagnostics editors (#38212)

Click to expand commit body
This can lead to an infinite regress when using a language server that
supports pull diagnostics, since the excerpts for the diagnostics editor
are set based on the project's diagnostics.

Closes #36772

Release Notes:

- Fixed a bug that could cause duplicated diagnostics with some language
servers.

Cole Miller created

27da409 workspace pt 2

Ben Kunkle created

f6c5c68 collab: Remove user backfiller (#38291)

Click to expand commit body
This PR removes the user backfiller from Collab.

Release Notes:

- N/A

Marshall Bowers created

74e5b84 cloud_llm_client: Make `default_model` and `default_fast_model` optional (#38288)

Click to expand commit body
This PR makes the `default_model` and `default_fast_model` fields
optional on the `ListModelsResponse`.

Release Notes:

- N/A

Marshall Bowers created

ee399eb macOS: Make it easier to debug NSAutoFillHeuristicControllerEnabled (#38285)

Click to expand commit body
Uses `setObject` instead of `registerDefaults`, so that it can be read
with `defaults read dev.zed.Zed`. Still can be overrided.

Release Notes:

- N/A

Smit Barmase created

54c82f2 Windows: Unminimize a window when activating it (#38287)

Click to expand commit body
Closes #36287

Release Notes:

- Windows: Fixed an issue where a Zed window would stay minimized when
opening an existing file in that window via the Zed CLI.

Max Brunsfeld created

ed270c8 workspace pt 1

Conrad Irwin created

e14a4ab Fix small spelling mistakes (#38284)

Click to expand commit body
Closes #ISSUE

Release Notes:

- N/A *or* Added/Fixed/Improved ...

Uwe Krause created

0343b5f Add new crate denoise required by audio (#38217)

Click to expand commit body
The audio crate will use the denoise crate to remove background noises
from microphone input.

We intent to contribute this to rodio. Before that can happen a PR needs
to land in candle. Until then this lives here.

Uses a candle fork which removes the dependency on `protoc` and has the PR's mentioned above already applied.

Release Notes:

- N/A

---------

Co-authored-by: Mikayla <mikayla@zed.dev>

David Kleingeld and Mikayla created

26202e5 language_models: Use `message` field from Cloud error responses, if present (#38286)

Click to expand commit body
This PR updates the Cloud language model provider to use the `message`
field from the Cloud error response, if it is present.

Previously we would always show the entire JSON payload in the error
message, but with this change we can show just the user-facing `message`
the error response is in a shape that we recognize.

Release Notes:

- N/A

Marshall Bowers created

debd870 Extension host

Conrad Irwin created

d9e7cec project

Conrad Irwin created

742d196 wip - project

Ben Kunkle created

ee91236 Check if virtual environment is in worktree root (#37510)

Click to expand commit body
The problem from issue #37509 comes from local virtual environments
created with certain approaches (including the 'simple' way of `python
-m venv`) not having a `.project` file with the path to the project's
root directory. When the toolchains are sorted, a virtual environment in
the project is not treated as being for that project and therefore is
not prioritized.

With this change, if a toolchain does not have a `project` associated
with it, we check to see if it is a virtual environment, and if it is we
use its parent directory as the `project`. This will make it the top
priority (i.e. the default) if there are no other virtual environments
for a project, which is what should be expected.

Closes #37509

Release Notes:

- Improved python toolchain prioritization of local virtual
environments.

George Waters created

673a98a Fix a number of spelling mistakes (#38281)

Click to expand commit body
My pre push hooks keep failing on these. This is easier then disabling
and re-enabling those hooks all the time :)

Closes #ISSUE

Release Notes:

- N/A

David Kleingeld created

31aeb56 Project

Conrad Irwin created