kcl-lang / intellij-kcl

IntelliJ IDEA KCL Extension
https://kcl-lang.io
11 stars 11 forks source link

[Feature] Deploy to IntelliJ marketplace #26

Closed CC007 closed 5 months ago

CC007 commented 7 months ago

Feature Request

Describe the feature you'd like:

I would like to be able to install this plugin through the intellij marketplace

Describe alternatives you've considered:

Right now you have to manually download the plugin and install the plugin from disk.

Teachability, Documentation, Adoption, Migration Strategy:

This greatly reduces the barrier for entry to use KCL in intellij. You wouldn't need to look for this github project. All you'd have to do is go to the plugin marketplace and look for KCL.

Also, the whole part about manual installation on the README page could be relegated to a separate markdown file, reducing the clutter in the main README, so that it could be focused on building and contributing to the project.

He1pa commented 7 months ago

We have a KCL plugin in the IntelliJ Marketplace. https://plugins.jetbrains.com/plugin/23378-kcl In fact, we have two versions of the IntelliJ plug-in, one is implemented based on the IntelliJ IDE architecture(main branch), and the other is implemented based on the LSP architecture(lsp branch). We put more effort into development of the LSP version because it is more versatile. It can be reused in IDEs such as VSCode and Vim. We have also uploaded this version on the IntelliJ Plugin Market. But because IntelliJ has limited support for LSP, we have another version. But it seems that the plug-in market does not support uploading two versions of plug-ins at the same time. Regarding the ReadMe, it really needs an update

CC007 commented 7 months ago

Ah, is that why it doesn't show up in the IntelliJ Marketplace from inside IntelliJ?

I'm using: IntelliJ IDEA 2024.1 (Ultimate Edition) Build #IU-241.14494.240, built on March 28, 2024

Peefy commented 7 months ago

I think this is a related issue that requires support for the latest version. https://github.com/kcl-lang/intellij-kcl/issues/27 cc @He1pa

CC007 commented 7 months ago

I think this is a related issue that requires support for the latest version. #27 cc @He1pa

Figured as much after He1pa linked the marketplace page.

He1pa commented 6 months ago

@CC007 I've released a new, IntelliJ-based plugin on the market. You can try it. Additionally, we plan to separate the lsp version from this repo and release another plugin..

angelozerr commented 6 months ago

But because IntelliJ has limited support for LSP, we have another version.

Please try https://github.com/redhat-developer/lsp4ij which is a free lsp support for intellij. You can see https://github.com/redhat-developer/lsp4ij/blob/main/docs/LSPSupport.md what we are supporting.

If you need more features please create issues. Thanks.

Peefy commented 6 months ago

@angelozerr Thanks for the input, @He1pa Could you please give a try for lsp4ij?

Peefy commented 5 months ago

Closed by #29 and #28