Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add status and reload subcommands #51

Merged
merged 7 commits into from
Nov 6, 2023
Merged

Add status and reload subcommands #51

merged 7 commits into from
Nov 6, 2023

Conversation

pr2502
Copy link
Owner

@pr2502 pr2502 commented Oct 28, 2023

This PR adds support for sending extra commands to ra-multiplex other than connect for connecting to a language server.

status dumps the lspmux server state. Listing instances, connected clients and their metadata. This is the first prototype, more useful information will be added over time.

reload uses the rust-analyzer extension request rust-analyzer/reloadWorkspace, this is useful as a workaround for #18 when the project files change significantly and the editor and rust-analyzer don't negotiate it properly. This is the same as :CargoReload command in neovim.

@pr2502 pr2502 marked this pull request as ready for review October 28, 2023 10:07
@pr2502 pr2502 merged commit 9c51cb0 into main Nov 6, 2023
1 check passed
@pr2502 pr2502 deleted the more-commands branch November 6, 2023 15:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant