-
-
Notifications
You must be signed in to change notification settings - Fork 10
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
Can the supported IntelliJ version range be extended? #415
Comments
Thank you for creating the issue. https://blog.jetbrains.com/platform/2023/07/lsp-for-plugin-developers/ |
Thank you very much for the info. That makes a lot of sense to me. If the whole plugin is built on a protocol (lsp) that hadn't even been introduced yet in the earlier versions of the IDE, then creating that additional support really is not a viable option. Bummer, but thank you for looking into it :D |
@fbricon @MichaReiser @snowsignal |
@koxudaxi Thank you for asking! We do want the LSP to be the main method for editor extensions to interface with Ruff going forward. As you said, it's a lot less work on the extension side. We have been working on a new Rust-based LSP server, I'm definitely interested in LSP4IJ! We've been concerned that Jetbrains LSP support is only available for paid versions, because we'd like the extension to be used by everyone. So if this gives us a way to support both free and paid versions, (with additional features, no less) that would be great! |
You can start testing your LSP server today, with a nightly build of LSP4IJ, and manually add a language server definition. |
@fbricon However, if my plugin is useful as an integration for users to easily introduce
This is exciting information. I was sure you guys would implement this in |
I don't know anything about ruff-lsp. I'll let you guys validate whether user-defined LS is good enough for you. If it is, then you can maybe open a PR to create a ruff-lsp template in https://github.com/redhat-developer/lsp4ij/blob/main/src/main/resources/templates/template-ls.json, with additional instructions, default settings and initialization options similar to https://github.com/redhat-developer/lsp4ij/tree/main/src/main/resources/templates/rust-analyzer. Do not hesitate to open tickets in https://github.com/redhat-developer/lsp4ij/issues or ask in https://github.com/redhat-developer/lsp4ij/discussions to discuss about LS integration |
I'm not sure what you mean here. If the LSP provides code actions for some diagnostics, then they should show up. If the fix is 100% managed on the server side, it should just work (or else it's a bug we'd need to fix). If the fix requires specific client integration, then that's out-of-scope of LSP4IJ, you'd need to provide a specific plugin integrating with LSP4IJ for that. Now if you're not talking about code actions, then you'll have to provide more details ;-) |
Sorry for the lack of explanation, I am not familiar with this, but I believe many users would like to invoke this request(textDocument.formatting) to fix the code from a keyboard shortcut. |
|
Thank you so much @koxudaxi. I'm really grateful for all the work you've put into the extension. I'm sorry that I missed your DM on Mastodon -- I'm just seeing it now. Our main focus today is on making
You're a hero.
I'll be there! I would love to meet in-person. |
@charliermarsh I had hoped to deliver the ruff experience to as many people as possible through this project (the same goes for my Pydantic and Poetry plugin projects). If the existence of this plugin has reduced the number of users criticizing your project for not being usable in PyCharm, I am happy. I just understood you still plan to allocate your team resources to the Initially, this project implemented many features using only the ruff command, later supported
It's very cool 😄 |
FYI, LSP4IJ is now available in the stable channel on the marketplace |
@fbricon |
@koxudaxi we have released last week LSP4IJ 0.3.0 which provides experimental LSP semantic tokens support. Is there another thing that you need to adopt LSP4IJ ? |
@fbricon @angelozerr @charliermarsh @gSchurkus Sorry for the delay. |
@koxudaxi first congrats. It is a fantastic news for LSP4IJ, thanks! Please create a PR to add your plugin in https://github.com/redhat-developer/lsp4ij?tab=readme-ov-file#who-is-using-lsp4ij |
@koxudaxi Congrats on the release! I can update the Ruff documentation to reflect this change :) |
Is your feature request related to a problem? Please describe.
Thank you for addressing #329 in plugin version
v0.0.32
. Unfortunately, I cannot use that version currently, because we are still pinned toIntelliJ IDEA Ultimate 2023.1.3
, and the plugin page lists any plugin version newer thanv0.0.19
as incompatible with that.Describe the solution you'd like
Is there a technical reason why the plugin is not backwards compatible to older versions of IntelliJ?
If the range could be extended with minimal effort then that would be great.
Since many companies upgrade their software on a bi-annual cycle, it would be ideal if the newest plugin version was always available with all prior year (and current year) versions of the IDE, i.e. currently
Intellij IDEA v2023.*
andIntellij IDEA v2024.*
Describe alternatives you've considered
I understand if extending the compatibility range is too much work. In that case, maybe you could comment on what the challenge is?
The text was updated successfully, but these errors were encountered: