Replies: 10 comments 23 replies
-
Thanks and sorry that we don't have plan to support IntelliJ/JetBrains in the short term yet. Our VScode extension uses another OSS project Langium. I found there was an open issue with it too: I think we will consider to support it when this issue is resolved by langium. |
Beta Was this translation helpful? Give feedback.
-
Heads up: As of Intellij Platform Build 232, LSP is supported. Ironically, the LSP plugin implementation provided for reference is the JetBrains platform Prisma plugin! Development of an IntelliJ platform plugin for ZenStack is no longer blocked by that issue. Build 232 released just under a month ago. |
Beta Was this translation helpful? Give feedback.
-
Related issue here: #519 |
Beta Was this translation helpful? Give feedback.
-
Just out of curiosity. What makes you guys choose Jetbrains instead of VSCode? |
Beta Was this translation helpful? Give feedback.
-
Thank you for the comments @Lordfirespeed @adaliszk ! I used to use JetBrains in my Java days and really loved it. Then got attracted by VSCode's lightness when it came out and have been staying with it since then. Lots of improvement must have happened in the past few years. Another thing is IDE is usually a team decision. Few teams make sure their code base works flawlessly with multiple IDEs. So I believe many teams have decided to settle on JetBrains and continue that way. I wish the new LSP progress makes it much easier for ZenStack to offer a good experience in JetBrains. Let me know if you guys are interested in collaborating on it. |
Beta Was this translation helpful? Give feedback.
-
Great to know that! We can definitely use your help. Let me also take a look at JetBrains, and let's chat in more detail before starting the work. |
Beta Was this translation helpful? Give feedback.
-
Hello eryone, I'm interested about using zenstack in out new product - however in our team we use Jetbrains Webstorm. I kindly ask if there has been any progress on this issue lately? Thanks in advance for some information! |
Beta Was this translation helpful? Give feedback.
-
Hello @adaliszk @anli-xsigns @milansimek @Lordfirespeed , I've made some progress implementing a JetBrains plugin using its LSP support. The following are working now:
I've submitted a review to JetBrains but it hasn't been approved yet. When you guys have time, do you mind helping test it with the offline build? I have very limited experience using JetBrains IDE 🙏 |
Beta Was this translation helpful? Give feedback.
-
The plugin is live now! https://plugins.jetbrains.com/plugin/23397-zenstack-language-tools/versions/stable/458108 |
Beta Was this translation helpful? Give feedback.
-
The goal of LSP4IJ is that it is an LSP client like vscode does. So you can consume any existing language server written in any language (Java, TypeScript with node, etc) To integrate a language server you can:
We define some language server template which initialize command for some language server like TypeScript, Go, Rust, see https://github.com/redhat-developer/lsp4ij/blob/main/docs/UserDefinedLanguageServer.md#using-template For instance if you have installed vscode, you can consume the vscode css language server coming from vscode just by filling the proper command and file mappings, see https://github.com/redhat-developer/lsp4ij/blob/main/docs/user-defined-ls/vscode-css-language-server.md I suggest that you install LSP4IJ nightly-builds https://github.com/redhat-developer/lsp4ij/tree/main?tab=readme-ov-file#testing-nightly-builds and you try to create an user defined language server We plan to release soon LSP4IJ.
You are right and LSP4IJ provides this feature. You can see the current LSP support at https://github.com/redhat-developer/lsp4ij/blob/main/docs/LSPSupport.md |
Beta Was this translation helpful? Give feedback.
-
Hey!
First, you are doing a fantastic job adding advanced features on top of Prisma!
I saw that you had made a VS Code extension to add your syntax, linting, and more; however, would it be possible to create a very basic IntelliJ/JetBrains plugin as well? It should only need the syntax and the formatting rules; the IDE already ships the rest.
Beta Was this translation helpful? Give feedback.
All reactions