-
-
Notifications
You must be signed in to change notification settings - Fork 1
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 support for LSP4IJ #42
Conversation
Qodana Community for JVMIt seems all right 👌 No new problems were found according to the checks applied 💡 Qodana analysis was run in the pull request mode: only the changed files were checked View the detailed Qodana reportTo be able to view the detailed Qodana report, you can either:
To get - name: 'Qodana Scan'
uses: JetBrains/qodana-action@v2024.1.5
with:
upload-result: true Contact Qodana teamContact us at qodana-support@jetbrains.com
|
A few problems to be resolved:
|
The verifier seems to be failing for whatever reason. That, too, needs to be taken care of. |
I don't understand very well what you mean. You want disable language server?
If I understand correctly you want to start / stop language server with a Java API? If it that I have a PR redhat-developer/lsp4ij#318 for that (you can read documentation from the PR)
We did that in Intellij Quarkus, see https://github.com/redhat-developer/intellij-quarkus/blob/f69407114100adb185a4fac8360e9ad3f8460706/src/main/java/com/redhat/devtools/intellij/qute/lsp/QuteLanguageClient.java#L104
|
That's correct. I would like to conditionally prevent it from being initialized.
That PR seems to be what I'm looking for. Guess I'll have to wait until it is merged.
Where am I supposed to call it? I need it to be sent just once right after initialization. |
Ok, the PR redhat-developer/lsp4ij#318 manages that too. @fbricon we need to merge this PR ASAP because now we have 2 adaptors who need this support.
Great! Indeed we need to merge this PR and we plan to create a release as soon as this PR will be merged. See https://github.com/redhat-developer/lsp4ij/milestone/2
The usecase with Qute is to track profile changed and send a didChangeConfiguration. In your case you want to call it when language server is started. Let me study how to do that. |
|
dc83bff
to
4347fb5
Compare
This should be mergeable once #45 is merged. |
@InSyncWithFoo once you will decide to adapt LSP4IJ could you please:
Thanks! |
I've been trying this branch for a couple of days and it seems to be working great! |
Copy from JetBrains/intellij-platform-plugin-template#438 Add missing property Remove redundant block Add `org.jetbrains.intellij.platform.buildFeature.useBinaryReleases = false` Move `PythonCore` to `platformBundledPlugins` Sync comment Web link instead of app link Unnecessary comment Bump to v2.0.0-beta7 Re-add accidentally removed `systemProperty()` call Manually specify the IDEs to verify against Revert "Manually specify the IDEs to verify against" This reverts commit ad49196. Bump `org.jetbrains.kotlinx.kover` back to 0.8.1 Remove extraneous comment
…= false` argument in script
Fixes #38.