-
Notifications
You must be signed in to change notification settings - Fork 73
fix: Remove LSP4J libraries. #1379
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
base: main
Are you sure you want to change the base?
Conversation
|
After testing this PR, it doesn't work -( LSP4J libraries ar eused for compliation but when you execute LSP request it doesn't work because lsp'J libraries seems not accessible. It is a real nightmare! |
|
you probably need to add a reference to <idea-plugin>
<!-- ... -->
<depends>com.intellij.modules.lsp</depends>
</idea-plugin>see https://plugins.jetbrains.com/docs/intellij/language-server-protocol.html#g8razd_49 |
d226413 to
a8a7201
Compare
Thanks @fbricon for your feedback. After spending a lot of time, I discover the problem. It is because of telemetry which provides Gson. We should use Gson from plateform otherwise LSP4J fails. I have removed telemetry and it seems it is working pretty well! @InSyncWithFoo please test this PR To test this PR you will need to install build zip, see https://github.com/redhat-developer/lsp4ij?tab=readme-ov-file#testing-the-ci-builds |
|
I tried out the build. It seems to work fine, though there's this error: StacktraceI installed the build to my regular instance of PyCharm, which has RyeCharm installed, and got this error right after switching Ruff's running mode to LSP4IJ. |
Thats great! Thanks for your feedback.
You should have this same error with nighthy. Let me understand what it happens.
|
Signed-off-by: azerr <[email protected]>
a8a7201 to
1267b3c
Compare
It was a bug that I have fixed. Please retry when https://github.com/redhat-developer/lsp4ij/actions/runs/19802033305/job/56730721625?pr=1379 will be finished. |
|
Thanks. I no longer see the error. |
fix: Remove LSP4J libraries.