477cec0
Add more view tracking (#24683)
Click to expand commit body
This should fix a panic in `Window::current_view()` Release Notes: - N/A
Mikayla Maki created
477cec0
Add more view tracking (#24683)
This should fix a panic in `Window::current_view()` Release Notes: - N/A
Mikayla Maki created
0a14679
vim: Prevent around word operations from selecting indentation (#24635)
Closes https://github.com/zed-industries/zed/issues/15323 Changes: Added check for first word on line Tested `v/c/d/y aw`. Matches standard neovim. |initial|old|new| |---|---|---| ||| Release Notes: - vim: Prevent around word operations from selecting indentation
5brian created
7378ab9
Correctly handle `[[` autoclosing in Markdown (#24662)
Peter Tripp created
3a3b7b5
Merge branch 'main' into v0.173.x
Joseph T. Lyons created
759ea0e
Touch up stale hunks fix (#24669)
Release Notes: - N/A Co-authored-by: Max <max@zed.dev>
Cole Miller and Max created
7c00eec
edit predictions: Fix popover hint not scrolling horizontally (#24602)
Release Notes: - N/A
João Marcos created
eaab7da
zeta: Add ability to change predict edits URL via environment variable (#24668)
This PR adds the ability to change the predict edits URL using the `ZED_PREDICT_EDITS_URL` environment variable. This allows for easily pointing Zed to a development version of the Cloudflare Worker. Release Notes: - N/A
Marshall Bowers created
14d9788
edit predictions: Don't animate cursor when jumping in eager mode without LSP completions (#24664)
We should only do this in "holding modifier" mode OR when there's a language server completions menu. Release Notes: - N/A
Agus Zubiaga created
b395bea
file_icons: Add Stylelint file icon associations (#24605)
This PR adds file associations for stylelint files. This is how it looks like in Zed (the icon doesn't exist):  In a dev version of an icon theme it looks like this (icon sourced from: https://github.com/vscode-icons/vscode-icons/blob/master/icons/file_type_stylelint.svg ):  Release Notes: - Icon themes: Added Stylelint file icon associations. --------- Co-authored-by: Marshall Bowers <git@maxdeviant.com>
Cameron Radmore and Marshall Bowers created
6e7416e
Fix stale hunks after commit (#24663)
Fixes a regression introduced in #24475. Release Notes: - N/A
Cole Miller created
bbea3a2
editor: Fix crash caused by `editor::SelectPrevious` (#24660)
Closes #24345 Release Notes: - Fixed a crash caused by calling `editor::SelectPrevious` twice in a row. Co-authored-by: conrad <conrad@zed.dev>
smit and conrad created
7950368
file_icons: Add missing React file icon associations (#24659)
The `.mjsx`, `.cjsx`, `.mtsx`, and `.ctsx` file extensions are also designed to contain JSX code. Release Notes: - Added file icon associations for more React files (`.mjsx`, `.cjsx`, `.mtsx`, `.ctsx`).
Twilight created
7fe6943
Add command to copy current file name (#22174)
Closes #21967 Add actions `CopyFileName` and `CopyFileNameWithoutExtension` to be used in the command palette. Release Notes: - Added commands `editor: copy file name` and `editor: copy file name without extensions`.
ANKDDEV created
8fa85c4
edit prediction: Try to fix panic in `Buffer::preview_edits` (#24654)
We've seen a few crashes in `SyntaxSnapshot::reparse_with_ranges` during `Buffer::preview_edits`, where an offset conversion fails because it is out of range. We are not sure how exactly this is happening. Our theory is that the syntax snapshot is using an outdated state when edits happen in the meantime (while interpolating). This is an attempt to see if it helps with the panics, hopefully we can revisit this when we have a better understanding of the issue. Co-Authored-by: Antonio <antonio@zed.dev> Release Notes: - N/A Co-authored-by: Antonio <antonio@zed.dev>
Bennet Bo Fenner and Antonio created
ca3b780
Merge branch 'main' into v0.173.x
Joseph T. Lyons created
7b45901
gpui: Update asset paths for more examples (#24646)
This PR updates the asset paths used in more GPUI examples such that they work when run from the repository root or from within `crates/gpui`. Release Notes: - N/A
Marshall Bowers created
22e2b8e
edit predictions: Preview jumps by animating cursor to target (#24604)
https://github.com/user-attachments/assets/977d08fb-a2b1-4826-9d95-8f35c6cb9f13 Release Notes: - N/A --------- Co-authored-by: Danilo <danilo@zed.dev> Co-authored-by: Smit <smit@zed.dev> Co-authored-by: Max <max@zed.dev>
Agus Zubiaga , Danilo , Smit , and Max created
5778e1e
theme: Fix Svelte file icon (#24650)
This PR fixes the file icon used for Svelte files in the default icon theme, as I used the wrong icon name in #24644. Release Notes: - N/A
Marshall Bowers created
c61f2df
file_icons: Use a separate icon key for Markdown files (#24648)
This PR updates the file icon mappings such that Markdown (`.md`, `.markdown`) files map to the `markdown` key. Release Notes: - Icon themes: Added the ability to change the file icon for Markdown (`.md`, `.markdown`) files.
Marshall Bowers created
04d65cb
gpui: Make `image` example work regardless of how it is run (#24645)
This PR updates the GPUI `image` example such that it works when run in the following ways: - `cargo run -p gpui --example image` from the repository root - `cargo run --example image` from within `crates/gpui` Release Notes: - N/A
Marshall Bowers created
6a40a40
file_icons: Use a separate icon key for Svelte files (#24644)
This PR updates the file icon mappings such that Svelte (`.svelte`) files map to the `svelte` key. Release Notes: - Icon themes: Added the ability to change the file icon for Svelte (`.svelte`) files.
Marshall Bowers created
c8c4ec2
docs: Fix vim `Subword` and `Push` example snippet (#24641)
All other vim examples are objects in Keymap file, where these two examples are stated as Keymap file itself. PR fixes this confusion. Release Notes: - N/A
smit created
64ae509
chore: Remove `settings` dependency on `migrator` (#24642)
Closes #ISSUE Release Notes: - N/A
Piotr Osiewicz created
7f4957c
Remove non-existent icon IndicatorX (#24636)
There is no file indicator_x.svg in the assets directory. 09:49:05 [ERROR] could not find asset at path "icons/indicator_x.svg"  Release Notes: - N/A
zfx created
8c34905
edit prediction: Fix `zeta: Rate completions` action not working when using keybinding (#24569)
Release Notes: - N/A
Bennet Bo Fenner created
a1d4bd9
Make `alt-l` the default linux/windows binding for AcceptEditPrediction (#24630)
Release Notes: - N/A
Michael Sloan created
9e178f1
Revert "Make `ctrl-l` the default vim binding for AcceptEditPrediction (#24599) (#24614)
Didn't realize that the base keymap binds this to `editor::SelectLine`. This reverts commit c5fe5f11396e0eeac765880eb6a17afbfbd53f78. Release Notes: - N/A
Michael Sloan created
236f51c
vim: Update `vi{` (#24601)
Small fix: Following up on
https://github.com/zed-industries/zed/pull/24518 where i missed `vi{`.
Matching neovim(tree-sitter), `vi{` should not have the newline selected
(Now `vi{d`/`vi{c` can match `di{`/`ci{`).
Also moved the cursor to the start.
|prev|new|neovim|
|---|---|---|
||||
Release Notes:
- N/A
5brian created
37785a5
vim: :set support (#24209)
Closes #21147 Release Notes: - vim: First version of `:set` with support for `[no]wrap`, `[no]number`, `[no]relativenumber` --------- Co-authored-by: Conrad Irwin <conrad.irwin@gmail.com>
Max Bucknell and Conrad Irwin created
2e7bb11
docs: Improve StyLua Lua formatter suggested settings (#24144)
Peter Tripp created
cf9661a
Improve extension extraction documentation (#24590)
- Add .gitignore - Update extension.toml URL - Script cleanup of Cargo.toml workspace lines
Peter Tripp created
c5fe5f1
Make `ctrl-l` the default vim binding for AcceptEditPrediction (#24599)
Release Notes: - N/A
Michael Sloan created
8f75fe2
Add staged status information to diff hunks (#24475)
Release Notes: - Render unstaged hunks in the project diff editor with a slashed background --------- Co-authored-by: maxbrunsfeld <max@zed.dev> Co-authored-by: Max Brunsfeld <maxbrunsfeld@gmail.com>
Cole Miller , maxbrunsfeld , and Max Brunsfeld created
a9de9e3
Remove alt-tab / alt-enter binds in vim keymap, as they are in base (#24598)
Was unnecessary to include these in #24596 as they will be available from the base keymap. Release Notes: - N/A Co-authored-by: Conrad <conrad@zed.dev>
Michael Sloan and Conrad created
4c881b6
Use `editor::AcceptEditPrediction` in vim keymap (#24596)
* Overrides the action handler to switch to insert mode after jumps. * Returns `vim::Tab` to its behavior from before #24418 Release Notes: - N/A Co-authored-by: Conrad <conrad@zed.dev>
Michael Sloan and Conrad created
c89ad65
edit predictions: Show user if current project is open source (#24587)
Release Notes: - N/A --------- Co-authored-by: João Marcos <marcospb19@hotmail.com>
Danilo Leal and João Marcos created
3d9f709
Use last keybind (highest precedence) for `AcceptEditPrediction` display (#24595)
Fix of PR #24582 Release Notes: - N/A
Michael Sloan created
7fe331f
Remove old keymap comments about AcceptEditPrediction modifier changes (#24592)
This was fixed in #24442 Release Notes: - N/A
Michael Sloan created
c1f162a
collab: Fix project sharing between Windows and Unix (#23680)
Closes #14258 Windows user(host) sharing a project to a guest(using macOS), and host follows guest: https://github.com/user-attachments/assets/ba306b6b-23f7-48b1-8ba8-fdc5992d8f00 macOS user(host) sharing a project to a guest(using Windows), and host follows guest: https://github.com/user-attachments/assets/c5ee5e78-870d-49e5-907d-8565977a01ae macOS user edits files in a windows project through collab: https://github.com/user-attachments/assets/581057cf-e7df-4e56-a0ce-ced74339906a Release Notes: - N/A
张小白 created
4e5a862
zed 0.173.5
Joseph T. Lyons created
d2d3ce3
Merge branch 'main' into v0.173.x
Joseph T. Lyons created
929c5e7
Fix some visual bugs w/ edit predictions (#24591)
* correct the size of key binding icons * avoid spurious modifier in 'jump to edit' popover when already previewing * fix height of the edit preview popover Release Notes: - N/A Co-authored-by: agu-z <hi@aguz.me>
Max Brunsfeld and agu-z created
0ae8e9f
Merge branch 'main' into v0.173.x
Joseph T. Lyons created
dab9c41
Fix formatters not running in order (#24584)
Previously, if multiple formatters were specified for the same language, they would be run in parallel on the state of the file, and then all edits would be applied. This lead to incorrect output with many unwanted artifacts. This PR refactors the formatting code to clean it up, and ensure results from previous formatters are passed in to subsequent formatters. Closes #15544 Release Notes: - Fixed an issue where when running multiple formatters they would be ran in parallel rather than sequentially, leading to unwanted artifacts and incorrect output. --------- Co-authored-by: Conrad <conrad@zed.dev>
Ben Kunkle and Conrad created
1f288f7
edit predictions: Fix predictions bar disappearing while loading (#24582)
Release Notes: - N/A --------- Co-authored-by: Max <max@zed.dev>
Agus Zubiaga and Max created
89e051d
Update extension extraction documentation (2025-02-10) (#24585)
Include lessons learned from PHP Extension extraction.
Peter Tripp created
62bb339
Migate PHP Extension to zed-extensions/php (#24583)
PHP Extension has been extracted to it's own repository available here: - https://github.com/zed-extensions/php
Peter Tripp created
0af048a
edit predictions: Cache settings across renders (#24581)
We were reading edit prediction settings too often, causing frames to be dropped. We'll now cache them and update them from `update_visible_inline_completion`. Release Notes: - N/A
Agus Zubiaga created
973cb91
Fix fill-co-authors, and collaborator cursors (#24575)
Co-authored-by: mikayla-maki <mikayla.c.maki@gmail.com> Release Notes: - N/A Co-authored-by: mikayla-maki <mikayla.c.maki@gmail.com>
Conrad Irwin and mikayla-maki created
63c0150
Fix handling of holding modifier to show edit prediction (#24580)
Meant to include this in #24442 Release Notes: - N/A
Michael Sloan created