-
Notifications
You must be signed in to change notification settings - Fork 23
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
Wrong code block renderer when documentation contains CLRF #368
Comments
What si the result with JetBrains LSP support? Could you share your LSP traces with hover please. |
about this completion:
|
This is my own Lua language server, not Sumneko Lua. I have not implemented a JetBrains LSP version for it. |
dark. Fixes redhat-developer#368 Signed-off-by: azerr <[email protected]>
dark. Fixes redhat-developer#368 Signed-off-by: azerr <[email protected]>
According this comment @fbricon I think we should keep like this, right? |
another question about the render.
the error in color might be my fault, but why has "number" become "numbe"? |
@angelozerr looks like an off-by-1 error in the code block renderer. Hopefully it should be easy to reproduce with a unit test |
Hello everyone, Probably this is not the right place, but can you show me documentation to adjust the clientCapabilities in this plugin or all clientCapabilities are hardcoded not matter what are supported from server. Thanks, |
@deanmaster could you create a New issue please. It seems it is an another topic. To give you a quick answer, client capabilities are hard coded because it defines the LSP4IJ capabilities. In lsp client initlialize the lsp server by setting the client capabilitues. In vscode context, vscode use the hard coded vscode client capabilities. LSP4IJ does the same thing. After this initialize, server send to client the server capabilities. In other words you must not customize the client capabilities or perhaps I miss something? |
I need to reproduce it, but I wonder why we have not this problem with other ls? @CppCXY have you every time this problem? |
|
Thanks @angelozerr I got your point. So far, I couldn't build this project in my machine due to many reasons. I'm looking forward to 0.0.3 release or you can give me a build number which I can use in my code project is perfect. Thanks and looking forward to semanticToken feature. |
@deanmaster you dont need to build yourself the plugin. See 'Testing nightly builds' section from the README.md |
@angelozerr perfect, I just install nightly i can see it's working great! |
Great, but we need to fix some existing issues. |
The reason for this issue should be that I occasionally used CRLF in hover. |
Thanks @CppCXY for your feedback. I will try to fix it as soon as I will find time. |
Fixes redhat-developer#368 Signed-off-by: azerr <[email protected]>
@CppCXY first I have renamed your issue. I have tried to do a quick fix. Could you please try to install the LSP4IJ zip at https://github.com/redhat-developer/lsp4ij/actions/runs/10141756236 and tell me if it fixes your issue please. Thanks. |
I tested it with the previous version, and it is indeed fixed. |
Fixes redhat-developer#368 Signed-off-by: azerr <[email protected]>
That's great! Thanks for your feedback. |
@CppCXY I have published nightly build with the fix. |
in completion document:
in hover:
The text was updated successfully, but these errors were encountered: