Commit graph

30214 commits

Author SHA1 Message Date
Agus Zubiaga
1aef322d1b editor: Trigger completions on paste
Co-authored-by: Cole Miller <cole@zed.dev>
2025-08-13 14:00:42 -03:00
Agus Zubiaga
46ed71fb9a Handle fetch completions
Co-authored-by: Cole Miller <cole@zed.dev>
2025-08-13 13:42:39 -03:00
Agus Zubiaga
2f6c9e3a2b Checkpoint: Adding fetch 2025-08-13 12:28:17 -03:00
Agus Zubiaga
5d5c419fa9 Test mention set contents
Co-authored-by: Cole Miller <cole@zed.dev>
2025-08-13 12:10:07 -03:00
Agus Zubiaga
0f58decd6d Update completion_provider.rs
Co-authored-by: Cole Miller <cole@zed.dev>
2025-08-13 11:36:26 -03:00
Agus Zubiaga
f338d236bc Merge branch 'mention-more' of github.com:zed-industries/zed into mention-more
Co-authored-by: Cole Miller <cole@zed.dev>
2025-08-13 11:36:24 -03:00
Agus Zubiaga
64eac63b50 Test symbol completions
Co-authored-by: Cole Miller <cole@zed.dev>
2025-08-13 11:35:38 -03:00
Agus Zubiaga
929ae77473 Test symbol completions
Co-authored-by: Cole Miller <cole@zed.dev>
2025-08-13 11:31:39 -03:00
Agus Zubiaga
d26f80ebad Restore completion provider tests
Co-authored-by: Cole Miller <cole@zed.dev>
2025-08-13 11:16:03 -03:00
Agus Zubiaga
6ed2155b9a Replace to_link with as_link
Co-authored-by: Cole Miller <cole@zed.dev>
2025-08-13 10:54:24 -03:00
Cole Miller
d8131278f1 fix a couple of issues with mention URIs 2025-08-12 23:45:50 -04:00
Cole Miller
9fa49b89de add missing markdown click handlers 2025-08-12 22:54:25 -04:00
Agus Zubiaga
98ba2d9acd Load threads and rule contents
Co-authored-by: Cole Miller <cole@zed.dev>
2025-08-12 18:34:58 -03:00
Agus Zubiaga
b4d97c437d Get contents of symbols and selections
Co-authored-by: Cole Miller <cole@zed.dev>
2025-08-12 17:38:28 -03:00
Agus Zubiaga
91e22597a8 Threads and rule support
Co-authored-by: Cole Miller <cole@zed.dev>
2025-08-12 15:47:27 -03:00
Agus Zubiaga
e2973998ad Suggest symbols
Co-authored-by: Cole Miller <cole@zed.dev>
2025-08-12 15:29:45 -03:00
Agus Zubiaga
219c3bfde8 Restore recent history
Co-authored-by: Cole Miller <cole@zed.dev>
2025-08-12 15:19:57 -03:00
Agus Zubiaga
f66e10f965 File entries 2025-08-12 14:55:27 -03:00
Agus Zubiaga
38128bab3e Wrap earlier 2025-08-12 10:20:30 -03:00
Agus Zubiaga
cf8e056ec4 Merge branch 'main' into mention-more 2025-08-12 09:58:47 -03:00
Agus Zubiaga
76566aaa78 Fix test 2025-08-12 09:53:21 -03:00
Antonio Scandurra
2444321756
Support profiles in agent2 (#36034)
We still need a profile selector.

Release Notes:

- N/A

---------

Co-authored-by: Ben Brandt <benjamin.j.brandt@gmail.com>
2025-08-12 12:17:48 +00:00
Piotr Osiewicz
13bf45dd4a
python: Fix toolchain serialization not working with multiple venvs in a single worktree (#36035)
Our database did not allow more than entry for a given toolchain for a
single worktree (due to incorrect primary key)

Co-authored-by: Lukas Wirth <lukas@zed.dev>

Release Notes:

- Python: Fixed toolchain selector not working with multiple venvs in a
single worktree.

Co-authored-by: Lukas Wirth <lukas@zed.dev>
2025-08-12 12:10:53 +00:00
Lukas Spiss
b61b71405d
go: Add support for running sub-tests in table tests (#35657)
One killer feature for the Go runner is to execute individual subtests
within a table-test easily. Goland has had this feature forever, while
in VSCode this has been notably missing.


https://github.com/user-attachments/assets/363417a2-d1b1-43ca-8377-08ce062d6104


Release Notes:

- Added support to run Go table-test subtests.
2025-08-12 11:56:33 +03:00
Michael Sloan
cc5eb24066
zeta: Add latency telemetry for 1% of edit predictions (#36020)
Release Notes:

- N/A

Co-authored-by: Oleksiy <oleksiy@zed.dev>
2025-08-12 06:47:54 +00:00
Conrad Irwin
52a9101970
vim: Add ctrl-y/e in insert mode (#36017)
Closes #17292

Release Notes:

- vim: Added ctrl-y/ctrl-e in insert mode to copy the next character
from the line above or below
2025-08-11 23:20:09 -06:00
Conrad Irwin
1a798830cb
Fix running vim tests with --features neovim (#36014)
This was broken incidentally in
https://github.com/zed-industries/zed/pull/33417

A better fix would be to fix app shutdown to take control of the
executor so that we *can* run
foreground tasks; but that is a bit fiddly (draft #36015) 

Release Notes:

- N/A
2025-08-12 05:08:58 +00:00
Kirill Bulatov
481e3e5092
Ignore capability registrations with empty capabilities (#36000) 2025-08-12 07:53:20 +03:00
Matt
b35e69692d
docs: Add a missing comma in Rust debugging JSON (#36007)
Update the Rust debugging doc to include a missing comma in one of the
example JSON's.
2025-08-12 03:06:02 +00:00
Agus Zubiaga
0741c30653 Fix test 2025-08-11 20:50:49 -03:00
Agus Zubiaga
26befa1ec6 Merge branch 'main' into mention-more 2025-08-11 20:48:31 -03:00
Agus Zubiaga
217a2ef351 Replace clone with deref 2025-08-11 20:45:54 -03:00
Agus Zubiaga
cc396a5e36 Include mention content in agent2 requests
Co-authored-by: Cole Miller <cole@zed.dev>
2025-08-11 20:41:47 -03:00
Conrad Irwin
add67bde43
Remove unnecessary argument from Vim#update_editor (#36001)
Release Notes:

- N/A
2025-08-11 16:10:06 -06:00
Victor Tran
fa3d0aaed4
gpui: Allow selection of "Services" menu independent of menu title (#34115)
Release Notes:

- N/A

---

In the same vein as #29538, the "Services" menu on macOS depended on the
text being exactly "Services", not allowing for i18n of the menu name.

This PR introduces a new menu type called `OsMenu` that defines a
special menu that can be populated by the system. Currently, it takes
one enum value, `ServicesMenu` that tells the system to populate its
contents with the items it would usually populate the "Services" menu
with.

An example of this being used has been implemented in the `set_menus`
example:
`cargo run -p gpui --example set_menus`

---

Point to consider:

In `mac/platform.rs:414` the existing code for setting the "Services"
menu remains for backwards compatibility. Should this remain now that
this new method exists to set the menu, or should it be removed?

---------

Co-authored-by: Mikayla Maki <mikayla.c.maki@gmail.com>
2025-08-11 21:10:14 +00:00
Danilo Leal
094e878ccf
agent2: Refine terminal tool call display (#35984)
Release Notes:

- N/A
2025-08-11 17:50:47 -03:00
Joseph T. Lyons
54d4665100
Add windows issue template (#35998)
Release Notes:

- N/A
2025-08-11 19:25:18 +00:00
localcc
2c84e33b7b
Fix icon padding (#35990)
Release Notes:

- N/A
2025-08-11 19:57:39 +02:00
Bennet Bo Fenner
bb6ea22944
agent2: Port more tools (#35987)
Release Notes:

- N/A

---------

Co-authored-by: Ben Brandt <benjamin.j.brandt@gmail.com>
Co-authored-by: Antonio Scandurra <me@as-cii.com>
2025-08-11 17:24:48 +00:00
Antonio Scandurra
365b5aa31d
Centralize always_allow logic when authorizing agent2 tools (#35988)
Release Notes:

- N/A

---------

Co-authored-by: Cole Miller <cole@zed.dev>
Co-authored-by: Bennet Bo Fenner <bennetbo@gmx.de>
Co-authored-by: Agus Zubiaga <agus@zed.dev>
Co-authored-by: Ben Brandt <benjamin.j.brandt@gmail.com>
2025-08-11 17:22:19 +00:00
localcc
56c4992b9a
Fix underline flickering (#35989)
Closes #35559

Release Notes:

- Fixed underline flickering
2025-08-11 19:17:48 +02:00
Cole Miller
76b95d4f67
Try to diagnose memory access violation in Windows tests (#35926)
Release Notes:

- N/A
2025-08-11 17:06:31 +00:00
Piotr Osiewicz
39dfd52d04
python: Create DAP download directory sooner (#35986)
Closes #35980

Release Notes:

- Fixed Python Debug sessions not starting up when a session is started
up for the first time.
2025-08-11 16:50:24 +00:00
Cole Miller
42bf5a17b9
Delay rendering tool call diff editor until it has a revealed range (#35901)
Release Notes:

- N/A
2025-08-11 12:49:46 -04:00
Anthony Eid
7965052757
Make SwitchField component clickable from the keyboard when focused (#35830)
Release Notes:

- N/A
2025-08-11 16:33:21 +00:00
Agus Zubiaga
3085c6fad4 Checkpoint: Defining MessageContent 2025-08-11 13:22:35 -03:00
Anthony Eid
62270b33c2
git: Add ability to clone remote repositories from Zed (#35606)
This PR adds preliminary git clone support through using the new
`GitClone` action. This works with SSH connections too.

- [x] Get backend working
- [x] Add a UI to interact with this

Future follow-ups:
- Polish the UI
- Have the path select prompt say "Select Repository clone target"
instead of “Open”
- Use Zed path prompt if the user has that as a setting
- Add support for cloning from a user's GitHub repositories directly

Release Notes:

- Add the ability to clone remote git repositories through the `git:
Clone` action

---------

Co-authored-by: hpmcdona <hayden_mcdonald@brown.edu>
2025-08-11 15:09:38 +00:00
Conrad Irwin
12084b6677
Fix keys not being sent to terminal (#35979)
Fixes #35057

Release Notes:

- Fix input being sent to editor/terminal when pending keystrokes are
resolved
2025-08-11 09:07:32 -06:00
Richard Feldman
6478e66e7a
Stricter disable_ai overrides (#35977)
Settings overrides (e.g. local project settings, server settings) can no
longer change `disable_ai` to `false` if it was `true`; they can only
change it to `true`. In other words, settings can only cause AI to be
*more* disabled, they can't undo the user's preference for no AI (or the
project's requirement not to use AI).

Release Notes:

- Settings overrides (such as local project settings) can now only
override `disable_ai` to become `true`; they can no longer cause
otherwise-disabled AI to become re-enabled.

---------

Co-authored-by: Assistant <assistant@anthropic.com>
Co-authored-by: David Kleingeld <git@davidsk.dev>
2025-08-11 10:56:45 -04:00
Richard Feldman
abb64d2320
Ignore project-local settings for always_allow_tool_actions (#35976)
Now `always_allow_tool_actions` is only respected as the user's global
setting, not as an overridable project-local setting. This way, you
don't have to worry about switching into a project (or switching
branches within a project) and discovering that suddenly your tool calls
no longer require confirmation.

Release Notes:

- Removed always_allow_tool_actions from project-local settings (it is
now global-only)

Co-authored-by: David Kleingeld <git@davidsk.dev>
2025-08-11 14:09:25 +00:00