6368cf1
Merge excerpt-related hint data, move next_inlay_id into Editor
Kirill Bulatov created
6368cf1
Merge excerpt-related hint data, move next_inlay_id into Editor
Kirill Bulatov created
8c03e9e
Move InlayId generation back to InlayCache
Kirill Bulatov created
e82b4d8
Properly handle hint addition queries
Kirill Bulatov created
5322aa0
Properly handle settings toggle
Kirill Bulatov created
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
Co-Authored-By: Antonio Scandurra <antonio@zed.dev>
Kirill Bulatov and Antonio Scandurra created
d4d8825
Fix most of the FoldMap random tests with inlays
Co-Authored-By: Antonio Scandurra <antonio@zed.dev>
Kirill Bulatov and Antonio Scandurra created
f2c5100
Fix all FoldMap tests (without real inlays inside)
Co-Authored-By: Antonio Scandurra <antonio@zed.dev>
Kirill Bulatov and Antonio Scandurra created
29bb6c6
Fix first FoldMap methods after the map move
Co-Authored-By: Antonio Scandurra <antonio@zed.dev>
Kirill Bulatov and Antonio Scandurra created
9ae611f
Fix InlayMap bugs after the map order revers
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
Co-Authored-By: Antonio Scandurra <antonio@zed.dev>
Kirill Bulatov and Antonio Scandurra created
e744fb8
Avoid having carriage returns (\r) in inlays
Co-Authored-By: Antonio Scandurra <antonio@zed.dev>
Kirill Bulatov and Antonio Scandurra created
d2fef07
Remove the SuggestionMap
Co-Authored-By: Antonio Scandurra <antonio@zed.dev>
Kirill Bulatov and Antonio Scandurra created
8cdf1a0
Switch over to inlay map for Copilot suggestions
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
Co-Authored-By: Antonio Scandurra <antonio@zed.dev>
Kirill Bulatov and Antonio Scandurra created
bec9c26
Fix more inlay_map corner cases and hangings
Co-Authored-By: Antonio Scandurra <antonio@zed.dev>
Kirill Bulatov and Antonio Scandurra created
02e124c
Fix inlay map tests
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
Co-Authored-By: Antonio Scandurra <antonio@zed.dev>
Kirill Bulatov and Antonio Scandurra created
63074c5
Better bias selection for hints that prefix the type
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`
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
test Co-Authored-By: Antonio Scandurra <antonio@zed.dev>
Kirill Bulatov and Antonio Scandurra created
e280483
Make the randomized tests pass
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
Co-Authored-By: Antonio Scandurra <antonio@zed.dev>
Kirill Bulatov and Antonio Scandurra created
f940104
Add inlay hint randomization in the text
Co-Authored-By: Antonio Scandurra <antonio@zed.dev>
Kirill Bulatov and Antonio Scandurra created
dbd4b33
Fix splice edits generation
Co-Authored-By: Antonio Scandurra <antonio@zed.dev>
Kirill Bulatov and Antonio Scandurra created
9ce9b73
Generate edits for inlay hints
Co-Authored-By: Antonio Scandurra <antonio@zed.dev>
Kirill Bulatov and Antonio Scandurra created
f5f4958
Add inlay hints randomized test, fix the errors
Co-Authored-By: Antonio Scandurra <antonio@zed.dev>
Kirill Bulatov and Antonio Scandurra created
2e730d8
Implement initial changes reporting for inlay hints
Co-Authored-By: Antonio Scandurra <antonio@zed.dev>
Kirill Bulatov and Antonio Scandurra created
4d76162
Report the edits per transform summary generated
Co-Authored-By: Antonio Scandurra <antonio@zed.dev>
Kirill Bulatov and Antonio Scandurra created
2ba3262
Add line_len snapshot method
Co-Authored-By: Antonio Scandurra <antonio@zed.dev>
Kirill Bulatov and Antonio Scandurra created
ab7dd80
Add more InlaySnapshot text summary impls
Co-Authored-By: Antonio Scandurra <antonio@zed.dev>
Kirill Bulatov and Antonio Scandurra created