Commit log

8f68688 Allow readding inlays with existing ids, move inlay types

Kirill Bulatov created

49c00fd Generate InlayIds in InlayMap, prepare InlayCache for refactoring

Kirill Bulatov created

e217a95 Cleanup the warnings

Kirill Bulatov created

76d35b7 Use proper, limited excerpt ranges and manage inlay cache properly

Kirill Bulatov created

2b989a9 Fix all the tests

Click to expand commit body
Co-Authored-By: Antonio Scandurra <antonio@zed.dev>

Kirill Bulatov and Antonio Scandurra created

d4d8825 Fix most of the FoldMap random tests with inlays

Click to expand commit body
Co-Authored-By: Antonio Scandurra <antonio@zed.dev>

Kirill Bulatov and Antonio Scandurra created

f2c5100 Fix all FoldMap tests (without real inlays inside)

Click to expand commit body
Co-Authored-By: Antonio Scandurra <antonio@zed.dev>

Kirill Bulatov and Antonio Scandurra created

29bb6c6 Fix first FoldMap methods after the map move

Click to expand commit body
Co-Authored-By: Antonio Scandurra <antonio@zed.dev>

Kirill Bulatov and Antonio Scandurra created

9ae611f Fix InlayMap bugs after the map order revers

Click to expand commit body
Co-Authored-By: Antonio Scandurra <antonio@zed.dev>

Kirill Bulatov and Antonio Scandurra created

05dc672 Apply questionable changes to make things compile

Kirill Bulatov created

10765d6 Move inlay map to be the first one

Click to expand commit body
Co-Authored-By: Antonio Scandurra <antonio@zed.dev>

Kirill Bulatov and Antonio Scandurra created

e744fb8 Avoid having carriage returns (\r) in inlays

Click to expand commit body
Co-Authored-By: Antonio Scandurra <antonio@zed.dev>

Kirill Bulatov and Antonio Scandurra created

d2fef07 Remove the SuggestionMap

Click to expand commit body
Co-Authored-By: Antonio Scandurra <antonio@zed.dev>

Kirill Bulatov and Antonio Scandurra created

8cdf1a0 Switch over to inlay map for Copilot suggestions

Click to expand commit body
Co-Authored-By: Antonio Scandurra <antonio@zed.dev>

Kirill Bulatov and Antonio Scandurra created

89137e2 Fix `InlayMap::buffer_rows`

Antonio Scandurra created

34c6d66 Implement InlayBufferRows properly

Click to expand commit body
Co-Authored-By: Antonio Scandurra <antonio@zed.dev>

Kirill Bulatov and Antonio Scandurra created

bec9c26 Fix more inlay_map corner cases and hangings

Click to expand commit body
Co-Authored-By: Antonio Scandurra <antonio@zed.dev>

Kirill Bulatov and Antonio Scandurra created

02e124c Fix inlay map tests

Click to expand commit body
Co-Authored-By: Antonio Scandurra <antonio@zed.dev>

Kirill Bulatov and Antonio Scandurra created

b231fa4 Apply hints setings on startup

Kirill Bulatov created

c898298 Properly update inlay hints when settings are changed

Kirill Bulatov created

1ed5227 Add inlay hint settings

Kirill Bulatov created

ea837a1 Store inlays per paths and query on editor open

Kirill Bulatov created

8acc5cf Deserialize more LSP inlay hint information

Kirill Bulatov created

f155f5d Better rpc inlay hint handling

Kirill Bulatov created

b3aa75a Refresh inlays on buffer reopens

Kirill Bulatov created

e1f22c3 Cache anchors from all versions, remove out of range hints

Kirill Bulatov created

7abaf22 Generate proper inlay diffs for splice

Kirill Bulatov created

6d1068d Query inlay hints for excerpt ranges only

Kirill Bulatov created

271cd25 Display excerpt-ranged hints only

Kirill Bulatov created

addb62c Fix the duplicate hints

Click to expand commit body
Co-Authored-By: Antonio Scandurra <antonio@zed.dev>

Kirill Bulatov and Antonio Scandurra created

63074c5 Better bias selection for hints that prefix the type

Click to expand commit body
Co-Authored-By: Antonio Scandurra <antonio@zed.dev>

Kirill Bulatov and Antonio Scandurra created

2b1b122 Simplify `InlayMap::splice` interface

Antonio Scandurra created

7684a26 Fix point/offset translation and clipping in the `InlayMap`

Click to expand commit body
This makes all randomized tests pass. We're only missing `buffer_rows`
now and we should move the map right above `MultiBuffer` and below `FoldMap`.

Antonio Scandurra created

c7fa8db React with inlay updates on excerpt events

Kirill Bulatov created

df20a43 Reuse the copilot suggestion style for inlays

Kirill Bulatov created

8a64b07 Fixed inlay hints' edits generation and moved on with the randomized

Click to expand commit body
test

Co-Authored-By: Antonio Scandurra <antonio@zed.dev>

Kirill Bulatov and Antonio Scandurra created

e280483 Make the randomized tests pass

Click to expand commit body
Right now we only check that the text is correct, but I think
we're getting there.

Antonio Scandurra created

afa59ee Fix the randomized tests

Click to expand commit body
Co-Authored-By: Antonio Scandurra <antonio@zed.dev>

Kirill Bulatov and Antonio Scandurra created

f940104 Add inlay hint randomization in the text

Click to expand commit body
Co-Authored-By: Antonio Scandurra <antonio@zed.dev>

Kirill Bulatov and Antonio Scandurra created

dbd4b33 Fix splice edits generation

Click to expand commit body
Co-Authored-By: Antonio Scandurra <antonio@zed.dev>

Kirill Bulatov and Antonio Scandurra created

9ce9b73 Generate edits for inlay hints

Click to expand commit body
Co-Authored-By: Antonio Scandurra <antonio@zed.dev>

Kirill Bulatov and Antonio Scandurra created

f5f4958 Add inlay hints randomized test, fix the errors

Click to expand commit body
Co-Authored-By: Antonio Scandurra <antonio@zed.dev>

Kirill Bulatov and Antonio Scandurra created

2e730d8 Implement initial changes reporting for inlay hints

Click to expand commit body
Co-Authored-By: Antonio Scandurra <antonio@zed.dev>

Kirill Bulatov and Antonio Scandurra created

4d76162 Report the edits per transform summary generated

Click to expand commit body
Co-Authored-By: Antonio Scandurra <antonio@zed.dev>

Kirill Bulatov and Antonio Scandurra created

2ba3262 Add line_len snapshot method

Click to expand commit body
Co-Authored-By: Antonio Scandurra <antonio@zed.dev>

Kirill Bulatov and Antonio Scandurra created

ab7dd80 Add more InlaySnapshot text summary impls

Click to expand commit body
Co-Authored-By: Antonio Scandurra <antonio@zed.dev>

Kirill Bulatov and Antonio Scandurra created

568a67c Implement more InlaySnapshot methods

Click to expand commit body
Co-Authored-By: Antonio Scandurra <antonio@zed.dev>

Kirill Bulatov and Antonio Scandurra created

daa2ebb Calculate anchors for new hints

Kirill Bulatov created

5fadbf7 Implement InlayHint sync method and fix the bugs

Click to expand commit body
Co-Authored-By: Antonio Scandurra <antonio@zed.dev>

Kirill Bulatov and Antonio Scandurra created

5ad85b4 Implement chunks of the InlayMap

Click to expand commit body
Co-Authored-By: Antonio Scandurra <antonio@zed.dev>

Kirill Bulatov and Antonio Scandurra created