b075ce8
Rename flaps to creases (#13144)
Click to expand commit body
This is a simple rename and should be transparent for users. Release Notes: - N/A
Antonio Scandurra created
b075ce8
Rename flaps to creases (#13144)
This is a simple rename and should be transparent for users. Release Notes: - N/A
Antonio Scandurra created
54828ab
Remove Gemini testing script (#13143)
This PR removes `script/gemini.py`, which just looks like it was used for initially testing the Gemini API. Now that it's built into collab as a completion provider, it doesn't seem like we need this script anymore. Release Notes: - N/A
Marshall Bowers created
6322351
Draw gutter highlights and indicators on top of blocks (#13142)
This ensures that the gutter progress in the inline assistant is contiguous. Release Notes: - N/A
Antonio Scandurra created
78091fa
Don't include prompt titles / "Default Prompt:" in slash command output (#13139)
This only includes a newline to ensure there's always something to fold. Release Notes: - N/A
Antonio Scandurra created
d5735da
assistant: Add glob matching for `file` slash command (#13137)
This PR adds support for glob matching when using the `file` slash command inside the assistant panel: https://github.com/zed-industries/zed/assets/53836821/696612d2-486c-4ab0-bf3c-d23a3eeefd25 Release Notes: - N/A
Bennet Bo Fenner created
c793bbd
docs: Fix the missing shortcut for Go Back (#13138)
Release Notes: - N/A
Tackoil created
03c5462
Allow cursor to be moved into an unconfirmed prompt editor via esc (#13134)
This also swaps the icons in the prompt editor. Release Notes: - N/A
Antonio Scandurra created
0afb3ab
Improve outline panel entries' revealing and grouping (#13127)
Release Notes: - N/A
Kirill Bulatov created
2b46a4a
Ensure context inserted via commands is syntax-highlighted (#13133)
Release Notes: - N/A
Antonio Scandurra created
bedf57d
Fix cursor blinking not working (#13130)
This was a bug in https://github.com/zed-industries/zed/pull/12990, due to the new focus restoration logic introduced with the editor. With this pull request, the editor will only restore focus when a descendant lost it. If the focus was lost by the editor itself, there's no need to restore it and we can instead proceed with starting the cursor blink. Release Notes: - N/A
Antonio Scandurra created
4855da5
Don't hide inline assist when editor loses focus (#12990)
Release Notes: - Now when an editor loses focus (e.g. from switching tabs) and then gains focus again, it doesn't close the inline assist. Instead, it only closes when you move the cursor outside of it, e.g. by clicking somewhere else in its parent editor. --------- Co-authored-by: Antonio Scandurra <me@as-cii.com>
Richard Feldman and Antonio Scandurra created
15d3e54
Remove textDocument/diagnostic capability (#13102)
Zed currently does not support pull diagnostics, yet still has the capability for it (`textDocument/diagnostic`) (added in https://github.com/zed-industries/zed/commit/14993e087669c7103df2239a2628ee0d3ce38596). Some language servers therefore assume Zed will use pull diagnostics, which leads to there being no diagnostics at all. This PR removes this capability, making it possible to get diagnostics with more language servers. Release Notes: - N/A
Edwin Aronsson created
064bdab
theme: Warn when deprecated `scrollbar_thumb.background` style is used (#13081)
This PR adds a warning when the deprecated `scrollbar_thumb.background` style property is present in a theme. This property has been succeeded by `scrollbar.thumb.background`. The primary reason for this is to get it into the `zed-extension` CLI so that we can use it to detect which themes need to be updated. Release Notes: - N/A
Marshall Bowers created
38cb95f
linux: Update cosmic_text (#13095)
Bumps cosmic_text, removes some stale `todo`s and stores a ShapeBuffer to prevent reallocations Improvements: - Performance should be a lot better (haven't actually tested it) - Fixed display of `\t` in the terminal   Release Notes: - N/A
apricotbucket28 created
7cc2538
vim: Fix minor keybinding bugs (#13086)
Fixes: #13068 Fixes: #9383 Release Notes: - vim: Fixed `home` and `end` in visual mode (#13068) - vim: Fixed inserting a 0 in insert mode with a count (#9383)
Conrad Irwin created
fc19cc0
vim: ctrl-r while we're on a register kick (#13085)
Release Notes: - vim: Support `ctrl-r X` to paste in insert mode (#4308)
Conrad Irwin created
e6def62
Silence git related errors on linux (#13083)
It's hard to imagine a world where we should package this on linux. Release Notes: - N/A
Conrad Irwin created
ff2347d
Add events for identifying node projects (#13078)
Release Notes: - N/A
Joseph T. Lyons created
6319ae0
extension_cli: Allow building without dynamically linking WebRTC (#13080)
This PR fixes an issue where the `zed-extension` CLI could no longer be run as a static binary due to the following error: ``` dyld[36964]: Library not loaded: @rpath/WebRTC.framework/WebRTC Referenced from: <56332E1D-292E-3F9B-97B9-8A9962D21599> /Users/maxdeviant/projects/zed-extensions/zed-extension Reason: no LC_RPATH's found fish: Job 1, './zed-extension --scratch-dir .…' terminated by signal SIGABRT (Abort) ``` This is the result of the addition of a dependency on `workspace` to the `extension` crate (and thus, the `extension_cli` crate) in #12360. Since we don't actually _need_ WebRTC in the extension CLI, we don't care about dynamically linking it. To resolve this, a new `no-webrtc` feature has been added to the `live_kit_client` client crate and threaded through all of the crates between it and the `extension_cli`. Enabling the `no-webrtc` feature will prevent linking to the LiveKit Swift SDK as well as linking the WebRTC framework. Release Notes: - N/A
Marshall Bowers created
a8bd602
Remove stray eprintln
Max Brunsfeld created
af45db6
Fix FS-related issues that were causing a test failure on linux (#13072)
This fixes `project_tests::rescan_and_remote_updates` . That test was actually correctly failing, revealing two bugs on Linux. Release Notes: - Fixed an issue where file renames were not detected on Linux. - Fixed performance problems caused by excessive file system events on Linux. --------- Co-authored-by: Mikayla <mikayla@zed.dev>
Max Brunsfeld and Mikayla created
fab4b01
Make linux prompts a bit better (#13067)
Also prompt with a sensible error on install:cli Release Notes: - N/A
Conrad Irwin created
2f6cb49
overwrite
Conrad Irwin created
411ee7a
Move keyboard focus when foregrounding windows on X11 (#13071)
Release Notes: - N/A
Conrad Irwin created
831f7db
Fix collab deploy (#13076)
Release Notes: - N/A
Conrad Irwin created
78fd378
Remove extra `cargo install cargo-about` (#13077)
This PR removes an extra `cargo install cargo-about` in the `generate-licenses` script, as we already install a specific version of `cargo-about`. It also improves the way we detect if `cargo-about` is already installed, to avoid logging an error when it is not installed. Resolves #13075. Release Notes: - N/A
Marshall Bowers created
d5a6ca4
Add os_name and os_version to all event types (#13063)
Release Notes: - N/A
Joseph T. Lyons created
ea69846
Silence error logs in `zed` tests (#13069)
This PR silences the remaining error logs in the `zed` crate tests by initializing `env_logger` in test mode. This means that the logs will no longer be shown unless `--nocapture` is passed to `cargo test`. Release Notes: - N/A
Marshall Bowers created
ff8486e
Properly align excerpt and outline items (#13070)
Kirill Bulatov created
9bc3c68
Register Markdown language in some tests to silence error logs (#13066)
This PR registers the Markdown language in some of the tests in the `zed` crate to silence the error logs about the language not being found when the chat panel attempts to load it. Release Notes: - N/A
Marshall Bowers created
45ae0dc
Fix dw at the end of a soft wrapped line (#13065)
Co-Authored-By: Richard <richard@zed.dev> Release Notes: - vim: Fixed behavior of `dw` at the end of a soft wrapped line Co-authored-by: Richard <richard@zed.dev>
Conrad Irwin and Richard created
e40c49a
Fix incorrect data being assigned to os_name (#13064)
Release Notes: - N/A
Joseph T. Lyons created
0d43d48
Use square buttons for code action and run indicators in the gutter (#12906)
### Before <img width="94" alt="Screenshot 2024-06-14 at 1 34 54 PM" src="https://github.com/zed-industries/zed/assets/1486634/fe756434-f072-4506-8fd2-c220c17cf112"> <img width="115" alt="Screenshot 2024-06-14 at 1 35 04 PM" src="https://github.com/zed-industries/zed/assets/1486634/e378f02b-cb55-467d-9a5e-04e162d6daab"> ### After <img width="128" alt="Screenshot 2024-06-14 at 1 34 27 PM" src="https://github.com/zed-industries/zed/assets/1486634/3d857a85-7673-43b1-8c48-56766455dd81"> <img width="134" alt="Screenshot 2024-06-14 at 1 34 33 PM" src="https://github.com/zed-industries/zed/assets/1486634/b04c1fef-0a30-4eb1-b8f7-4eff351fcdc7"> Release Notes: - Improved the look of code action and run indicators in the gutter ([#12803](https://github.com/zed-industries/zed/issues/12803)). --------- Co-authored-by: Marshall Bowers <elliott.codes@gmail.com>
versecafe and Marshall Bowers created
6ca09bd
project: Disable `project_tests::test_rescan_and_remote_updates` on Linux (#13062)
This PR disables the `project::project_tests::test_rescan_and_remote_updates` test on Linux, as we've been seeing it fail quite consistently in CI. We can re-enable it once we've had a chance to investigate and fix. Release Notes: - N/A
Marshall Bowers created
53f702c
Allow Ollama Model KeepAlive to be None, defaulting to indefinite (#13059)
Putting this back to `Option<KeepAlive>` to make existing configs keep working. Release Notes: - N/A
Kyle Kelley created
b036533
Update `Cargo.lock` (#13061)
This PR updates `Cargo.lock`, since it was missed in #12818. Release Notes: - N/A
Marshall Bowers created
993109a
Fix panic in worktree scanning (#13057)
Release Notes: - Fixed a panic when worktree paths are incorrectly relative.
Conrad Irwin created
4cb45e6
windows: Update `windows-rs` crate and better error handling in `DirectWrite` (#12818)
- Update `windows-rs` from `0.56` to `0.57` - Use the newly introduced `Owned` struct in `0.57` to handle the RAII stuff of `HANDLE` - Better error handling in `DirectWrite` Release Notes: - N/A
张小白 created
1413b5a
Select the first available model when none configured for Ollama (#13048)
Selects the first available model for Ollama if a model is not configured. Release Notes: - N/A
Kyle Kelley created
d9c21b4
Accept numeric keep alive in Ollama settings (#13046)
This adds the ability to set the keep alive as an integer, including `-1` for staying alive indefinitely until a new model is loaded or Ollama exits. I've also set the default to `-1` so that models stay ready to go for Zed to use. Release Notes: - N/A
Kyle Kelley created
44f66aa
rustdoc: Add `CrateName` newtype (#13056)
This PR adds a `CrateName` newtype used to represent crate names. This makes the code a bit more self-descriptive and prevents confusing other string values for a crate name. It also changes the internal representation from a `String` to an `Arc<str>` for cheaper clones. Release Notes: - N/A
Marshall Bowers created
3b84b10
vim gigv (#13028)
Release Notes: - vim: Fix `gi` when the insert ended at the end of a line (#12162) - vim: Add `gv` to restore previous visual selection (#12888) - vim: Fix `gl` when the first match is at the end of a line
Conrad Irwin created
3539a7c
Fix a `cargo doc` warning in the `zed` crate (#13054)
This PR fixes a warning I observed when running `cargo doc` against the
`zed` crate:
```
Documenting zed v0.141.0 (/Users/maxdeviant/projects/zed/crates/zed)
warning: this URL is not a hyperlink
--> crates/zed/src/main.rs:860:69
|
860 | /// URLs can either be file:// or zed:// scheme, or relative to https://zed.dev.
| ^^^^^^^^^^^^^^^^ help: use an automatic link instead: `<https://zed.dev.>`
|
= note: bare URLs are not automatically turned into clickable links
= note: `#[warn(rustdoc::bare_urls)]` on by default
```
Release Notes:
- N/A
Marshall Bowers created
a848109
Prefer the same order of entries inside outline and project panels, project search multi buffer (#13044)
Release Notes: - N/A
Kirill Bulatov created
6c28b7e
danger: Check PR titles (#13053)
This PR sets up Danger to check PR titles for consistency, using [`danger-plugin-pr-hygiene`](https://github.com/maxdeviant/danger-plugin-pr-hygiene). <img width="919" alt="Screenshot 2024-06-14 at 11 16 31 AM" src="https://github.com/zed-industries/zed/assets/1486634/167fe698-2505-422b-8e41-e121d9fe933f"> Release Notes: - N/A
Marshall Bowers created
0d8e6e6
assistant: Add `diagnostics` slash command (#12998)
This adds a `diagnostics` command to the assistant which allows to inject compile errors/warnings into the context. Release Notes: - N/A
Bennet Bo Fenner created
bf03f66
danger: Upgrade to pnpm v9 (#13051)
This PR upgrades Danger to use pnpm v9. Release Notes: - N/A
Marshall Bowers created
0f59607
docs: wrap_guides (#12992)
- Add 'wrap_guides' to website config docs. - Add the word 'ruler' to improve searchability.
Peter Tripp created
902d715
collab_ui: Re-enable deafening and screen share on Mac (#13040)
Fixes regression from https://github.com/zed-industries/zed/pull/12994 Release Notes: - N/A
Piotr Osiewicz created
55ba80d
lsp: Add support for label_details in completions (#13043)
This fixes an issue reported by @Spoutnik97 in https://github.com/zed-industries/zed/issues/12711#issuecomment-2163785111 - vtsls returns auxiliary docs via .label_details and not plain .details field. Release Notes: - Improved quality of auxiliary details in completions returned by VTSLS
Piotr Osiewicz created