2978be9
Don't deploy git panel when opening the diff view (#25611)
Click to expand commit body
Release Notes: - N/A
Cole Miller created
2978be9
Don't deploy git panel when opening the diff view (#25611)
Release Notes: - N/A
Cole Miller created
30568e6
Add overflow menu to the git panel (#25618)
Before:  After:  Release Notes: - N/A
Nate Butler created
a5698a4
Use carriage return instead of newline symbol for single line text (#25616)
I think this is clearer in the cases where it does appear. Use of NL symbol was added in #10231 Release Notes: - N/A
Michael Sloan created
57659b5
assistant2: Fix "Open Prompt Library" button (#25612)
This PR fixes the "Open Prompt Library" button after the GPUI 3 changes. Release Notes: - N/A
Marshall Bowers created
3db18ff
lsp: Add support for dynamic registration of rename capability (#25610)
While looking at Biome LSP implementation I've noticed that they register their rename capability dynamically, which we don't handle. Release Notes: - N/A
Piotr Osiewicz created
198f56c
Fix gutter highlights not matching diff hunks near excerpt boundaries (#25600)
Release Notes: - Fixed gutter highlights not matching diff hunks in multibuffers in some cases --------- Co-authored-by: Max Brunsfeld <maxbrunsfeld@gmail.com>
Cole Miller and Max Brunsfeld created
d68d858
Fix crash in BlockMap::sync when there are inlay hints w/ newlines ri… (#25598)
Closes https://github.com/zed-industries/zed/issues/25377 Release Notes: - Fixed a crash that could happen when typing in the assistant panel with edit predictions enabled. --------- Co-authored-by: Cole Miller <m@cole-miller.net>
Max Brunsfeld and Cole Miller created
7f16629
collab: Adjust maximum spending limit check (#25596)
This is a follow-up to https://github.com/zed-industries/zed/pull/25573. We were still using the spend for a particular model when determining if the user was over their maximum monthly spend instead of looking at the usage across all models. Release Notes: - N/A
Marshall Bowers created
0066071
lsp: Query first capable language server for requests using primary LS (#25591)
Release Notes: - Improved Zed's handling of the following requests when the first language server in language server settings for a given language is not capable of handling them: - Perform Rename - Prepare Rename - Document Highlights - Find all references - Go to implementation - Go to definition - Go to declaration - Go to type definition
Piotr Osiewicz created
e5b6194
zeta: Fix update required notification not showing (#25588)
This PR fixes an issue introduced in #25530 that broke the notifications
that inform the user that a Zed update is required to continue using
edit prediction.
The issue is that the `Workspace` stored on the `Editor` is set _after_
the point we initialize Zeta, so capturing the `Workspace` at
construction time leads to it being `None`.
@ConradIrwin suggested that we could obtain the `Workspace` from the
`Window`, which does indeed do the trick.
I tested it both with and without this change by mocking the error
response, like so:
```rs
let response: Result<PredictEditsResponse, anyhow::Error> =
Err(anyhow!(ZedUpdateRequiredError {
minimum_version: SemanticVersion::new(0, 1, 0),
}));
```
Release Notes:
- N/A
Marshall Bowers created
23f61d5
Add myself (Ben Kunkle) and Smit to the mailmap (#25590)
Co-authored-by: Smit <smit@zed.dev> Release Notes: - N/A Co-authored-by: Smit <smit@ze3d.dev>
Ben Kunkle and Smit created
0559e1f
editor: Fix panic when `editor::SelectLargerSyntaxNode` overflows excerpt in multi buffer (#25585)
Closes #25513 This PR handles case when `editor::SelectLargerSyntaxNode` expands across excerpt boundaries and eventually crashes in multi buffer. Release Notes: - Fixed panic caused when `editor::SelectLargerSyntaxNode` is called repetedly in multi buffer. Co-authored-by: Ben Kunkle <ben.kunkle@gmail.com>
smit and Ben Kunkle created
014d9df
assistant_context_editor: Try to fix crash when trying to view patch (#25572)
Closes #24571 Attempts to fix crash described in #24571 based on the panic trace provided by the user. In short, the panic seemed to be caused by attempting to read an `Entity<ContextEditor>` while it was being updated. My assumption is that at some point in `workspace.add_item_to_current_pane` the `ContextEditor` is read. Therefore, I moved the workspace update outside of the ContextEditor update, and replaced another `update` call with a `read` call to clean it up and just in case that was actually the issue. Release Notes: - N/A
Ben Kunkle created
a0aea6e
bedrock: Add Claude 3.7 Sonnet (#25583)
Release Notes: - N/A
Shardul Vaidya created
278620d
Ensure emacs undo (ctrl-_) works by default in terminal on macOS (#25578)
Peter Tripp created
75dbe18
Give Zed AI users access to Claude 3.7 Sonnet (#25577)
This PR updates the client-side checks to give Zed AI users access to Claude 3.7 Sonnet. Requires https://github.com/zed-industries/zed/pull/25576 to be deployed. Release Notes: - Added support for Claude 3.7 Sonnet to Zed AI.
Marshall Bowers created
3d7ba7c
collab: Give Zed AI users access to Claude 3.7 Sonnet (#25576)
This PR updates the authorization check to give Zed AI users access to Claude 3.7 Sonnet. Release Notes: - N/A
Marshall Bowers created
eebee4a
Add `stop_at_indent` for MoveToBeginningOfLine (#25428)
Add support for `stop_at_indent` option for MoveToBeginningOfLine and SelectToBeginningOfLine instead of mixing that with `stop_at_soft_wraps`. Add emacs mapping for `alt-m` (`back-to-indentation`)
Peter Tripp created
3a3621f
collab: Limit free tier usage across all models (#25573)
This PR adjusts the usage checks for the LLM free tier. Previously we would limit the usage on a per-model basis, meaning the user would get $10/mo free for each model they had access to. We now have usage for all models count towards the free tier limit. Release Notes: - N/A
Marshall Bowers created
524e813
project_panel: Fix entry not being marked when triggered via keyboard (#25567)
This is follow-up for https://github.com/zed-industries/zed/pull/25457 If you open a project without any open buffer, focus on the project panel, navigate with arrows to a given entry, and hit space, you will mark and open the file in the buffer. This is all correct. If you then hit `escape` to clear the marked entries, nothing happens to the open buffer, and the marked styled in the project panel entry go away. This is all correct. The wrong behavior happens if you now hit space again on the active entry. That should mark it, and thus change its styles, but it doesn't happen. You just see it upon moving to a different entry with arrow up/down. Release Notes: - Fixed project panel entry not being marked when triggering open action via keyboard. Co-authored-by: Danilo Leal <daniloleal09@gmail.com>
smit and Danilo Leal created
b12b834
copilot: Add Claude 3.7 Sonnet to Copilot Chat (#25529)
- Follow-up to: https://github.com/zed-industries/zed/issues/25488 Co-authored-by: Peter Tripp <peter@zed.dev>
zhaopeng and Peter Tripp created
7075bd7
edit predictions: Disable "This Buffer" option when disabled for language (#25566)
 Release Notes: - edit prediction: Disable "This Buffer" option when predictions are disabled for its language
Agus Zubiaga created
21fc3c0
language_models: Store Bedrock credentials under `https://amazonaws.com` in the keychain (#25565)
This PR updates the Bedrock provider to store the AWS credentials under `https://amazonaws.com` in the keychain. Release Notes: - N/A
Marshall Bowers created
c90f878
diagnostics: Ensure that clean state is not shown when tab content indicates problems in workspace (#25345)
Closes #ISSUE Release Notes: - N/A *or* Added/Fixed/Improved ... --------- Co-authored-by: Nate Butler <iamnbutler@gmail.com>
Piotr Osiewicz and Nate Butler created
796e87e
project_panel: Open file in editor on paste action when single entry (#25555)
Closes #25145 Now, upon pasting a file into the project panel after a copy or cut operation, it will open in the editor. This buffer in the editor will be in focus if there is no need to rename the newly pasted file. If a rename is pending, it simply focuses on the rename editor. https://github.com/user-attachments/assets/563b22ec-d1f6-4d92-af18-29d10620832c Future: After the rename is completed, we can decide to focus on the editor buffer, but this will be addressed in a follow-up, as there will be multiple cases, such as renaming via a paste action where we want to focus, and renaming directly via a rename action where we might not want to focus. Release Notes: - Fixed scenario where pasting a file in the project panel after a copy/cut operation wouldn't automatically open it in the editor.
smit created
3a041ca
Consider triagers team when finding issues needing responses (#25554)
Release Notes: - N/A
Joseph T. Lyons created
86283f4
lsp: Fix buffer snapshots sometimes going missing (#25548)
A call to register_buffer_with_language_servers could nuke existing snapshots, even when the buffer was already registered with a server. Essentially, had we had the else branch in place, this would have been detected. Closes #ISSUE Release Notes: - Fixed Rust analyzer renames sometimes failing. (Preview only)
Piotr Osiewicz created
8e1003e
fs: Bring back copy paste again (#25543)
Closes #25317 cc @0xtimsb Release Notes: - N/A
张小白 created
8e891c1
Bring back our CI (#25545)
Closes #ISSUE Fix `The package requires the Cargo feature called edition2024, but that feature is not stabilized in this version of Cargo (1.81.0` Release Notes: - N/A
张小白 created
cea06bc
git_panel: Apply tooltip to checkbox instead of container (#25533)
Closes #ISSUE Small tweak: The tooltip was activating on the icon |Before|After| |---|---| ||| Release Notes: - N/A
5brian created
45146b6
Implement staging of partially-staged hunks (#25520)
Closes: #25475 This PR makes it possible to stage uncommitted hunks that overlap but do not coincide with an unstaged hunk. Release Notes: - Made it possible to stage hunks that are already partially staged --------- Co-authored-by: Max Brunsfeld <maxbrunsfeld@gmail.com> Co-authored-by: Max <max@zed.dev>
Cole Miller , Max Brunsfeld , and Max created
bcbb19e
Fix leaked editor (#25530)
Closes #ISSUE Release Notes: - Fixed a bug that would prevent rejoining projects sometimes
Conrad Irwin created
3f168e8
edit predictions: Invalidate cached settings and unset provider when set to `none` (#25505)
Fixes a few state mismatches when changing providers and other settings Release Notes: - edit predictions: Fix mismatch between status bar settings and editor control settings - edit predictions: Turn off as soon as `edit_prediction_provider` is set to `none` --------- Co-authored-by: Danilo <danilo@zed.dev> Co-authored-by: Danilo Leal <daniloleal09@gmail.com>
Agus Zubiaga , Danilo , and Danilo Leal created
20440f8
Attempt to not notarize so much (#25515)
https://developer.apple.com/forums/thread/718583 suggests that if you staple a dmg, then the ticket is copied along with the app when you copy it out of the dmg. Closes #ISSUE Release Notes: - N/A
Conrad Irwin created
2d63f76
Remove cmd-g for `git::Commit` (#25524)
Conflicts with `search::SelectNextMatch`
Peter Tripp created
52f73e0
vim: Refactor and fix multiline operations (#25055)
Changes:
- [x] Cursor at the start during yank operations on objects (`yip`,
`yab` etc).
- [x] Refactors this: Trim all leading and trailing whitespace from
inner multiline bracket selection.
- This leaves a nicely indented line when doing `ci{` `vi{d` etc
- [x] Checks for empty selection
- [x] Removed moving cursor to the start in visual bracket operations
This cleans up the previous implementation by providing a simpler check
in `surrounding_markers`, instead of calling a new function in
`expand_object`. No functionality was changed there except for handling
the empty selection and removing some cursor adjustments that should not
have been there after further testing.
Release Notes:
- N/A
5brian created
980e1b5
Fix missing selection range in Vim visual line mode in the assistant panel (#25133)
Closes #25132 Release Notes: - Fixed issues with `assistant: insert into editor` and `editor: copy` not inserting/copying the correct text inside of the assistant panel when selected using line-wise selection in Vim mode --------- Co-authored-by: Ben Kunkle <ben.kunkle@gmail.com>
RieN 7z and Ben Kunkle created
2ea3324
Update bug template (#25499)
Beniamin Zagan created
4edecfe
docs: Update rust-analyzer doc links (#25521)
The rust-analyzer documentation has moved to mdbook. This fixes a few of the links in the Rust documentation that point to the old manual. Release Notes: - N/A
josh rotenberg created
113c471
rust: Restore and update attribute highlighting (#25501)
#25333 added broader highlighting for identifiers, which broke the generic query for attribute queries, resulting in these being highlighted the same as identifiers. To accomodate for this change, this PR updates the attribute matches to be more specific. Additionally, path matches in scoped identifiers are no longer highlighted as attributes, as seen in the comparison screenshot. Can revert this if requested. | Zed Preview | <img width="750" alt="preview" src="https://github.com/user-attachments/assets/2cd2e830-f510-4adf-8ce9-c41ed6fb157c" /> | | --- | --- | | `main` | <img width="750" alt="main" src="https://github.com/user-attachments/assets/cbe93186-9afd-4515-bc06-e519fd4ee6af" /> | | This PR | <img width="750" alt="pr" src="https://github.com/user-attachments/assets/68270de8-e083-4fc6-a45e-25d3151acd87" /> | The generic match for `token_tree` is needed to recursively match patterns like `#[cfg(any(test, feature = "test-support"))]` (or at least I was unable to find a better query here). I tried to validate that this does not break any other highlights and I believe it does not. However, I might have still missed something. Release Notes: - N/A
Finn Evers created
10fef92
Dismiss git commit modal when it's out of focus (#25518)
Release Notes: - Fix git commit modal not being dismissed when pressing esc key or clicking outside the modal
Anthony Eid created
3ee4edc
Fix go to definition split (#24990)
Closes #24982 Release Notes: - Fix `GoToDefinitionSplit` action bug where split wouldn't happen if definition was in the same active editor --------- Co-authored-by: Dylan <dylwil3@gmail.com>
Anthony Eid and Dylan created
eda2333
assistant: Add Bedrock support (#21092)
Closes #16544 Release Notes: - Added support for AWS Bedrock to the Assistant. --------- Co-authored-by: Marshall Bowers <git@maxdeviant.com> Co-authored-by: Anthony <anthony@zed.dev> Co-authored-by: Anthony Eid <hello@anthonyeid.me>
Shardul Vaidya , Marshall Bowers , Anthony , and Anthony Eid created
17a483c
Make generate-licenses scripts pass shellcheck (#25516)
Release Notes: - N/A
Michael Sloan created
7b277d2
Fix run indicators jumping when buffer content changes. (#25507)
Co-authored-by: Anthony Eid <hello@anthonyeid.me> Release Notes: - Fix run indicators jumping when content changes --------- Co-authored-by: Anthony Eid <hello@anthonyeid.me>
Conrad Irwin and Anthony Eid created
63cfcc2
Fix jumping to multibuffer excerpts from deleted hunks (#25512)
Co-authored-by: Anthony Eid <hello@anthonyeid.me> Release Notes: - N/A Co-authored-by: Anthony Eid <hello@anthonyeid.me>
Conrad Irwin and Anthony Eid created
53a5145
Fix performance of GitPanel::update_visible_entries (#25504)
Co-authored-by: Anthony Eid <hello@anthonyeid.me> Closes #19022 Release Notes: - Fixes pessimal performance with the new git panel when a very large number of files are untracked Co-authored-by: Anthony Eid <hello@anthonyeid.me>
Conrad Irwin and Anthony Eid created
def342e
Remove dependents of `language_models` (#25511)
This PR removes the dependents of the `language_models` crate. The following types have been moved from `language_models` to `language_model` to facilitate this: - `LlmApiToken` - `RefreshLlmTokenListener` - `MaxMonthlySpendReachedError` - `PaymentRequiredError` With this change only `zed` now depends on `language_models`. Release Notes: - N/A
Marshall Bowers created
bbb8d63
vim: Register backquote object (#25502)
Closes #25496 Release Notes: - vim: Fixed operations on backtick quotes
5brian created
e5b97a5
Move `report_assistant_event` into `language_model` crate (#25508)
This PR moves the `report_assistant_event` function from the `language_models` crate to the `language_model` crate. This allows us to drop some dependencies on `language_models`. Release Notes: - N/A
Marshall Bowers created