66302a4
Add a note about possible future removal of the unique theme colors hack
Michael Sloan created
66302a4
Add a note about possible future removal of the unique theme colors hack
Michael Sloan created
5495885
Skip FieldAccessByEnum doc code in doc tests
Michael Sloan created
5b0af08
Merge branch 'main' into inspect-named-colors
Michael Sloan created
46d19d8
helix: Fix helix-paste mode in line mode (#38663)
In particular, * if the selection ends at the beginning of the next line, and the current line under the cursor is empty, we paste at the selection's end. * if however the current line under the cursor is empty, we need to move to the beginning of the next line to avoid pasting above the end of current selection In addition, in line mode, we always move the cursor to the end of the inserted text. Otherwise, while it looks fine visually, inserting/appending ends up in the next logical line which is not desirable. Release Notes: - N/A
Jakub Konka created
1d0c89e
Trailing instead of leading newline in guessed rust code
Michael Sloan created
e484f49
language_models: Treat a `block_reason` from Gemini as a refusal (#38670)
This PR updates the Gemini provider to treat a `prompt_feedback.block_reason` as a refusal, as Gemini does not seem to return a `stop_reason` to use in this case. <img width="639" height="162" alt="Screenshot 2025-09-22 at 4 23 15 PM" src="https://github.com/user-attachments/assets/7a86d67e-06c1-49ea-b58f-fa80666f0f8c" /> Previously this would just result in no feedback to the user. Release Notes: - Added an error message when a Gemini response contains a `block_reason`.
Marshall Bowers created
80dcabe
perf: Better docs, internal refactors (#38664)
Release Notes: - N/A
Nia created
68d7953
Fix clippy warning now that util_macros is always used
Michael Sloan created
e602cfa
Restore user-defined ordering of profiles (#38665)
This PR fixes a regression where settings profiles were no longer ordered in the same order that the user defined in their settings. Release Notes: - N/A
Joseph T. Lyons created
d4adb51
languages: Update package.json and tsconfig.json schemas (#38655)
Closes: https://github.com/zed-industries/zed/issues/34382 - Add support for `tsconfig.*.json` not just `tsconfig.json`. - Updated JSON schemas to [SchemaStore/schemastore@281aa4a](https://github.com/SchemaStore/schemastore/tree/281aa4aa4ac21385814423f86a54d1b8ccfc17a1) (2025-09-21) - [tsconfig.json](https://github.com/SchemaStore/schemastore/commits/master/src/schemas/json/tsconfig.json) @ [281aa4a](https://raw.githubusercontent.com/SchemaStore/schemastore/281aa4aa4ac21385814423f86a54d1b8ccfc17a1/src/schemas/json/tsconfig.json) - [package.json](https://github.com/SchemaStore/schemastore/commits/master/src/schemas/json/package.json) @ [281aa4a](https://raw.githubusercontent.com/SchemaStore/schemastore/281aa4aa4ac21385814423f86a54d1b8ccfc17a1/src/schemas/json/package.json) See also: - [discord thread](https://discord.com/channels/869392257814519848/1419298937290096760) - https://github.com/zed-industries/zed/issues/21994#issuecomment-3319321308 Release Notes: - Updated package.json and tsconfig.json schemas to newest release (2025-09-21). Match `tsconfig.*.json` too.
Peter Tripp created
a0514af
editor: Make buffer search bar capture CopyPath & CopyRelativePath actions (#38645)
Closes #38495 Cause: - When the Find input is focused, CopyPath/CopyRelativePath were handled by the editor and stopped during the bubble phase, preventing BufferSearchBar from relaying to the file-backed editor. Release Notes: - Fixes “Workspace: Copy Relative Path” not copying while the Find bar is focused.
Miao created
c88fdaf
Implement Markdown link embedding on paste (#38639)
This PR adds automatic markdown URL embedding on paste when you are in text associated with the Markdown language and you have a valid URL in your clipboard. This the default behavior in VS Code and GitHub, when pasting a URL in Markdown. It works in both singleton buffers and multi buffers. One thing that is a bit unfortunate is that, previously, `do_paste` use to simply call `Editor::insert()`, in the case of pasting content that was copied from an external application, and now, we are duplicating some of `insert()`'s logic in place, in order to have control over transforming the edits before they are inserted. Release Notes: - Added automatic Markdown URL embedding on paste. --------- Co-authored-by: Cole Miller <53574922+cole-miller@users.noreply.github.com>
Joseph T. Lyons and Cole Miller created
003163e
Move my keybinding fixes to the right platform (#38654)
In cffb883108ec07ec2f51446cb35eac19b89e625f I put the fixed keybindings on the wrong platform Release Notes: - Fix syntax node shortcuts
Conrad Irwin created
9e64b7b
terminal: Escape args in alacritty on Windows (#38650)
Release Notes: - N/A
Jakub Konka created
d4fd59f
vim: Add support for `<count>gt` and `<count>gT` (#38570)
Vim mode currently supports `gt` (go to next tab) and `gT` (go to previous tab) but not with count. Implement the expected behavior as defined by vim: - `<count>gt` moves to tab `<count>` - `<count>gT` moves to previous tab `<count>` times (with wraparound) Release Notes: - Improved vim `gt` and `gT` to support count, e.g. `5gt` - go to tab 5, `8gT` - go to 8th previous tab with wraparound.
Ran Benita created
4e6e424
acp: Support model selection for ACP agents (#38652)
It requires the agent to implement the (still unstable) model selection API. Will allow us to test it out before stabilizing. Release Notes: - N/A
Ben Brandt created
dccbb47
Use a consistent default for window scaling (#38527)
(And make it 2, because most macs have retina screens) Release Notes: - N/A
Conrad Irwin created
b97843e
Add quick "Edit debug.json" button to debugger control strip (#38600)
This button already exists in the main menu, as well as the "New Session" view in the debugger panel. However, this view disappears after starting the debugging session. This PR adds the same button to the debugger control strip that remains accessible. This is convenient for people editing their debug.json frequently. Site-node: I feel like the `Cog` icon would be more appropriate, but I picked `Code` to stay consistent with the "New Session" view. Before: <img width="194" height="118" alt="image" src="https://github.com/user-attachments/assets/5b42a8a4-f48f-4145-a425-53365dd785ca" /> After: <img width="194" height="118" alt="image" src="https://github.com/user-attachments/assets/12f56ea1-150b-4564-8e6a-da4671f52079" /> Release Notes: - Added "Edit debug.json" button to debugger control strip
Ilija Tovilo created
fbe0623
cli: Refactor URL prefix checks (#38375)
use slice apply to prefix. Release Notes: - N/A --------- Signed-off-by: Xiaobo Liu <cppcoffee@gmail.com>
Xiaobo Liu created
e0028fb
git_ui: Remove duplicated/unused tooltips (#38439)
Release Notes: - N/A
Bartosz Kaszubowski created
1bbf98a
Fix arrow function detection in TypeScript/JavaScript outline (#38411)
Closes #35102 https://github.com/user-attachments/assets/3c946d6c-0acd-4cfe-8cb3-61eb6d20f808 Release Notes: - TypeScript/JavaScript: symbol outline now includes closures nested within functions.
strygwyr created
8bac1be
Disable subpixel shifting for y axis on Windows (#38440)
Release Notes: - N/A --------- Co-authored-by: Jakub Konka <kubkon@jakubkonka.com>
localcc and Jakub Konka created
55dc9ff
text: Implement `Rope::clip_offset` in terms of the new utf8 boundary methods (#38630)
Release Notes: - N/A
Lukas Wirth created
50bd8bc
docs: Add instructions for setting up `fish_indent` for fish (#38414)
Release Notes: - N/A
Justin Su created
a2c71d3
text: Assert text anchor offset validity on construction (#38441)
Attempt to aid debugging some utf8 indexing issues Release Notes: - N/A Co-authored-by: Mikayla Maki <mikayla@zed.dev>
Lukas Wirth and Mikayla Maki created
7962045
Docs: change format_on_save value from false to "off" (#38615)
Found this outdated piece of information in the docs while trying to disable it myself, this PR simply changes `false` to `"off"`. Release Notes: - N/A
Matheus created
271771c
editor: Prevent non‑boundary highlight indices in UTF‑8 (#38510)
Closes #38359 Release Notes: - Use byte offsets for highlights; fix UTF‑8 crash
Miao created
891a06c
docs: Small grammar fix to use a possessive pronoun (#38610)
> Your extension can define it's own debug locators > Your extension can define it is own debug locators The sentence above does not make sense after expanding "it's". We should instead be using the possessive "its" in this scenario. Release Notes: - N/A Signed-off-by: Remy Suen <remy.suen@docker.com>
Remy Suen created
d4bee57
Cleanup FieldAccessByEnum
Michael Sloan created
11041ef
perf: Greatly expand profiler (#38584)
Expands on #38543 (notably allows setting importance categories and weights on tests, and a lot of internal refactoring) because I couldn't help myself. Also allows exporting runs to json and comparing across them. See code for docs. Release Notes: - N/A
Nia created
0b09b27
Color provenance hack via f32 next_up / next_down
Michael Sloan created
fbe43d5
Remove unnecessary portions of rust style code
Michael Sloan created
746aacb
Use color names from theme in inspector rust code
Michael Sloan created
1e9c902
Add StatusColorField enum and ability to set fields via enum
Michael Sloan created
839c216
terminal: Re-add sanitizing trailing periods in URL detection (#38569)
I accidentally regressed this when bumping alacritty in https://github.com/zed-industries/zed/pull/38505 cc @davewa Release Notes: - N/A
Jakub Konka created
18df6a8
acp: Fix spawning login task (#38567)
Reverts #38175, which is not correct, since in fact we do need to pre-quote the command and arguments for the shell when using `SpawnInTerminal` (although we should probably change the API so that this isn't necessary). Then, applies the same fix as #38565 to fix the root cause of being unable to spawn the login task on macOS, or in any case where the command/args contain spaces. Release Notes: - Fixed being unable to login with Claude Code or Gemini using the terminal.
Cole Miller created
f5c2e4b
vim: Remove duplicate bracket pair (#38560)
remove depulicate code, this same with line: 556-562 Release Notes: - N/A
CharlesChen0823 created
1d1bbf0
docs: Mention `herb` LSP for Ruby language (#38351)
Hi! This pull request mentions [the `herb` LSP](https://herb-tools.dev) for `HTML/ERB` language that the Ruby extension supports. Thanks! Release Notes: - N/A --------- Co-authored-by: Finn Evers <finn.evers@outlook.de>
Vitaly Slobodin and Finn Evers created
ffa23d2
Fix formatting in workspace `Cargo.toml` (#38563)
This PR fixes some formatting issues in the workspace `Cargo.toml`. Release Notes: - N/A
Marshall Bowers created
7820586
tests: Add an automatic perf profiler (#38543)
Add an auto-profiler for our tests, to hopefully allow better triage of performance impacts resulting from code changes. Comprehensive usage docs are in the code. Currently, it uses hyperfine under the hood and prints markdown to the command line for all crates with relevant tests enabled. We may want to expand this to allow outputting json in the future to allow e.g. automatically comparing the difference between two runs on different commits, and in general a lot of functionality could be added (maybe measuring memory usage?). It's enabled (mostly as an example) on two tests inside `gpui` and a bunch of those inside `vim`. I'd have happily used `cargo bench`, but that's nightly-only. Release Notes: - N/A
Nia created
be77682
editor: Fix adding extraneous closing tags within TSX (#38534)
Smit Barmase created
8df616e
Suppress the 'Agent Thread Started' event when initializing the panel (#38535)
Release Notes: - N/A
Mikayla Maki created
89520ea
chore: Bump alacritty_terminal to 0.25.1-rc1 (#38505)
Release Notes: - N/A --------- Co-authored-by: Dave Waggoner <waggoner.dave@gmail.com>
Jakub Konka and Dave Waggoner created
de75e2d
extension_host: Expand supported extension API range to include v0.7.0 (#38529)
This PR updates the version range for v0.6.0 of the extension API to include v0.7.0. Since we bumped the `zed_extension_api` crate's version to v0.7.0, we need to expand this range in order for Zed clients to be able to install extensions built against v0.7.0 of `zed_extension_api`. Currently no extensions that target `zed_extension_api@0.7.0` can be installed. Release Notes: - N/A
Marshall Bowers created
4e316c6
macos: Fix panic when `NSWindow::screen` returns `nil` (#38524)
Closes #ISSUE Release Notes: - mac: Fixed an issue where Zed would panic if the workspace window was previously off screen
Ben Kunkle created
1afbfcb
git: Docs-based workaround for GitHub/git auth confusion (#38479)
Closes #ISSUE Release Notes: - git: Added a link to Github's authentication help if you end up in Zed trying to type a password in for https auth
Conrad Irwin created
be75755
Fix theme overrides (#38512)
Release Notes: - N/A
Conrad Irwin created
30a29ab
Fix server settings (#38477)
In the settings refactor I'd assumed server settings were like project settings. This is not the case, they are in fact the normal user settings; but just read from the server. Release Notes: - N/A
Conrad Irwin created
b9188e0
collab: Fix screen share aspect ratio on non-Mac platforms (#38517)
It was just a bunch of finnickery around UI layout. It affected Linux too. Release Notes: * Fixed aspect ratio of peer screen share when using Linux/Windows builds.
Piotr Osiewicz created
df6f0bc
Fix markdown list in `bump-zed-minor-versions` (#38515)
This fixes a small markdown issue in the `bump-zed-minor-versions` script that bugged me for too long 😅 Release Notes: - N/A
Finn Evers created