Commit log

c999854 Revert spurious changes to `default.json`

Marshall Bowers created

37b0cdf multi_buffer: Remap excerpt ids to latest excerpt in excerpt fetching (#44229)

Click to expand commit body
Closes #ISSUE

Release Notes:

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

Co-authored by: Cole Miller <cole@zed.dev>

Lukas Wirth created

d76dd86 tab_switcher: Add documentation for tab switcher (#44189)

Click to expand commit body
Release Notes:

- Added documentation for Tab Switcher

Dino created

e2b49b3 Restore blank lines from `main`

Marshall Bowers created

d1e7739 Don't make v0.8.0 available on Stable/Preview yet

Marshall Bowers created

cc5f5e3 Clean up some comments

Richard Feldman created

7183b8a Fix API key bug

Richard Feldman created

b558be7 adds tracing for instrumenting non-async functions (#44147)

Click to expand commit body
Tracing code is not included in normal release builds
Documents how to use them in our performance docs
Only the maps and cursors are instrumented atm

# Compile times:
current main: fresh release build (cargo clean then build --release)
377.34 secs
current main: fresh debug build (cargo clean then build )
89.31 secs

tracing tracy: fresh release build (cargo clean then build --release)
374.84 secs
tracing tracy: fresh debug build (cargo clean then build )
88.95 secs

tracing tracy: fresh release build with timings (cargo clean then build
--release --features tracing)
375.77 secs
tracing tracy: fresh debug build with timings (cargo clean then build
--features tracing)
90.03 secs


Release Notes:

- N/A

---------

Co-authored-by: localcc <work@localcc.cc>

David Kleingeld and localcc created

b1934fb Remove builtin Anthropic provider

Richard Feldman created

a198b6c Use icon in more places

Richard Feldman created

07fe8e9 remoting: Proxy configuration docs (#44225)

Click to expand commit body
Adds an explicit section about how to configure proxies when remoting.

Release Notes:

- N/A

Agus Zubiaga created

8b5b271 Update Cargo.lock

Richard Feldman created

4464392 Use kebab-case for open-router extension too.

Richard Feldman created

a0d3bc3 Rename copilot_chat to copilot-chat

Richard Feldman created

ccd6672 Revert "Remove builtin extensions for now"

Click to expand commit body
This reverts commit 5559726fd7cf9d0cd28fc76ca0f3b869939b1fb8.

Richard Feldman created

21de6d3 Revert "Revert auto-install extensions for now"

Click to expand commit body
This reverts commit 2031ca17e507e8a361e620525d7ba1da4fa48778.

Richard Feldman created

2031ca1 Revert auto-install extensions for now

Richard Feldman created

b776178 agent_ui: Fix mention and slash command menu not appearing with show_completions_on_input set to false (#44222)

Click to expand commit body
Addresses a regression introduced by
https://github.com/zed-industries/zed/pull/44021 that caused @mentions
and slash commands to stop working if you set
`show_completions_on_input: false` in your settings.

In this case, we should always show these menus, otherwise the features
won't work at all.

Release Notes:

- N/A

Ben Brandt created

8b1ce75 Move wit extensions into their own module

Richard Feldman created

1d0aef6 Ensure font features are applied to styled text (#44219)

Click to expand commit body
- Replace `gpui::styled::Styled.font_family()` calls with
`gpui::styled::Styled.font()` when laying out inline diagnostics and
inline blame, to ensure that the font's features are also used, and
not just the font feature.
- Update both `editor::hover_popover::hover_markdown_style` and
`editor::hover_popover::diagnostics_markdown_style` to ensure that
both the UI and Buffer font features are used in both markdown and
diagnostics popover.

Closes #44209 

Release Notes:

- Fixed font feature application for inline git blame, inline
diagnostics, markdown popovers and diagnostics popovers

Dino created

c7ef302 remoting: Server download connect timeout (#44216)

Click to expand commit body
Sometimes machines are configured to drop outbound packets (rather than
reject connections). In these cases, curl/wget just hang causing our
download step to never complete. This PR adds a timeout of 10s for the
connection (not the whole download), so that in situations like this we
can fallback to our client-side download eventually.

Related to but doesn't fully fix:
https://github.com/zed-industries/zed/issues/43694 and
https://github.com/zed-industries/zed/issues/43718

Release Notes:

- remote: Add 10s connect timeout for server download

Agus Zubiaga created

822fc7e remote: Use last line of `uname` and shell output (#44165)

Click to expand commit body
We have seen cases (see
https://github.com/zed-industries/zed/issues/43694) where the user's
shell initialization script includes text that ends up in the output of
the commands we use to detect the platform and shell of the remote. This
solution isn't perfect, but it should address the issue in most
situations since both commands should only output one line.

Release Notes:

- remote: Improve resiliency when initialization scripts output text

Agus Zubiaga created

126d708 git: Fix branch picker creating new branches with refs/head/ prefixed on the branch name (#44206)

Click to expand commit body
The bug was introduced in this recent PR:
https://github.com/zed-industries/zed/pull/42819. Since it's still in
nightly, there is no need for release notes.

I also polished the feature a bit by:
- Ensuring branch names are always a single line so the branch picker's
uniform list uses the correct element height.
- Adding tooltip text for the filter remotes button.
- Fixing the create branch from default icon showing up for non-new
branch entries.

Release Notes:

- N/A

Anthony Eid created

a5ab5c7 gpui: Document the leak detector (#44208)

Click to expand commit body
Release Notes:

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

Lukas Wirth created

35da6d0 debugger: Fix evaluate selection running two evaluations & failing for Python and go (#44205)

Click to expand commit body
Evaluate selection now acts as if the text was typed verbatim into the
console.

Closes ##33526

Release Notes:

- debugger: Fixed "evaluate selection" not behaving as if the
highlighted text was not typed verbatim into the console.

Piotr Osiewicz created

d6241b1 Fix infinite loop in assemble_excerpts (#44195)

Click to expand commit body
Also, expand the number of identifiers fetched.

Release Notes:

- N/A

Max Brunsfeld created

42583c1 Reorganize edit prediction code and remove old experiments (#44187)

Click to expand commit body
Release Notes:

- N/A

---------

Co-authored-by: Agus Zubiaga <agus@zed.dev>
Co-authored-by: Ben Kunkle <ben@zed.dev>

Max Brunsfeld , Agus Zubiaga , and Ben Kunkle created

5559726 Remove builtin extensions for now

Richard Feldman created

e1a9269 Delete example provider extension

Richard Feldman created

3b6b3ff Specify env vars for the builtin extensions

Richard Feldman created

aabed94 Add OAuth via web authentication to llm extensions, migrate copilot

Richard Feldman created

2d3a352 Add OAuth Web Flow auth option for llm provider extensions

Richard Feldman created

a48bd10 Add llm extensions to auto_install_extensions

Richard Feldman created

fec9525 Add env var checkbox

Richard Feldman created

bf2b8e9 use fill=black over fill=currentColor

Richard Feldman created

63c35d2 Use local icons in llm extensions

Richard Feldman created

1396c68 Add svg icons to llm provider extensions

Richard Feldman created

fcb3d3d Update a comment

Richard Feldman created

f54e7f8 Add trailing newlines

Richard Feldman created

2a89529 Use named fields

Richard Feldman created

5820732 restore impl Drop for WasmExtension

Richard Feldman created

e08ab99 Add extensions for LLM providers

Richard Feldman created

7616710 Add experimental LSP-based context retrieval system for edit prediction (#44036)

Click to expand commit body
To do

* [x] Default to no context retrieval. Allow opting in to LSP-based
retrieval via a setting (for users in `zeta2` feature flag)
* [x] Feed this context to models when enabled
* [x] Make the zeta2 context view work well with LSP retrieval
* [x] Add a UI for the setting (for feature-flagged users)
* [x] Ensure Zeta CLI `context` command is usable

---

* [ ] Filter out LSP definitions that are too large / entire files (e.g.
modules)
* [ ] Introduce timeouts
* [ ] Test with other LSPs
* [ ] Figure out hangs

Release Notes:

- N/A

---------

Co-authored-by: Ben Kunkle <ben@zed.dev>
Co-authored-by: Agus Zubiaga <agus@zed.dev>

Max Brunsfeld , Ben Kunkle , and Agus Zubiaga created

cd8679e Allow trailing commas in builtin JSONC schemas (#43854)

Click to expand commit body
The JSON language server looks for a top-level `allowTrailingCommas`
flag to decide whether it should warn for trailing commas. Since the
JSONC parser for these builtin files can handles trailing commas, adding
this flag to the schema also prevents a warning for those commas.

I don't think there's an issue that is only for this specific issue, but
it relates to *many* existing / older issues:
- #18509
- #17487
- #40970
- #18509
- #21303

Release Notes:

- Suppress warning for trailing commas in builtin JSON files
(`settings.json`, `keymap.json`, etc.)

Ian Chamberlain created

43f977c terminal view: Use tooltip element for the tab tooltip (#44169)

Click to expand commit body
Just recently realized we don't need this custom component for it given
we now have `Tooltip::element`. UI result is exactly the same; nothing
changes.

Release Notes:

- N/A

Danilo Leal created

bdb8caa git_ui: Fix indent guides not showing for file buffers in the commit view (#44166)

Click to expand commit body
Follow up to https://github.com/zed-industries/zed/pull/44162 where my
strategy for not displaying the indent guides only in the commit message
was wrong given I ended up... disabling indent guides for all the
buffers. This PR adds a new method to the editor where we can disable it
for a specific buffer ID following the pattern of
`disable_header_for_buffer`.

Release Notes:

- N/A

Danilo Leal created

9ae77ec markdown: Don't adjust indentation when inserting with multiple cursors (#40794)

Click to expand commit body
Closes #40757

## Summary

This PR addresses an issue where Zed incorrectly adjusts the indentation
of Markdown lists when inserting text using multiple cursors. Currently:

- Editing individual lines with a single cursor behaves correctly (no
unwanted indentation changes).
- Using multiple cursors, Zed automatically adjusts the indentation,
unlike VS Code, which preserves the existing formatting.

## Tasks
- [x] Implement a new test to verify correct Markdown indentation
behavior with multiple cursors.
- [x] Apply the fix to prevent Zed from adjusting indentation when
inserting text on multiple cursors.

------------------------

Release Notes:

- Fixed an issue where inserting text with multiple cursors inside a
nested Markdown list would cause it to lose its indentation.

---------

Co-authored-by: Smit Barmase <heysmitbarmase@gmail.com>

vipex and Smit Barmase created

d5ed9d3 git: Don't call `git2::Repository::find_remote` for every blamed buffer (#44107)

Click to expand commit body
We already store the remote URLs for `origin` and `upstream` in the
`RepositorySnapshot`, so just use that data. Follow-up to #44092.

Release Notes:

- N/A

Cole Miller created

74a1b5d Update PHP language server docs (#44001)

Click to expand commit body
Reformat document structure like other language docs, improve
information flow, add missing requirements, and fix typos.

Release Notes:

- N/A

---------

Co-authored-by: Piotr Osiewicz <24362066+osiewicz@users.noreply.github.com>

Liffindra Angga Zaaldian and Piotr Osiewicz created

a95f3f3 Clean up debug logging

Richard Feldman created