kcl-lang / intellij-kcl

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

feat: set up LSP4IJ support for KCL #38

Closed RehanChalana closed 2 months ago

RehanChalana commented 2 months ago

1. Does this PR affect any open issues?(Y/N) and add issue references (e.g. "fix #123", "re #123".):

2. What is the scope of this PR (e.g. component or file name):

/src/java/io/kusionstack/kcl and /src/resources

3. Provide a description of the PR(e.g. more details, effects, motivations or doc link):

4. Are there any breaking changes?(Y/N) and describe the breaking changes(e.g. more details, motivations or doc link):

5. Are there test cases for these changes?(Y/N) select and add more details, references or doc links:

I was able to test the LSP support by manually running ./gradlew runIde command.

image

Peefy commented 2 months ago

cc @He1pa Could you help review it?

He1pa commented 2 months ago

did you have try to build the plugin by ./gradlew build and install it to test?

angelozerr commented 2 months ago

Thanks @RehanChalana for having used LSP4IJ!

@Peefy @He1pa @RehanChalana could you please create a PR to add your LS in https://github.com/redhat-developer/lsp4ij?tab=readme-ov-file#who-is-using-lsp4ij and if you think LSP4IJ is good, could you add a review at https://plugins.jetbrains.com/plugin/23257-lsp4ij/reviews to help us to promote LSP4IJ. Thanks!

angelozerr commented 2 months ago

Please note that LSP4IJ 0.5.0 has been released yesterday.

Peefy commented 2 months ago

Thank you! @angelozerr

I've opened a PR here: https://github.com/redhat-developer/lsp4ij/pull/518