Commit log

9521f6d Simplify implementation of flex with spacing

Max Brunsfeld created

a1d2ae3 Add -l option to build script

Click to expand commit body
When you pass -l, we build for the local architecture only and copy the
resulting app bundle to /Applications. You can provide a bundle name as
an optional argument.

Nathan Sobo created

0435467 Remove search dismiss button

Max Brunsfeld created

9aad602 chore: Bump memchr to 2.6.0 (#2902)

Click to expand commit body
Fresh off the press, memchr 2.6.0 adds vector search routines for
aarch64. That directly improves our search performance for both text and
regex searches. Per BurntSushi's claims, the simple string searches in
ripgrep got ~2 times faster (more details available in
https://github.com/BurntSushi/memchr/pull/129).

Release Notes:

- N/A

Piotr Osiewicz created

ccec593 :memo:

Antonio Scandurra created

52e1e01 Allow redoing edits performed by inline assistant after cancelling it

Antonio Scandurra created

b9df85e Remove todo.md

Antonio Scandurra created

8c4d2cc Close inline assist when the associated transaction is undone

Antonio Scandurra created

c587cf6 Remove ellipsis from tooltip

Antonio Scandurra created

44f554f Merge remote-tracking branch 'origin/main' into ai-refactoring

Antonio Scandurra created

1fb7ce0 Show icon to toggle inline assist

Antonio Scandurra created

d804afc Don't auto-indent when the assistant starts responding with indentation

Antonio Scandurra created

07b9c6c language: Make Buffer::new take an explicit ID (#2900)

Click to expand commit body
See Linear description for the full explanation of the issue. This PR is
mostly a mechanical change, except for the one case where we do pass in
an explicit `next_id` instead of `model_id` in project.rs.

Release Notes:
- Fixed a bug where some results were not reported in project search in
presence of unnamed buffers.

Piotr Osiewicz created

937aabf Extract a `strip_markdown_codeblock` function

Antonio Scandurra created

81a5043 Allow `[` and `]` symbols in terminal links (#2899)

Click to expand commit body
Deals with https://github.com/zed-industries/community/issues/1865

` ./src/pages/[[...slug]].tsx` is a valid file path in macOs and Linux,
and should be available for cmd-hover-click in terminal.

Release Notes:

- Allow `[` and `]` symbols in terminal links

Kirill Bulatov created

506ec01 Allow `[` and `]` symbols in terminal links

Click to expand commit body
` ./src/pages/[[...slug]].tsx` is a valid file path in macOs and Linux,
and should be available for cmd-hover-click in terminal.

Kirill Bulatov created

3bfe78b Use proper property names for inlay hint resolve capabilities

Kirill Bulatov created

805ae1b More inlay hover fixes (#2898)

Click to expand commit body
Better handle edge cases around cmd+hover around inlays:
* distinguish between same text anchors' trigger: inlay and text
triggers can have the same anchor, but are different
* forbid cmd+click on inlay that has no label part with location
selected
* properly omit throttled inlays that are outside of the visible range

Release Notes:

- N/A

Kirill Bulatov created

38da2a5 Fix the tests

Kirill Bulatov created

81e7090 Do not allow cmd+click in invalid inlay context

Kirill Bulatov created

693e91f Properly compare previous hover trigger point when hover changes

Kirill Bulatov created

dad64ed Better highlight hint ranges

Kirill Bulatov created

5cf5121 Use better names, simplify

Kirill Bulatov created

7393787 Properly omit throttled hint queries

Kirill Bulatov created

851d74d Improve inlay hints management (#2897)

Click to expand commit body
Apply a rate limiter to hints scrolling, properly invalidate hint task
cached ranges, properly react to multibuffer events, properly highlight
hints and introduce basic debug logging for hints.

Release Notes:

- N/A

Kirill Bulatov created

f8a8b99 Properly react on excerpts drop

Kirill Bulatov created

8428409 Properly handle padding when highlighting inlay hints

Kirill Bulatov created

2a42a08 Invalidate skipped throttled hint fetch tasks' ranges

Kirill Bulatov created

9bdf76f Properly handle hover-less areas hover

Kirill Bulatov created

48659d3 Treat multibuffer edit events properly

Click to expand commit body
Miltibuffer emits edit events even if it only got an excerpt
added/removed/etc.
Separate buffer edits and trigger hint invalidation refresh for them
only, also trigger hint new lines refresh on excerpt addition events.

Kirill Bulatov created

3fc48fc Log LSP inlay hint path

Kirill Bulatov created

55bf45d Add disabled style for prompt editor after confirming

Antonio Scandurra created

e6fb909 Limit LSP non-invalidating queries

Kirill Bulatov created

658d616 Allow multiple inline assistant highlights at once

Antonio Scandurra created

2b00793 Remove query ranges for failed inlay hint requests

Kirill Bulatov created

c8e5c39 Clear selection when deploying inline assistant

Antonio Scandurra created

8ddee0e Server-sent feature flags (#2894)

Click to expand commit body
This PR adds the wiring to both the server and the client for sending
and receiving individual feature flags, as well as a client side API for
convenient access to these feature flags.

Release Notes:

- N/A

Mikayla Maki created

afdc501 Fix inlay hint bugs (#2895)

Click to expand commit body
* https://github.com/zed-industries/zed/pull/2891

Fixes ranges pointing at incorrect positions inside multi-codepoint
characters

* https://github.com/zed-industries/zed/pull/2890

Defers hint links' document URL resolution into buffer up until the
hover & cmd-click is made by the user.

Release Notes:

- N/A

Kirill Bulatov created

74565ed Add feature flags handling to the client, rewrite staff mode to a trait extension style

Mikayla created

81c6464 Fix the test

Kirill Bulatov created

e6c4802 Properly clip request offsets

Kirill Bulatov created

b2b0918 Consider padding during hint highlight range mapping

Kirill Bulatov created

665d86e Defer navigation target buffer opening

Kirill Bulatov created

ddd7ab1 Do not convert lsp::Location of hint labels before resolve

Kirill Bulatov created

d6ffb68 Fix bugs in autoscroll with 'fit' strategy (#2893)

Click to expand commit body
This fixes a bug where text moved up and down by one pixel in the buffer
search query editor, while typing.

Release  notes:
* Fixed a bug where editors didn't auto-scroll when typing if all
cursors could not fit within the viewport.

Max Brunsfeld created

2495d65 Un serialize project search (#2857)

Click to expand commit body
This is the first batch of improvements to current project search. There
are few things we can do better still, but I want to get this out in
next Preview.
Most of the slowness at this point seems to stem from updating UI too
often.

Release Notes:
- Improved project search by making it report results sooner.

---------

Co-authored-by: Julia Risley <julia@zed.dev>

Piotr Osiewicz and Julia Risley created

a3b2c03 Fix bugs in autoscroll with 'fit' strategy

Click to expand commit body
* Scroll to the newest cursor if all cursors can't fit in the viewport.
* Refuse to layout an editor less tall than one line height.

Co-authored-by: Nathan <nathan@zed.dev>

Max Brunsfeld and Nathan created

6fdf101 Update database and RPC to provide configured feature flags

Mikayla created

dee1a43 A few more fixes for wrapped line motions

Conrad Irwin created

20aa2a4 vim: Fix relative line motion

Click to expand commit body
Before this change up and down were in display co-ordinates, after this
change they are in fold coordinates (which matches the vim behaviour).

To make this work without causing usabliity problems, a bunch of extra
keyboard shortcuts now work:

- vim: `z {o,c}` to open,close a fold
- vim: `z f` to fold current visual selection
- vim: `g {j,k,up,down}` to move up/down a display line
- vim: `g {0,^,$,home,end}` to get to start/end of a display line

Fixes: zed-industries/community#1562

Conrad Irwin created