Commit log
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
3028767
Improve on inlya locations
Kirill Bulatov
created
b193d62
Initial InlayMap tests and splice fn impl
Click to expand commit body
Co-Authored-By: Antonio Scandurra <antonio@zed.dev>
Kirill Bulatov
and
Antonio Scandurra
created
7397b80
Simplify inlay hint version handling
Kirill Bulatov
created
d506522
Correctly pass inlay hints
Kirill Bulatov
created
b5233b3
Rename the new map
Kirill Bulatov
created
9287634
Prepare to find diffs between inlay hint generations
Kirill Bulatov
created
78b3c9b
Store hints in the new map only
Kirill Bulatov
created
83f4320
Replace todo!s with stub calls to make Zed work
Kirill Bulatov
created
4c3c0eb
Draft the hint render data flow
Kirill Bulatov
created
2ead3de
Add basic infrastructure for inlay hints map
Kirill Bulatov
created
6e3d1b9
Draft the initial protobuf changes
Kirill Bulatov
created
387415e
Request hints for all buffers in editor
Kirill Bulatov
created
f83cfda
React on message-less LSP requests properly
Click to expand commit body
Co-Authored-By: Julia Risley <julia@zed.dev>
Kirill Bulatov
and
Julia Risley
created