809b843
Render "Sign in" label only for current user
Antonio Scandurra created
809b843
Render "Sign in" label only for current user
Antonio Scandurra created
4e748b1
WIP - Wait for code action anchors to be valid
Max Brunsfeld created
d358072
Include the desired version in a SaveBuffer RPC request
When handling this messages on the host, wait until the desired version has been observed before performing the save. Co-Authored-By: Nathan Sobo <nathan@zed.dev>
Max Brunsfeld and Nathan Sobo created
8d06049
Ensure worktree updates are applied in order
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
Max Brunsfeld and Nathan Sobo created
28ba49b
Wait for buffer if it doesn't exist when deserializing a reference
Co-Authored-By: Max Brunsfeld <maxbrunsfeld@gmail.com>
Nathan Sobo and Max Brunsfeld created
e9250e6
Fix mouse event handler for code actions indicator
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
Max Brunsfeld and Nathan Sobo created
ddc1f23
Panic if element state is used twice in the same frame
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
Max Brunsfeld and Nathan Sobo created
7b666af
Get chat integration tests passing
* Don't send a chat message before the previous chat message is acknowledged. * Fix emitting of notifications in RPC server Co-Authored-By: Nathan Sobo <nathan@zed.dev>
Max Brunsfeld and Nathan Sobo created
bf6ae0d
Restore logic for storing operations on buffers that are still being opened
Max Brunsfeld created
fe46b89
Remove logic for preserving RPC message order between peers
* On the server, spawn a separate task for each incoming message * In the peer, eliminate the barrier that was used to enforce ordering of responses with respect to other incoming messages Co-Authored-By: Antonio Scandurra <me@as-cii.com>
Max Brunsfeld and Antonio Scandurra created
90576cf
Request code actions inside of task to avoid spamming the LSP
Antonio Scandurra created
ae75648
v0.15.0
Antonio Scandurra created
298c991
Ensure that zed package version matches git tag before packaging a release
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
Antonio Scandurra and Nathan Sobo created
f742f63
Merge pull request #446 from zed-industries/assists
Implement code actions
Antonio Scandurra created
fadb94a
Use selection instead of just the cursor when fetching code actions
Antonio Scandurra created
1eea2f3
Add integration test for code actions
Antonio Scandurra created
68917c7
Implement Server::add_request_handler in terms of ::add_message_handler
Antonio Scandurra created
1aff423
Rename `subscribe` to `add_{message,request}_handler` in `Client`
This makes it easier to distinguish between messages and requests.
Antonio Scandurra created
6a6cd68
:art:
Antonio Scandurra created
03812a6
Pass `write(true)` when creating a file in `RealFs`
Antonio Scandurra created
a19735c
Ensure client always responds when receiving a request
Antonio Scandurra created
a41eb5a
Ensure server always responds when receiving a request
Antonio Scandurra created
331667c
WIP: Start auditing all `forward_request` calls on the server
When the host returns an error after a server has forwarded a request, we want to surface that error to the guest. At the moment, the server just returns early leaving some requests unresponded on the guest. I started auditing all the code paths where we do that, but I am wondering whether there's some other approach that would prevent us from repeating this mistake in other code paths.
Antonio Scandurra created
2dbea28
Deserialize buffers synchronously when deserializing project transaction
On guests, this ensures we never miss updates to subsequent buffers in the project transaction that arrive while we're waiting for edits on a prior buffer in the transaction.
Antonio Scandurra created
8d3b7e9
Proceed with saving a buffer even if formatting fails
Antonio Scandurra created
a210062
Refresh diagnostics and code actions more selectively
Antonio Scandurra created
cbe93af
Reduce number of iterations on `test_editing_while_guest_opens_buffer`
I think this was mistakenly increased as part of some other change.
Antonio Scandurra created
ca052b4
Make `test_propagate_saves_and_fs_changes` more robust
...by using a condition that awaits on the actual paths as opposed to the simple file counts.
Antonio Scandurra created
e354133
Remove stray log statements
Antonio Scandurra created
f2b4a06
Fix integration test verifying the rename behavior
Specifically, the test now ensures that the host's worktree observes a/file1's change event *before* the rename occurs, otherwise when interpreting the change event it will mistakenly think that the file has been deleted (because its path has changed) and will subsequently fail to detect the rename, causing the test to fail.
Antonio Scandurra created
7b9ff42
Apply worktree updates in the order they were received
Antonio Scandurra created
5a7d391
Ensure response barrier is always dropped, even if request is canceled
Antonio Scandurra created
174c9d7
Adjust multibuffer history test to reflect new behavior
Max Brunsfeld created
8d65048
Reduce logging in lsp tests
Max Brunsfeld created
d84fc3b
Remove Buffer::apply_lsp_edits
Always use `edits_from_lsp`.
Max Brunsfeld created
d4b9d9e
Inline MultiBuffer::format
Put all the logic in Editor. Add an `all_buffers` method so the editor can format all of the buffers by itself.
Max Brunsfeld created
06bb8d2
Fix panic when canceling with a pending selection
Max Brunsfeld created
01664d4
Restructure fake language server to setup request handlers in advance
Co-Authored-By: Antonio Scandurra <me@as-cii.com> Co-Authored-By: Nathan Sobo <nathan@zed.dev>
Max Brunsfeld , Antonio Scandurra , and Nathan Sobo created
680d1fe
Always call set_selections in mouse selection methods
Co-Authored-By: Antonio Scandurra <me@as-cii.com> Co-Authored-By: Nathan Sobo <nathan@zed.dev>
Max Brunsfeld , Antonio Scandurra , and Nathan Sobo created
947fe84
Make multibuffer anchor's buffer_id optional
Avoid using 0 for a buffer id on Anchor::min and max Co-Authored-By: Antonio Scandurra <me@as-cii.com> Co-Authored-By: Nathan Sobo <nathan@zed.dev>
Max Brunsfeld , Antonio Scandurra , and Nathan Sobo created
fa194c8
Pass the pending selection to update_selections and set_selections
This helps us preserve our invariant of always having at least a pending selection in set_selections when comparing old and new cursor positions. Co-Authored-By: Max Brunsfeld <maxbrunsfeld@gmail.com>
Nathan Sobo and Max Brunsfeld created
ad9a0e2
Revert "Ensure there's always at least one selection in the editor"
This reverts commit b1a44b5816eeb021efbd5bb49cd5a60573cf508a.
Nathan Sobo created
612a331
Allow toggling of code actions
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
Antonio Scandurra and Nathan Sobo created
7b28418
Allow deployment of code actions from indicator
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
Antonio Scandurra and Nathan Sobo created
b1a44b5
Ensure there's always at least one selection in the editor
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
Antonio Scandurra and Nathan Sobo created
a41725d
Render code actions indicator
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
Antonio Scandurra and Nathan Sobo created
2fcdcac
Fetch code actions on cursor movement instead of on-demand
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
Antonio Scandurra and Nathan Sobo created
763d57c
Don't return error when definition, completions, etc. are unavailable
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
Antonio Scandurra and Nathan Sobo created
3fc3e51
Fix panic when trying to render a diagnostic that has no message
Antonio Scandurra created
4929b8c
Move `Buffer::format` to `Project::format`
Antonio Scandurra created