5112fce
evals: Make LLMs configurable in edit_agent evals (#30813)
Click to expand commit body
Release Notes: - N/A
Oleksiy Syvokon created
5112fce
evals: Make LLMs configurable in edit_agent evals (#30813)
Release Notes: - N/A
Oleksiy Syvokon created
dcf7f71
Revert "Revert "python: Enable subroot detection for pylsp and pyright (#27364)" (#29658)" (#30810)
Revert "Revert "python: Enable subroot detection for pylsp and pyright (#27364)" (#29658)" This reverts commit 59708ef56c569737db3876e6073b9657c6d25c03. Closes #29699 Release Notes: - N/A
Ben Kunkle created
16f668b
editor: Add astrick on new line in multiline comment for Go, Rust, C, and C++ (#30808)
Add asterisk on new line in multiline comments for Go, Rust, C, and C++. While `*` is entirely for style. There's no actual need for it. It can be disabled from setting. More: https://doc.rust-lang.org/rust-by-example/hello/comment.html <img width="491" alt="image" src="https://github.com/user-attachments/assets/385b1eb5-be81-446c-b7cf-34165d6b384a" /> Release Notes: - Added automatic asterisk insertion for new lines in multiline comments for Go, Rust, C, and C++. This can be disable by setting `extend_comment_on_newline` to `false`.
Smit Barmase created
0f4e52b
agent: Ensure background color is the same even while zoomed in (#30804)
Release Notes: - agent: Fixed the background color of the agent panel changing if you zoomed it in.
Danilo Leal created
dfe37b0
agent: Make Markdown codeblocks expanded by default (#30806)
Release Notes: - N/A
Danilo Leal created
2da3798
fix bedrock name in assistant settings schema (#30805)
Closes #30778 Release Notes: - Fixed an issue with the assistant settings where `amazon-bedrock` was incorrectly called `bedrock` in the settings schema
Ben Kunkle created
05955e4
keymap: Move 'project_panel::NewSearchInDirectory' to a dedicated bind (#29681)
Previously cmd-shift-f / ctrl-shift-f had different behavior when invoked from the project panel context than from an editor (for project panel `include` field was populated from the currently select project panel directory). Change this so that it has it's own keybind of cmd-alt-shift-f / ctrl-alt-shift-f so cmd-shift-f and ctrl-shift-f has consistent behavior (`pane::DeploySearch`) everywhere. Release Notes: - Add dedicated keybind for "Find in Folder..." from the project panel (cmd-alt-shift-f, ctrl-alt-shift-f).
Peter Tripp created
1d043b3
askpass: Workaround rust lang 69343 (#30774)
Closes #ISSUE Work around https://github.com/rust-lang/rust/issues/69343 in askpass Release Notes: - linux: Fixed an issue with askpass where the Zed binary path would be incorrect after an auto-update is installed but not yet applied
Ben Kunkle created
18d39e3
editor: Improve JSDoc extend comment on newline to follow convention (#30800)
Follow up for https://github.com/zed-industries/zed/pull/30768 This PR makes JSDoc auto comment on new line lot better by: - Inserting delimiters regardless of whether previous delimiters have trailing spaces or not - When on start tag, auto-indenting both prefix and end tag upon new line This makes it correct as per convention out of the box. No need to manually adjust spaces on every new line. https://github.com/user-attachments/assets/81b8e05a-fe8a-4459-9e90-c8a3d70a51a2 Release Notes: - Improved JSDoc auto-commenting on newline which now correctly indents as per convention.
Smit Barmase created
cc3a28a
agent: Fix unnecessary "tool result too long" (#30798)
Release Notes: - N/A
Oleksiy Syvokon created
0f17e82
chore: Bump Rust to 1.87 (#30739)
Closes #ISSUE Release Notes: - N/A
Piotr Osiewicz created
a316428
docs: Update Claude 3.5 Sonnet context window (#30518)
Release Notes: - N/A --------- Co-authored-by: Danilo Leal <daniloleal09@gmail.com>
morgankrey and Danilo Leal created
3552669
extension: Update wasi preview adapter (#30759)
Replace dynamic downloading of WASI adapter with the provided crate. More importantly, this makes sure we are using the same adapter version as our version of wasmtime, which includes several fixes. Arguably we could also at this point update to wasm32-wasip2 target and remove this dependency as well if we want, but that might need further testing. Release Notes: - N/A
Ben Brandt created
72007c9
docs: Polish AI content (#30770)
Release Notes: - N/A
Danilo Leal created
c2feffa
editor: Add prefix on newline in documentation block (e.g. JSDoc) (#30768)
Closes #8973 - [x] Tests https://github.com/user-attachments/assets/7fc6608f-1c11-4c70-a69b-34bfa8f789a2 Release Notes: - Added auto-insertion of asterisk (*) prefix when creating new lines within JSDoc comment blocks.
Smit Barmase created
4b7b5db
windows: Remove unnecessay helper function (#30764)
Release Notes: - N/A
张小白 created
58ba833
windows: Fix keystroke (#30753)
Closes #22656 Part of #29144, this PR completely rewrites the key handling logic on Windows, making it much more consistent with how things work on macOS. However, one remaining issue is that on Windows, we should be using `Ctrl+Shift+4` instead of `Ctrl+$`. That part is expected to be addressed in #29144. Release Notes: - N/A
张小白 created
f021b40
Fix command casing in issue templates (#30761)
Release Notes: - N/A
Joseph T. Lyons created
47f6d4e
Fix rejecting overwritten files if the agent previously edited them (#30744)
Release Notes: - Fixed rejecting overwritten files if the agent had previously edited them.
Antonio Scandurra created
e60f029
agent: Add adjustments to settings view (#30743)
- Make provider blocks collapsed by default - Fix sections growing unnecessarily when there's available space Release Notes: - N/A
Danilo Leal created
d7b5c61
ui_macros: Remove unused module (#30741)
This PR removes an unused module from the `ui_macros` crate. Release Notes: - N/A
Marshall Bowers created
23d42e3
agent: Use `inventory` for `AgentPreview` (#30740)
This PR updates the `AgentPreview` to use `inventory` instead of `linkme`. Release Notes: - N/A
Marshall Bowers created
b2fc406
gpui: Avoid dereferencing null pointer (#30579)
as [comments](https://github.com/zed-industries/zed/pull/24545#issuecomment-2872833658), I really don't known why, But IMO, add this code is not harm. If you think this is not necessary, can close. Release Notes: - N/A
CharlesChen0823 created
bba3db9
docs: Add minimap configuration section (#30724)
This PR adds some documentation about the minimap to the official docs. **Please note:** The [current preview release notes](https://zed.dev/releases/preview/0.187.0) refer to the minimap PR for configuration options. However, `font_size` and `width` were removed as settings after some discussion but are still referenced in the PR description, which might be misleading. On the other hand, some of the available configuration options are not listed in the PR description. It might be better to refer to the docs or the default settings in order to avoid confusion. Release Notes: - N/A
Finn Evers created
5078f0b
client: Remove extra clone, pass big struct by reference (#30716)
Commit titles explain all of the changes Release Notes: - N/A
tidely created
607bfd3
component: Replace `linkme` with `inventory` (#30705)
This PR replaces the use of `linkme` with `inventory` for the component preview registration. Release Notes: - N/A
Marshall Bowers created
87cb498
debugger: Make the stack frame list and module list keyboard-navigable (#30682)
- Switch stack frame list and module list to `UniformList` to access scrolling behavior - Implement `menu::` navigation actions Release Notes: - Debugger Beta: Added support for menu navigation actions (`ctrl-n`, `ctrl-p`, etc.) in the stack frame list and module list.
Cole Miller created
6420df3
eval: Count execution errors as failures (#30712)
- Evals returning an error (e.g., LLM API format mismatch) were silently skipped in the aggregated results. Now we count them as a failure (0% success score). - Setting the `VERBOSE` environment variable to something non-empty disables string truncation Release Notes: - N/A
Oleksiy Syvokon created
83498eb
Improve error message around failing to install dev extensions (#30711)
Closes #ISSUE Release Notes: - N/A *or* Added/Fixed/Improved ...
Ben Kunkle created
1fb1fec
rust: Add injection for leptos view macro (#30710)
Closes #ISSUE Release Notes: - N/A *or* Added/Fixed/Improved ...
Ben Kunkle created
bc99a86
Reduce allocations (#30693)
Removes a unnecessary string conversion and some clones Release Notes: - N/A
tidely created
fcfe4e2
Reuse existing language servers for invisible worktrees (#30707)
Closes https://github.com/zed-industries/zed/issues/20767 Before: https://github.com/user-attachments/assets/6438eb26-796a-4586-9b20-f49d9a133624 After: https://github.com/user-attachments/assets/b3fc2f8b-2873-443f-8d80-ab4a35cf0c09 Release Notes: - Fixed external files spawning extra language servers
Kirill Bulatov created
ef51197
Add a separator before Quit in the application menu (#30697)
macOS applications should have a separator between “Show All” and “Quit” in the application menu.
Rob McBroom created
c80aaca
zed_extension_api: Format `dap.wit` (#30701)
This PR formats the `dap.wit` file. Release Notes: - N/A
Marshall Bowers created
234d6ce
agent: Fix Markdown codeblock header buttons (#30645)
Closes https://github.com/zed-industries/zed/issues/30592 Release Notes: - agent: Fixed Markdown codeblock header buttons being pushed by long paths/file names.
Danilo Leal created
96a0568
Add setting to disable the sign in button (#30450)
Designed to pair with #30444 to enable enterprises to make it harder to sign into the collab server and perhaps accidentally end up sending code to Zed. Release Notes: - N/A Co-authored-by: Mikayla Maki <mikayla@zed.dev>
Tristan Hume and Mikayla Maki created
b6828e5
agent: Don't duplicate recommended models in all models list (#30692)
Release Notes: - N/A
Oleksiy Syvokon created
78d3ce4
editor: Handle more completion sort cases (#30690)
Adds 3 more test cases where local variable should be preferred over method, and local method over library methods. Before / After: <img height="280" alt="before-rust" src="https://github.com/user-attachments/assets/72b34ce8-89ff-4c2b-87dc-9e63f855d31e" /> <img height="280" alt="after-rust" src="https://github.com/user-attachments/assets/8e23c9ca-576c-4dc5-8946-fa37554a19e0" /> Before / After: <img height="280" alt="before-react" src="https://github.com/user-attachments/assets/f7070413-e397-441a-a0c1-16d8ce25aa12" /> <img height="280" alt="after-react" src="https://github.com/user-attachments/assets/7a095954-7844-4a3e-bf59-5420b7ffdb03" /> Release Notes: - N/A
Smit Barmase created
d01559f
Add setting for enabling/disabling feedback (#30448)
This is useful for enterprises, especially in combination with #30444, to ensure code never gets sent to Zed. Release Notes: - N/A
Tristan Hume created
645f662
workspace: Remove default keybindings for close active dock (#30691)
Release Notes: - N/A
Ben Brandt created
d42cb11
agent: Fix tool use in Gemini (#30689)
Thread doesn't run pending tools when `stop_reason` is not `ToolUse`. Perhaps we should change that so that it always runs pending tools if there are some, but for now this change just fixes setting `stop_reason` for Google models. Release Notes: - N/A
Oleksiy Syvokon created
dce6e96
debugger: Tidy up dropdown menus (#30679)
Before  After  Release Notes: - N/A
Nate Butler created
4280bff
Reapply "ui: Account for padding of parent container during scrollbar layout" (#30577)
This PR reapplies #27402 which was reverted in https://github.com/zed-industries/zed/pull/30544 due to the issue @ConradIrwin reported in https://github.com/zed-industries/zed/pull/27402#issuecomment-2871745132. The reported issue is already present on main but not visible, see https://github.com/zed-industries/zed/pull/27402#issuecomment-2872546903 for more context and reproduction steps. The fix here was to move the padding for the hover popover up to the parent container. This does not fix the underlying problem but serves as workaround without any disadvantages until a better solution is found. I would currently guess that the underlying issue might be related to some rem-size calculations for small font sizes or something similar (e.g. https://github.com/zed-industries/zed/pull/22732 could possibly be somewhat related). Notably, the fix here does not cause any difference in layouting (the following screenshots are actually distinct images), yet fixes the problem at hand. ### Default font size (`15px`) | `main` | This PR | | --- | --- | |  | | ### Smaller font size (`12px`) | `main` | This PR | | --- | --- | |  |  | Furthermore, for the second scenario, the popover would be scrollable on main. As there is no scrollbar in the second image for this PR, this no longer happens with this branch. Release Notes: - N/A
Finn Evers created
ea5b289
docs: Fix up some invalid JSON in OpenAI configuration example (#30663)
Thomas David Baker created
0950333
project_settings: Fix default settings values for `DiagnosticsSettings` (#30686)
Follow-up to #30565
This PR fixes the default settings values for the `DiagnosticsSettings`.
The issue here was that due to the `#[derive(Default)]`, `button` would
be false by default, which unintentionally hid the diagnostics button by
default. The `#[serde(default = `default_true`)]` would only apply iff
the diagnostics key was already present in the user's settings. Thus, if
you have
```json
{
"diagnostics": {...}
}
```
in your settings, the button would show (given it was not disabled).
However, if the key was not present, the button was not shown: Due to
the derived default for the entire struct, the value would be false.
This PR fixes this by implementing the default instead and moving the
`#[serde(default)]` up to the level of the struct.
I also did the same for the inline diagnostics settings, which already
had a default impl and thus only needed the serde default on the struct
instead of on all the struct fields.
Lastly, I simplified the title bar settings, since the serde attributes
previously had no effect anyway (deserialization happened in the
`TitlebarSettingsContent`, so these attributes had no effect) and we can
remove the `TitlebarSettingsContent` as well as the attributes if we
implement a proper default implementation instead.
Release Notes:
- Fixed the diagnostics status bar button being hidden by default.
Finn Evers created
775370f
Bump Zed to v0.188 (#30685)
Release Notes: -N/A
Joseph T. Lyons created
1077f27
debugger: Fix launch picker program arg not using relative paths (#30680)
Release Notes: - N/A
Anthony Eid created
f4eea0d
debugger: Fix panics when debugging with inline values or confirming in console (#30677)
The first panic was caused by an unwrap that assumed a file would always have a root syntax node. The second was caused by a double lease panic when clicking enter in the debug console while there was a completion menu open Release Notes: - N/A
Anthony Eid created
ed361ff
Rename debug: commands to dev: (#30675)
Closes #ISSUE Release Notes: - Breaking change: The actions used while developing Zed have been renamed from `debug:` to `dev:` to avoid confusion with the new debugger feature: - - `dev::OpenDebugAdapterLogs` - - `dev::OpenSyntaxTreeView` - - `dev::OpenThemePreview` - - `dev::OpenLanguageServerLogs` - - `dev::OpenKeyContextView`
Conrad Irwin created
7f9a365
docs: Fix shfmt github url (#30667)
Closes #30661 Release Notes: - N/A
Umesh Yadav created