-
Notifications
You must be signed in to change notification settings - Fork 5.4k
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
refactor(cli/lsp): migrate from lspower back to tower-lsp #14059
Conversation
@kitsonk tower_lsp seems don't have this method, what should I do? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think it’s ready for review |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for the effort.
Some feedback. Mostly, let's just import lsp_types
as lsp
to avoid a huge amount of churn in the code, plus it reads a lot better that way.
Co-authored-by: Kitson Kelly <me@kitsonkelly.com>
Co-authored-by: Kitson Kelly <me@kitsonkelly.com>
Co-authored-by: Kitson Kelly <me@kitsonkelly.com>
Co-authored-by: Kitson Kelly <me@kitsonkelly.com>
Co-authored-by: Kitson Kelly <me@kitsonkelly.com>
Co-authored-by: Kitson Kelly <me@kitsonkelly.com>
Co-authored-by: Kitson Kelly <me@kitsonkelly.com>
Co-authored-by: Kitson Kelly <me@kitsonkelly.com>
Co-authored-by: Kitson Kelly <me@kitsonkelly.com>
Co-authored-by: Kitson Kelly <me@kitsonkelly.com>
Co-authored-by: Kitson Kelly <me@kitsonkelly.com>
Co-authored-by: Kitson Kelly <me@kitsonkelly.com>
Co-authored-by: Kitson Kelly <me@kitsonkelly.com>
Co-authored-by: Kitson Kelly <me@kitsonkelly.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We can't break the API this way. We need tower_lsp to support other requests, versus trying to repurpose an existing lsp method.
tower_lsp added the feature for custom server requests here: ebkalderon/tower-lsp#313. We need to implement it that way. |
# Conflicts: # Cargo.lock # cli/lsp/language_server.rs
This reverts commit 455a670.
closed: #14056