dc20be2
Start on code action confirmation
Nathan Sobo created
dc20be2
Start on code action confirmation
Nathan Sobo created
ba99b01
Generalize showing and hiding of context menus
We still cancel pending completions when hiding the context menu so its not perfectly general, but I think this is ok.
Nathan Sobo created
025e83c
Render code actions context menu
Nathan Sobo created
93a3f4b
Move rendering and select prev/next into ContextMenu enum
This prepares the way to have a code actions context menu.
Nathan Sobo created
ee66151
Start generalizing the completions menu into a context menu
This will let us render the code actions menu in a way that's mutually exclusive with completions.
Nathan Sobo created
83d4fe8
Start work on code actions
Just print out the returned code actions for now Co-Authored-By: Nathan Sobo <nathan@zed.dev>
Max Brunsfeld and Nathan Sobo created
4900019
Add a ToPointUtf16 trait in text and multibuffer
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
Max Brunsfeld and Nathan Sobo created
16acbd2
Handle appkit's cancelOperation: message to allow binding `cmd-.`
Max Brunsfeld created
82afacd
Merge pull request #425 from zed-industries/refine-select-larger-node
Refine behavior of select_larger_syntax_node
Max Brunsfeld created
7fc9518
Adjust assertion to reflect rust grammar upgrade
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
Max Brunsfeld and Nathan Sobo created
3e232f7
Refine behavior of select_larger_syntax_node
Co-Authored-By: Antonio Scandurra <antonio@zed.dev>
Max Brunsfeld and Antonio Scandurra created
fe1729f
Merge pull request #424 from zed-industries/fix-goal-column-on-cut
Clear selection goal column when cutting a full line
Antonio Scandurra created
01f702a
Merge pull request #423 from zed-industries/line-selection
Refine line-oriented selection and deletion
Nathan Sobo created
3f897ed
Clear selection goal column when cutting a full line
Co-Authored-By: Antonio Scandurra <me@as-cii.com> Co-Authored-By: Max Brunsfeld <maxbrunsfeld@gmail.com>
Nathan Sobo , Antonio Scandurra , and Max Brunsfeld created
3ef3f30
Merge pull request #401 from zed-industries/fail-ci-on-warnings
Cause tests to fail on CI when there are warnings
Nathan Sobo created
a9d2abe
Merge pull request #400 from zed-industries/libc++
Use -stdlib=libc++ in script/bundle to avoid errors on Monterey
Nathan Sobo created
c38fe47
Delete to hard line boundary when deleting to start/end of line
Co-Authored-By: Antonio Scandurra <me@as-cii.com>
Nathan Sobo and Antonio Scandurra created
90a780a
Improve moving to start or end of soft-wrapped lines
When moving to end, stop at the soft-wrap line boundary first, then move to the end of the hard line. Vice versa when moving to the beginning. Co-Authored-By: Antonio Scandurra <me@as-cii.com>
Nathan Sobo and Antonio Scandurra created
4eb2b97
Fix warning when not building in test mode
Co-Authored-By: Antonio Scandurra <me@as-cii.com>
Nathan Sobo and Antonio Scandurra created
aa12eb6
Span across soft-wraps when triple clicking a line
Co-Authored-By: Antonio Scandurra <me@as-cii.com>
Nathan Sobo and Antonio Scandurra created
6ac3a44
Cause tests to fail on CI when there are warnings
Co-Authored-By: Antonio Scandurra <me@as-cii.com>
Nathan Sobo and Antonio Scandurra created
ed37ad3
Merge pull request #399 from zed-industries/unbounded-fs-events
Buffer all incoming file-system events
Antonio Scandurra created
dad3ddb
Use -stdlib=libc++ in script/bundle to avoid errors on Monterey
I was unable to run script/bundle my local machine without this change.
Nathan Sobo created
a2aa844
Buffer all incoming file-system events
This avoids a problem where the operating system would drop events on the floor and tell us to rescan the entire directory, which in turn would cause a flicker in the project browser. Co-Authored-By: Nathan Sobo <nathan@zed.dev>
Antonio Scandurra and Nathan Sobo created
1e186d7
Merge pull request #398 from zed-industries/refine-find
Refine find
Antonio Scandurra created
807049a
Always populate find bar on `cmd-f`
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
Antonio Scandurra and Nathan Sobo created
bf043fe
Merge pull request #396 from zed-industries/fix-autocomplete-bugs
Refine autocomplete
Antonio Scandurra created
7a8765a
Dismiss the focused find bar on `escape`
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
Antonio Scandurra and Nathan Sobo created
55f0933
Show completions as soon as possible
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
Antonio Scandurra and Nathan Sobo created
625beaa
Finish writing test for the new autocompletion behavior
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
Antonio Scandurra and Nathan Sobo created
f8dce23
Merge pull request #394 from zed-industries/fix-selections-after-format
Fix selection positions after typing with old selection anchors
Nathan Sobo created
0f266cf
WIP: Start refactoring completion test
The idea is to write more assertions related to how autocompletion behaves with multiple cursors, prefixes that don't match, etc.
Antonio Scandurra created
99d0100
Remove unused `bytes_at` method
Antonio Scandurra created
32859a3
Refine autocompletion when text matches a prefix of the suggestion
Antonio Scandurra created
ad13bcd
Merge pull request #395 from zed-industries/fix-show-next-diagnostic
Move cursor to diagnostic even if the only diagnostic is currently shown
Antonio Scandurra created
8d17287
Move cursor to diagnostic even if the only diagnostic is currently shown
Antonio Scandurra created
d23115f
Fix selection positions after typing with old selection anchors
Max Brunsfeld created
40f9d2f
Merge pull request #393 from zed-industries/autocomplete
Autocomplete
Max Brunsfeld created
3dfff38
Add integration test for getting and resolving completions
Max Brunsfeld created
6e33f14
Confirm completion on tab key as well as enter key
Max Brunsfeld created
39152bc
Add unit test for multi-cursor snippet
Co-Authored-By: Nathan Sobo <nathan@zed.dev> Co-Authored-By: Max Brunsfeld <max@zed.dev>
Antonio Scandurra , Nathan Sobo , and Max Brunsfeld created
3e8707e
Support multi-cursor autocompletion
Co-Authored-By: Nathan Sobo <nathan@zed.dev> Co-Authored-By: Max Brunsfeld <max@zed.dev>
Antonio Scandurra , Nathan Sobo , and Max Brunsfeld created
60595a6
Align completion labels with cursor
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
Antonio Scandurra and Nathan Sobo created
71ef052
Put rounded corners around autocomplete and give it some padding
Antonio Scandurra created
d56e721
Mute color of completion's text that can't be filtered
Antonio Scandurra created
1375c7b
Fix panic when trying to show completions but none match the query
Antonio Scandurra created
85e6ea1
Transact on applying completion to allow restoring of selections on undo
Antonio Scandurra created
f41f1e5
Hide completions when {un,re}doing past initial insertion boundaries
Antonio Scandurra created
efcbf27
Support clicking on a completion to confirm it
Antonio Scandurra created
7865c32
Optimize `summaries_for_anchors` when `MultiBuffer` is a singleton
Antonio Scandurra created