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

Are there any open source plugins that use this library? #261

Open
itviewer opened this issue Nov 4, 2021 · 7 comments
Open

Are there any open source plugins that use this library? #261

itviewer opened this issue Nov 4, 2021 · 7 comments

Comments

@itviewer
Copy link

itviewer commented Nov 4, 2021

I want to learn how to use this library, are there any sample Intellij plugins(still being maintained)?

@nixel2007
Copy link
Contributor

Hi there! 1C:Enterprise (BSL) language plugin uses lsp4intellij: https://github.com/1c-syntax/intellij-language-1c-bsl

it's not actively maintained now cause most of resources was transfered to develop BSL Language Server itself, but feel free to ask any questions (I'm the lead of all 1c-syntax projects)

@vicky17d
Copy link

Is it just a library or is there a corresponding plugin as well that I can install in IntelliJ IDEA?
Similar to https://plugins.jetbrains.com/plugin/10209-lsp-support

@nixel2007
Copy link
Contributor

This library was founded as hard fork of lsp-support plugin (https://github.com/gtache/intellij-lsp).

@vicky17d
Copy link

Yes I did see that.
That plugin does not work currently and is not maintained. If I don't have my own plugin to bundle this library in, how do I use it?
With intellij-lsp, I could simply install it in my plugins.

@nixel2007
Copy link
Contributor

You should develop your own plugin with preload task. See example in Readme

@patricknelson
Copy link

patricknelson commented Feb 17, 2022

I'm in the same boat as @vicky17d. Basically, instead of building language server support into the IDE themselves, they point to this plugin with the comment:

it seems to be actively maintained so it'll probably deliver a better experience

So essentially I'm looking for some way to simply enable LSP support so that I can support a language I'm interested in by pointing the LSP client to this language's LSP server. But right now based on my admitted limited understanding, it appears that you'd have to build your own custom plugin in order to leverage this particular library (which makes sense given what it was built for).

So, that said: I'd be 100% interested in an actual plugin for IntelliJ IDEs that filled the gap that LSP Support did, i.e.: Add LSP support with the ability for the user to easily customize which LSP servers they'd like to use. That is... until JetBrains decides to actually do this themselves like VSCode and Eclipse.

@robclancy
Copy link

You can see what they were doing here: https://github.com/ballerina-platform/ballerina-lang/tree/065cf3d07391d2430f4bcc1d07580893f1b07be2/tool-plugins/intellij

This is the state right before they deleted the plugin, I guess maintaining this was a lot of work since Intellij doesn't just support it for some stupid reason (even though apparently their new IDE will).

I had planned to try to get LSP working until I saw this issue, then went digging to find what happened. Dunno if I will attempt it now.

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

No branches or pull requests

5 participants