-
Notifications
You must be signed in to change notification settings - Fork 59
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 some info for testing(in general) the extensions built on tower-lsp #229
Comments
@Hyperion101010 One possibility would be to test |
@Hyperion101010 Hello! Thank you for the kind words; I'm glad to hear that async fn call(&mut self, req: Incoming) -> Result<Option<Outgoing>, ExitedError> One can leverage Lines 177 to 233 in 58457ad
Note that a less-than-pretty caveat of the current design is that server-to-client requests (initiated by calls to This may change in the future with #177, where |
I think this issue should be safe to close if it can be confirmed that |
Sure, I will checkout the details. Closing this issue. |
Feel free to reopen if you run into troubles with |
Could we open this issue to track adding testing documentation? Thank you |
Sure, @lpil! I can amend the README to include a link to |
Hi there, at hyperledger we are developing vscode server for solidity language and tower-lsp has proved as a great server implementation to built our server on. Thanks for writing this server and for keeping it up to date.
So I was working on my version of the server and finished implementing the hover feature for same. Now my server is in Rust(tower-lsp) and the client is in Js. I searched on the vscode API but I couldn't find any way to invoke hover while running tests(like running test from client side and getting the hover message in the test from the server using some function).
I implemented diagnostics as well but at that time vscode API had getdiagnostics function which did the trick. This time I can't find any such method for hover.
Any suggestions on how should the hover tests be implemented?
my repo: https://github.com/hyperledger-labs/solang-vscode
The text was updated successfully, but these errors were encountered: