Commit log
625beaa
Finish writing test for the new autocompletion behavior
Click to expand commit body
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
Antonio Scandurra
and
Nathan Sobo
created
4 years ago
f8dce23
Merge pull request #394 from zed-industries/fix-selections-after-format
Click to expand commit body
Fix selection positions after typing with old selection anchors
Nathan Sobo
created
4 years ago
0f266cf
WIP: Start refactoring completion test
Click to expand commit body
The idea is to write more assertions related to how autocompletion
behaves with multiple cursors, prefixes that don't match, etc.
Antonio Scandurra
created
4 years ago
99d0100
Remove unused `bytes_at` method
Antonio Scandurra
created
4 years ago
32859a3
Refine autocompletion when text matches a prefix of the suggestion
Antonio Scandurra
created
4 years ago
ad13bcd
Merge pull request #395 from zed-industries/fix-show-next-diagnostic
Click to expand commit body
Move cursor to diagnostic even if the only diagnostic is currently shown
Antonio Scandurra
created
4 years ago
8d17287
Move cursor to diagnostic even if the only diagnostic is currently shown
Antonio Scandurra
created
4 years ago
d23115f
Fix selection positions after typing with old selection anchors
Max Brunsfeld
created
4 years ago
40f9d2f
Merge pull request #393 from zed-industries/autocomplete
Click to expand commit body
Autocomplete
Max Brunsfeld
created
4 years ago
3dfff38
Add integration test for getting and resolving completions
Max Brunsfeld
created
4 years ago
6e33f14
Confirm completion on tab key as well as enter key
Max Brunsfeld
created
4 years ago
39152bc
Add unit test for multi-cursor snippet
Click to expand commit body
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
Co-Authored-By: Max Brunsfeld <max@zed.dev>
Antonio Scandurra
,
Nathan Sobo
, and
Max Brunsfeld
created
4 years ago
3e8707e
Support multi-cursor autocompletion
Click to expand commit body
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
Co-Authored-By: Max Brunsfeld <max@zed.dev>
Antonio Scandurra
,
Nathan Sobo
, and
Max Brunsfeld
created
4 years ago
60595a6
Align completion labels with cursor
Click to expand commit body
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
Antonio Scandurra
and
Nathan Sobo
created
4 years ago
71ef052
Put rounded corners around autocomplete and give it some padding
Antonio Scandurra
created
4 years ago
d56e721
Mute color of completion's text that can't be filtered
Antonio Scandurra
created
4 years ago
1375c7b
Fix panic when trying to show completions but none match the query
Antonio Scandurra
created
4 years ago
85e6ea1
Transact on applying completion to allow restoring of selections on undo
Antonio Scandurra
created
4 years ago
f41f1e5
Hide completions when {un,re}doing past initial insertion boundaries
Antonio Scandurra
created
4 years ago
efcbf27
Support clicking on a completion to confirm it
Antonio Scandurra
created
4 years ago
7865c32
Optimize `summaries_for_anchors` when `MultiBuffer` is a singleton
Antonio Scandurra
created
4 years ago
ab26a17
Opt into language-aware features when getting buffer chunks
Click to expand commit body
We use chunks a lot to transform points and sync the various display maps,
and always querying tree-sitter or the LSP diagnostics in those cases is
unnecessarily expensive.
Antonio Scandurra
created
4 years ago
bd44172
Cancel innermost snippet insertion when hitting `esc`
Antonio Scandurra
created
4 years ago
426ca94
Allow completions to bleed off the editor's bounds
Antonio Scandurra
created
4 years ago
d246a39
Syntax highlight even when the label doesn't contain a detail
Antonio Scandurra
created
4 years ago
8fc89da
Don't overflow selection index when completions are filtered
Antonio Scandurra
created
4 years ago
439d12c
Start work on syntax highlighting completions
Max Brunsfeld
created
4 years ago
45898da
Fix hang in editor completion unit test
Max Brunsfeld
created
4 years ago
bbdf62f
Introduce Language::highlight_text method
Max Brunsfeld
created
4 years ago
88adddb
Remove theme parameters from buffer/display map's chunks methods
Click to expand commit body
Change Chunks to contain highlight ids instead of actual highlight
styles. Retrieve the actual highlight style from the theme in the
editor element layer.
This is to set us up to perform syntax highlighting in other code
paths where the theme is not available.
Max Brunsfeld
created
4 years ago
101add8
Hide completions when using the mouse
Click to expand commit body
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
Co-Authored-By: Max Brunsfeld <max@zed.dev>
Antonio Scandurra
,
Nathan Sobo
, and
Max Brunsfeld
created
4 years ago
474ec21
Improve formatting of variable/field completions for Rust
Click to expand commit body
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
Co-Authored-By: Max Brunsfeld <max@zed.dev>
Antonio Scandurra
,
Nathan Sobo
, and
Max Brunsfeld
created
4 years ago
8149bcb
Improve formatting of function autocompletion labels in Rust
Click to expand commit body
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
Co-Authored-By: Max Brunsfeld <max@zed.dev>
Antonio Scandurra
,
Nathan Sobo
, and
Max Brunsfeld
created
4 years ago
8d78154
Don't apply completion's edit when it wouldn't change the buffer
Click to expand commit body
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
Antonio Scandurra
and
Nathan Sobo
created
4 years ago
924eb62
Wait for additional edits before pushing transaction in remote buffer
Antonio Scandurra
created
4 years ago
d765e75
Apply additional edits for completion when the buffer is remote
Antonio Scandurra
created
4 years ago
91e5c2d
Broadcast completion triggers to remote participants
Antonio Scandurra
created
4 years ago
ed549e3
Start on requesting completions for remote buffers
Antonio Scandurra
created
4 years ago
ae5aebf
Fix flaky `test_highlighted_ranges` due to random `TypeId` ordering
Antonio Scandurra
created
4 years ago
74e5c5b
Separate autoclose pair stack from autocomplete stack
Antonio Scandurra
created
4 years ago
7940846
Navigate tabstops on tab even if the top of stack is a BracketPairState
Antonio Scandurra
created
4 years ago
6ff45f2
Generalize autoclose stack to include snippet ranges as well
Max Brunsfeld
created
4 years ago
7270fd0
Start work on handling snippet completions
Max Brunsfeld
created
4 years ago
680fde9
Handle special "final tabstop" in snippets
Max Brunsfeld
created
4 years ago
1371a20
:art: Return an option task from confirm_completion
Max Brunsfeld
created
4 years ago
55cc7bb
Reimplement snippet parsing using recursive descent
Max Brunsfeld
created
4 years ago
956748e
Add snippet crate
Click to expand commit body
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
Co-Authored-By: Antonio Scandurra <me@as-cii.com>
Max Brunsfeld
,
Nathan Sobo
, and
Antonio Scandurra
created
4 years ago
d873786
Advertise `snippet_support` capability to LSP
Click to expand commit body
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
Co-Authored-By: Max Brunsfeld <max@zed.dev>
Antonio Scandurra
,
Nathan Sobo
, and
Max Brunsfeld
created
4 years ago
6c7d2cf
Apply additional edits when confirming a completion
Click to expand commit body
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
Antonio Scandurra
and
Nathan Sobo
created
4 years ago
bcc5703
Fix warnings in `language::FakeFile`
Click to expand commit body
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
Antonio Scandurra
and
Nathan Sobo
created
4 years ago
Page 25 of 79