LSP API in 0.7.0, please try it with nighthy build! #561
Replies: 7 comments 12 replies
-
@CppCXY @InSyncWithFoo @seachicken @KUGDev @AlexWeinstein92 @aparnamichael @MituuZ @turkeylurkey @mrglavas @koxudaxi @FalsePattern @onriv @kristofvb @themartdev please follow this discussion |
Beta Was this translation helpful? Give feedback.
-
Congratulations! I revised my review: now it has 5 stars. |
Beta Was this translation helpful? Give feedback.
-
I've removed the formatter proxy workaround from ZigBrains dev branch, |
Beta Was this translation helpful? Give feedback.
-
Q: How can I add a dependency on the nightly build from my plugin? I think this question was already answered elsewhere (I saw/read it somewhere)... but it took me a while to find this info again: #543 (comment)
Might be something to add to the instructions on consuming knightly builds (in case someone wants to compile/test their own plugin code against changed/new apis... they will probably need to know how to do this) |
Beta Was this translation helpful? Give feedback.
-
Minor nits:
Overall, good job. |
Beta Was this translation helpful? Give feedback.
-
@angelozerr I have been testing 0.7.0-20241004-071208 today and haven't encountered any new issues so far. As you might be aware, we released Liberty Tools for IntelliJ 24.0.9 last week and that is the first version of our plugin to use LSP4IJ from the Marketplace. Now that we have a release in the field we're now especially interested in a stable API so that it continues to work as new versions of LSP4IJ are released. Thanks. |
Beta Was this translation helpful? Give feedback.
-
Thanks all for your feedback. I launched the 0.7.0 release, we need to wait for few day for JetBrains approval. |
Beta Was this translation helpful? Give feedback.
-
With @fbricon we decided to merge my big PR #543
You can try by installing nightly-builds and read doc at:
I had to do a very big refactoring (but if you use LSP4IJ without using LanguageServerAccessor, you should not be impacted for the code compatibility), but I hope I have not broken some LSP features.
Please apologize if there are some regression and please create issues if you find some regression that I will fix it ASAP.
You can find documentation of LSP API at https://github.com/redhat-developer/lsp4ij/blob/main/docs/LSPApi.md
Please note the API could change during the 0.7.0, so if you have some suggestion (rename of some method, etc), we can do that now, but after the release it will harder.
I need to revisit LSP completion feature API because the prefix code completion is very uggly. I need to revisit that, but you can start to override basic method at https://github.com/redhat-developer/lsp4ij/issues?q=is%3Aissue+is%3Aopen+label%3Aapi-customization
I have tried to add proper Javadoc, documentation but it is not perfect, so please create PRs to fix that.
This LSP API should fix almost issues https://github.com/redhat-developer/lsp4ij/issues?q=is%3Aissue+is%3Aopen+label%3Aapi-customization
There are too new methods which helps to get language server and execute command if you want to get your language server orexecute command in a custom view for instance. See:
In other words, please install nightly-builds, play with LSP API and don't hesitate to make PRs to fix Javadoc, documentation, your suggestions for API improvements, Thanks!
Beta Was this translation helpful? Give feedback.
All reactions