d216244
python: Fix venv activation in remote projects (#36043)
Click to expand commit body
Crux of the issue was that we were checking whether a venv activation
script exists on local filesystem, which is obviously wrong for remote
projects. This PR also does away with `source` for venv activation in
favor of `.`, which is compliant with `sh`
Co-authored-by: Lukas Wirth <lukas@zed.dev>
Closes #34648
Release Notes:
- Python: fixed activation of virtual environments in terminals for
remote projects
Co-authored-by: Lukas Wirth <lukas@zed.dev>
Piotr Osiewicz
and
Lukas Wirth
created
360d4db
python: Fix flickering in the status bar (#36039)
Click to expand commit body
- **util: Have maybe! use async closures instead of async blocks**
- **python: Fix flickering of virtual environment indicator in status
bar**
Closes #30723
Release Notes:
- Python: Fixed flickering of the status bar virtual environment
indicator
---------
Co-authored-by: Lukas Wirth <lukas@zed.dev>
Piotr Osiewicz
and
Lukas Wirth
created
4495337
Include mention context in acp-based native agent (#36006)
Click to expand commit body
Also adds data-layer support for symbols, thread, and rules.
Release Notes:
- N/A
---------
Co-authored-by: Cole Miller <cole@zed.dev>
We still need a profile selector.
Release Notes:
- N/A
---------
Co-authored-by: Ben Brandt <benjamin.j.brandt@gmail.com>
Antonio Scandurra
and
Ben Brandt
created
13bf45d
python: Fix toolchain serialization not working with multiple venvs in a single worktree (#36035)
Click to expand commit body
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>
Piotr Osiewicz
and
Lukas Wirth
created
b61b714
go: Add support for running sub-tests in table tests (#35657)
Click to expand commit body
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.
Lukas Spiss
created
cc5eb24
zeta: Add latency telemetry for 1% of edit predictions (#36020)
Closes #17292
Release Notes:
- vim: Added ctrl-y/ctrl-e in insert mode to copy the next character
from the line above or below
Conrad Irwin
created
1a79883
Fix running vim tests with --features neovim (#36014)
Click to expand commit body
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
Conrad Irwin
created
481e3e5
Ignore capability registrations with empty capabilities (#36000)
Kirill Bulatov
created
b35e696
docs: Add a missing comma in Rust debugging JSON (#36007)
Click to expand commit body
Update the Rust debugging doc to include a missing comma in one of the
example JSON's.
Matt
created
add67bd
Remove unnecessary argument from Vim#update_editor (#36001)
Click to expand commit body
Release Notes:
- N/A
Conrad Irwin
created
fa3d0aa
gpui: Allow selection of "Services" menu independent of menu title (#34115)
Click to expand commit body
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>
Closes #35980
Release Notes:
- Fixed Python Debug sessions not starting up when a session is started
up for the first time.
Piotr Osiewicz
created
42bf5a1
Delay rendering tool call diff editor until it has a revealed range (#35901)
Click to expand commit body
Release Notes:
- N/A
Cole Miller
created
7965052
Make SwitchField component clickable from the keyboard when focused (#35830)
Click to expand commit body
Release Notes:
- N/A
Anthony Eid
created
62270b3
git: Add ability to clone remote repositories from Zed (#35606)
Click to expand commit body
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>
Anthony Eid
and
hpmcdona
created
12084b6
Fix keys not being sent to terminal (#35979)
Click to expand commit body
Fixes #35057
Release Notes:
- Fix input being sent to editor/terminal when pending keystrokes are
resolved
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>
Richard Feldman
,
Assistant
, and
David Kleingeld
created
abb64d2
Ignore project-local settings for always_allow_tool_actions (#35976)
Click to expand commit body
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>
Richard Feldman
and
David Kleingeld
created
8dbded4
agent2: Add now, grep, and web search tools (#35974)
Click to expand commit body
Release Notes:
- N/A
---------
Co-authored-by: Bennet Bo Fenner <bennetbo@gmx.de>
Co-authored-by: Antonio Scandurra <me@as-cii.com>
Ben Brandt
,
Bennet Bo Fenner
, and
Antonio Scandurra
created
1. Don't send diagnostics if there are more than 10 of them. This fixes
an issue with sending 100kb requests for projects with many warnings.
2. Don't send speculated_output and outline, as those are currently
unused.
Release Notes:
- Improved edit prediction latency
Oleksiy Syvokon
created
a88c533
language: Fix rust-analyzer removing itself on download (#35971)
Release Notes:
- N/A
---------
Co-authored-by: Ben Brandt <benjamin.j.brandt@gmail.com>
Antonio Scandurra
and
Ben Brandt
created
422e0a2
project: Add more dynamic capability registrations for LSP (#35306)
Click to expand commit body
Closes #34204
Adds the ability to dynamically register and unregister code actions for
language servers such as Biome.
See more:
https://github.com/zed-industries/zed/issues/34204#issuecomment-3134227856
Release Notes:
- Fixed an issue where the Biome formatter was always used even when
`require_config_file` was set to true and the project had no config
file.
---------
Co-authored-by: Kirill Bulatov <kirill@zed.dev>
smit
and
Kirill Bulatov
created
e132c7c
dap_adapters: Log CodeLldb version fetching errors (#35943)
Click to expand commit body
Release Notes:
- N/A
Lukas Wirth
created
8d332da
languages: Don't remove old artifacts on download failure (#35967)
Click to expand commit body
Release Notes:
- N/A
Lukas Wirth
created
c82cd0c
docs: Clarify storage of AI API keys (#35963)
Click to expand commit body
Previous docs was inaccurate as Zed doesn't store LLM API keys in the
`settings.json`.
Release Notes:
- N/A
Danilo Leal
created
308cb9e
Pull action_log into its own crate (#35959)
Click to expand commit body
Release Notes:
- N/A
Ben Brandt
created
7276179
Fix SHA-256 verification mismatch when downloading language servers (#35953)
Click to expand commit body
Closes #35642
Release Notes:
- Fixed: when the expected digest included a "sha256:" prefix while the
computed
digest has no prefix.
Follow-up of https://github.com/zed-industries/zed/pull/35955
Release Notes:
- N/A
Co-authored-by: Piotr Osiewicz <piotr@zed.dev>
Kirill Bulatov
and
Piotr Osiewicz
created
f3d6deb
debugger: Add refinements to the UI (#35940)
Click to expand commit body
Took a little bit of time to add just a handful of small tweaks to the
debugger UI so it looks slightly more polished. This PR includes
adjustments to size, focus styles, and more in icon buttons, overall
spacing nudges in each section pane, making tooltip labels title case
(for overall consistency), and some icon SVG iteration.
Release Notes:
- N/A
Danilo Leal
created
95e302f
Properly use `static` instead of `const` for global types that need a single init (#35955)
Click to expand commit body
Release Notes:
- N/A
Kirill Bulatov
created
9cd5c36
util: Fix crate name extraction for `log_error_with_caller` (#35944)
Click to expand commit body
The paths can be absolute, meaning they would just log the initial
segment of where the repo was cloned.
Release Notes:
- N/A
Follow up to https://github.com/zed-industries/zed/pull/35856.
Release Notes:
- N/A
Danilo Leal
created
daa53f2
Revert "Revert "chore: Bump Rust to 1.89 (#35788)"" (#35937)
Click to expand commit body
Reverts zed-industries/zed#35843
Docker image for 1.89 is now up.
Piotr Osiewicz
created
5901aec
agent2: Remove model param from Thread::send method (#35936)
Click to expand commit body
It instead uses the currently selected model
Release Notes:
- N/A
Ben Brandt
created
ce39644
language_models: Add thinking to Mistral Provider (#32476)
Click to expand commit body
Tested prompt:
John is one of 4 children. The first sister is 4 years old. Next year,
the second sister will be twice as old as the first sister. The third
sister is two years older than the second sister. The third sister is
half the age of her older brother. How old is John? Return your thinking
inside <think></think>
Release Notes:
- Add thinking to Mistral Provider
---------
Signed-off-by: Umesh Yadav <git@umesh.dev>
Co-authored-by: Peter Tripp <peter@zed.dev>
Umesh Yadav
and
Peter Tripp
created
021681d
Don't generate crash reports on the Dev channel (#35915)
Click to expand commit body
We only want minidumps to be generated on actual release builds. Now we
avoid spawning crash handler processes for dev builds. To test
minidumping you can still set the `ZED_GENERATE_MINIDUMPS` env var which
force-enable the feature.
Release Notes:
- N/A
None of this is new info, we're just pulling more things out of the
panic message to send with the minidump. We do want to add more fields
like gpu version which will come in a subsequent change.
Release Notes:
- N/A