0339d65
zed: Make inline assist quick action dispatch an action (#27445)
Click to expand commit body
This PR makes the "Inline Assist" quick action in the quick action bar
work by dispatching the `InlineAssist` action.
This fixes an issue where the button was not working with Assistant 2.
Release Notes:
- N/A
Marshall Bowers
created
24d76a6
Reapply #27200 after bad conflict resolution (#27446)
Click to expand commit body
Release Notes:
- N/A
Agus Zubiaga
created
3ba6243
debugger ui: Make variable values muted by default (#27441)
Click to expand commit body
Closes #ISSUE
Release Notes:
- N/A
Piotr Osiewicz
created
31e3c13
Add `.github/copilot-instructions.md` to paths loaded for rules (#27442)
Click to expand commit body
Release Notes:
- N/A
Michael Sloan
created
0fec04a
assistant2: Disable "Add Server" button when the required fields are empty (#27440)
Click to expand commit body
This PR updates the add context server modal to disable the "Add Server"
button when the required fields are not filled out.
Release Notes:
- N/A
Marshall Bowers
created
bf25548
Add find-replace-file tool, use it by default over edit-files-tool (#27438)
Click to expand commit body
@agu-z and paired on trying out a "one tool call per edit" approach for
editing files. (The previous approach is still available, it's just
unchecked by default for now.)
Release Notes:
- N/A
---------
Co-authored-by: Agus <agus@zed.dev>
Richard Feldman
and
Agus
created
cd1e56d
Add support for dashed borders to GPUI (#27139)
Click to expand commit body
Features:
* Scales dash spacing with border width.
* Laying out dashes around rounded corners.
* Varying border widths with rounded corners - now uses an ellipse for the inner edge of the border.
* When there are no rounded corners, each straight border is laid out separately, so that the dashes to meet at the corners.
* All sides of each dash are antialiased.


Release Notes:
- N/A
---------
Co-authored-by: Michael Sloan <michael@zed.dev>
Co-authored-by: Ben <ben@zed.dev>
Nathan Sobo
,
Michael Sloan
, and
Ben
created
2fe2028
debugger: Fix typing in active buffer resulting a jump to an active debug line (#27439)
f9212a0
debugger: Make UI a bit more dense (#27429)
Click to expand commit body
Closes #ISSUE
Release Notes:
- N/A
Piotr Osiewicz
created
954a56c
Update stale issue bot to run on Wednesday (#27437)
Click to expand commit body
Release Notes:
- N/A
Joseph T. Lyons
created
275cecb
assistant2: Add modal for adding context servers (#27434)
Click to expand commit body
This PR adds a modal for adding context servers from the Assistant 2
configuration view:
<img width="1394" alt="Screenshot 2025-03-25 at 12 22 50 PM"
src="https://github.com/user-attachments/assets/52fe194f-7d88-4f3b-aee1-8c6385136e6b"
/>
Release Notes:
- N/A
Marshall Bowers
created
6b7167a
Gracefully handle models searching for empty glob (#27370)
Click to expand commit body
Sometimes we've seen models provide an empty string for the path search
glob. This assumes they meant "*" when that happens.
Separately, this also removes an unnecessary `clone` of a `String`.
Release Notes:
- N/A
Richard Feldman
created
430814c
ci: Hide harmless cargo about error from release output (#27433)
Click to expand commit body
Hide harmless errors like this from CI output.
<img width="834" alt="Screenshot 2025-03-25 at 12 07 36"
src="https://github.com/user-attachments/assets/55450812-000d-49a0-9926-cae0df8aa281"
/>
Release Notes:
- N/A
Closes https://github.com/rzukic/zed-latex/issues/70 where the language
server `texlab` is not used for code formatting when the "cspell"
extension is also installed, because it also provides a language server
for the LaTeX filetype but only for spell checking.
Release Notes:
- Fix conflict between LaTeX and cspell extensions affecting code formatting on save.
- Add instructions in description to read before editing
- Add instructions in edit prefix to explicitly ask for reads
- Fix `connection error: delay between messages too long` by processing
chunks off a channel
Release Notes:
- N/A
Agus Zubiaga
created
2414855
Gracefully handle bad LLM-generated paths in dir tool (#27202)
Click to expand commit body
Release Notes:
- N/A
Co-authored-by: Ben <ben@zed.dev>
Richard Feldman
and
Ben
created
e7f7ed3
assistant2: Add `create-file` and `copy-path` tools to the "Code Writer" profile (#27432)
Click to expand commit body
This PR adds the `create-file` and `copy-path` tools to the "Code
Writer" profile.
Release Notes:
- N/A
Marshall Bowers
created
e273de5
python: Fix incorrect indenting of `except`, `finally`, `else`, and `elif` control flow (#27428)
Click to expand commit body
Closes #10832
Note: This PR only fixes the issue where when entering one of `except`,
`finally`, `else`, and `elif` after another block like so:
```python
try:
for i in range(n):
pass
except:|
```
The `except` would be indented resulting in the following:
```python
try:
for i in range(n):
pass
except:|
```
This PR does not fix a separate issue in which the indentation is not
corrected from the second example to the first, i.e. if example 2 is
typed verbatim in Zed it will not auto-indent to look like example 1.
Handling of this case would likely require specific logic to handle, or
changes to the tree-sitter grammar for Python, as the current grammar
results in ERROR nodes that obscure the natural structure (cannot tie
the `except` to the `try`)
Release Notes:
- Fixed an issue where `except`, `finally`, `else`, and `elif` control
flow keywords in Python would be incorrectly indented when entered at
the correct level of indentation.
Follow-up of
https://github.com/zed-industries/zed/pull/27424/files#r2012188255
Release Notes:
- N/A
Kirill Bulatov
created
ffee218
Use newer cargo-bundle without the build error (#27424)
Click to expand commit body
Fixes Nightly builds for macOS.
Release Notes:
- N/A
Kirill Bulatov
created
d9dcc59
Merge clangd's `inactiveRegions` with existing diagnostics (#26737)
Click to expand commit body
Closes: https://github.com/zed-industries/zed/issues/13089
This PR attempts to resolve the issues discussed in my previous PR
#26146.
Release Notes:
- Fixed: `inactiveRegions` doesn't replace existing diagnostics anymore
Naim A.
created
8f10233
extension: Add support for `additional_workspace_configuration` and `additional_initialization_options` (#27407)
Click to expand commit body
Closes #22410
With this PR extensions can provide additional workspace configuration
for other LSP Adapters. This allows extensions like Astro, Svelte, Vue,
etc to provide plugins for vtsls typescript server, fixing issues like:
https://github.com/zed-industries/zed/issues/4577,
https://github.com/zed-industries/zed/issues/21697,
https://github.com/zed-industries/zed/issues/26901#issuecomment-2737485096
Todo:
- [x] Test case when extension is installed, does vtsls workspace config
refreshes?
Before:
<img width="450" alt="image"
src="https://github.com/user-attachments/assets/f242167c-5264-44ab-b5a7-8c90eb75c6a1"
/>
After:
<img width="450" alt="image"
src="https://github.com/user-attachments/assets/6a5f1afe-a0e1-4f64-8a95-919b0bf97614"
/>
Release Notes:
- N/A
Smit Barmase
created
9468b96
assistant2: Add icon for copy-path tool (#27421)
It turns out that on linux crane's `buildDepsOnly` was working fine, so
I'm re-enabling it and will worry about why it's failing on darwin
later.
This should significantly improve the amount of artifact-reuse for the
linux nix builds, which will hopefully bring build times low enough that
we're ok putting it in CI.
Release Notes:
- N/A
Julia Ryan
created
42f01cc
Set edit predictions to default to the Zed provider (#27394)
Click to expand commit body
Release Notes:
- Changed the default edit prediction provider from Copilot to Zed
Another step towards having `zlog` as the default logging solution in
Zed.
The new ScopeMap replaces the previous HashMap based implementation used
for scope lookups to:
A. Reduce complexity
B. Increase speed at which non-enabled logs can be filtered out
C. Provide more granular control over how scopes are determined to be
enabled/disabled,
and what caching/other speed increase opportunities are available
Release Notes:
- N/A
03102b4
assistant: Allow opening the Prompt Library via the command palette (#27368)
Click to expand commit body
Also took the opportunity to rename the action to something that would
be clearer in the command palette, from `DeployPromptLibrary` to
`OpenPromptLibrary`.
Release Notes:
- N/A
---------
Co-authored-by: Marshall Bowers <git@maxdeviant.com>
Really small stuff, like adding icons and adjusting colors.
Release Notes:
- N/A
Danilo Leal
created
bcfc9e4
debugger: Improve variable list keyboard navigation (#27308)
Click to expand commit body
This PR improves the keyboard navigation for the variable list.
Before this PR, if you want to open/close nested variables, you had to
use the right/left & up/down arrow keys.
Now you can step through with just only using your left/right arrow
keys, this feels a bit more natural and more similar to how other
editors allow you to navigate through variables.
This PR also fixes the following issues:
- Allow selecting a scope to be the start of your selection
- Allow selecting previous item if the first item is selected
-----
https://github.com/user-attachments/assets/aff0b133-97be-4c09-8ee6-b11495ad5568
Release Notes:
- N/A
Remco Smits
created
a52095f
copilot: Switch to official `@github/copilot-language-server` (#27401)
Click to expand commit body
This PR updates Copilot to use the official
[`@github/copilot-language-server`](https://github.com/github/copilot-language-server-release).
It's [available on
npm](https://www.npmjs.com/package/@github/copilot-language-server), so
we're installing it from there.
I tested it out locally and it seemed to be working as expected.
Release Notes:
- Updated Copilot to use the official
[`@github/copilot-language-server`](https://github.com/github/copilot-language-server-release).
Marshall Bowers
created
be83c5e
migrator: Add migration for settings changed prior to migrator-introduction (#27375)
Click to expand commit body
This PR updates two existing settings to use the settings migrator
instead of a manually implemented visitor. Both of these settings were
changed prior to the introduction of automatic migrations and the
visitor ensured that the settings were kept backwards compatible. See
https://github.com/zed-industries/zed/pull/22200 and
https://github.com/zed-industries/zed/pull/22364 respectively.
WIth this change, existing user configurations are updated accordingly
and the corresponding settings can derive `Deserialize` again.
I also added tests for the replacement of settings values, as there was
no test for this behaviour. Additionally, I added a seperate test for
the existing migration of `always_show_close_button`, since that
migration updated both the key and value.
Release Notes:
- N/A
Finn Evers
created
46d67a3
Don't assume that the excerpt can be found (#27395)
Click to expand commit body
Release Notes:
- Fix (rare) panic in the project diff view
Conrad Irwin
created
10c04af
Fix regression in `do_completion` changes (#27396)
Click to expand commit body
Caused by #27313
Release Notes:
- N/A
João Marcos
created
920eda0
zed_extension_api: Fork new version of extension API (#27390)
Click to expand commit body
This PR forks a new version of the `zed_extension_api` in preparation
for new changes.
Release Notes:
- N/A
Marshall Bowers
created
a469c0e
assistant2: Add `move-path` tool to the "Code Writer" profile (#27389)
Click to expand commit body
This PR adds the `move-path` tool to the "Code Writer" profile.
Release Notes:
- N/A
We decided to take this out for now. It doesn't seem necessary, and it
complicates the code a lot. We can always put it back later if desired.
Release Notes:
- N/A
bbc7fcc
Fix crash when toggling deleted hunk (#27138)
Click to expand commit body
Release Notes:
- Fix rare crash when toggling deleted hunks.
---------
Co-authored-by: Max Brunsfeld <maxbrunsfeld@gmail.com>
João Marcos
and
Max Brunsfeld
created
11552cc
Git: reload index before reading it (#27386)
Click to expand commit body
This is one of the causes for race conditions, but isn't a specific bug fix by itself.
Release Notes:
- N/A
Co-authored-by: Max Brunsfeld <maxbrunsfeld@gmail.com>