Skip to content
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

Documentation on IntelliJ LSP Support might be outdated #2212

Open
jnt0r opened this issue Apr 12, 2023 · 11 comments
Open

Documentation on IntelliJ LSP Support might be outdated #2212

jnt0r opened this issue Apr 12, 2023 · 11 comments

Comments

@jnt0r
Copy link
Contributor

jnt0r commented Apr 12, 2023

I just followed the documentation on https://www.eclipse.org/Xtext/documentation/340_lsp_support.html#getting-started-intellij and ran into an issue. The Plugin "LSP Support" mentioned in the documentation is not available in my IntelliJ installation (IntelliJ IDEA 2022.3).
On GitHub, the Repository of the plugins seems to be dead.

Is there a workaround like the old gradle goal "runIdea"? I don't find this in a newly created XText project.

@cdietrich
Copy link
Member

cdietrich commented Apr 12, 2023

no run idea was working in Xtext 2.9 only.
you might play around with

or check if you get the original plugin running https://github.com/gtache/intellij-lsp
that the docs is referring to

@jnt0r
Copy link
Contributor Author

jnt0r commented Apr 14, 2023

To clarify the problem. I tried installing the LSP Support extension in IntelliJ. But I didn't find it and could not install it in the newest version of IntelliJ. So this step is not working for me:
grafik

I don't want to build n dedicated IntelliJ Plugin to use my DSL with. So a client library is no solution for me yet.

@cdietrich
Copy link
Member

i have no idea why it is not there.
as this is a third party plugin and i am not involved in that project at all.
the plugin that is maintained does not seem to have an option not to build it for a specific language
thus you basically need to build your own plugin

i cannot tell you why the idea community seems to have zero interest in language servers.
and how other lsp providers contribute their stuff to idea, if at all.

@cdietrich
Copy link
Member

cdietrich commented Apr 14, 2023

@jnt0r the plugin is at least listed here
https://plugins.jetbrains.com/plugin/10209-lsp-support
it says
"Not compatible with the version of your running IDE (IntelliJ IDEA 2023.1)"
but not why
maybe download and install from disk works or at least says why

@jnt0r
Copy link
Contributor Author

jnt0r commented Apr 14, 2023

Thanks, @cdietrich. I will try to download the plugin and debug the error locally.

@cdietrich
Copy link
Member

@jnt0r i at least could install it, and see the preference part for it. but currently cant try it out

@jnt0r
Copy link
Contributor Author

jnt0r commented Apr 14, 2023

Looks like the compatibility level of the plugin is simply too low. Code seems to be working with new versions. I created a PR over there gtache/intellij-lsp#173.

@cdietrich
Copy link
Member

i fear the pr wont get merged
should we remove this from the docs?

@szarnekow
Copy link
Contributor

should we remove this from the docs?

Yes, I'm in favor of removing this.

@cdietrich
Copy link
Member

see also #2739

@angelozerr
Copy link

@cdietrich please note that we have relased https://github.com/redhat-developer/lsp4ij an Intellij plugin which provides free LSP support with LSP console

Please read following documentation:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants