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

Proof of concept language client #83

Merged
merged 6 commits into from
Oct 6, 2023
Merged

Proof of concept language client #83

merged 6 commits into from
Oct 6, 2023

Conversation

alcarney
Copy link
Member

@alcarney alcarney commented Oct 6, 2023

image

  • New lsp-devtools client -- <server command> command that provides a proof of concept language client built on textual's TextArea. The main goal of this client will be to
    • "play" with a language server
    • impersonating other clients (e.g. neovim, VSCode etc)
    • inspect the messages that are sent back and forth
  • Despite what the screenshot suggests, completion selection does not work yet - but the client will ask for them
  • It's now at a point where we "just" need to implement the UI + remaining LSP methods 😅

In other news

  • lsp-devtools capabilities has been removed - we can use lsp-devtools record to achieve the same
  • lsp-devtools tui has been renamed to lsp-devtools inspect
  • Make pre-commit (for lsp-devtools at least) happy again

This adds a proof of concept language client built on textual's
TextArea. The idea is to eventually be able to "play" with a server
while inpersonating a particular client - all while being able to
inspect the traffic sent to/from the server.

The low-level stuff is technically done? The server starts, we can
capture and display the traffic - even text sync appears to work!

It's now "just" a case of implementing a UI and adding support for
all the LSP methods!
@alcarney alcarney merged commit d640561 into swyddfa:develop Oct 6, 2023
4 checks passed
@alcarney alcarney deleted the tui branch October 6, 2023 18:00
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