kcl-lang / intellij-kcl

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

feat: resolve kcl-language-server binary from system environment vari… #39

Closed RehanChalana closed 2 months ago

RehanChalana commented 2 months ago

…ables

-Added functionality to search and locate the kcl-language-server binary by scanning system environment variables

-Implemented platform-specific handling for executable extensions (e.g., '.exe' on Windows)

-Added balloon pop-up notification when the binary is not found

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/main/java/io/kusionstack/kcl/ and src/main/resources/META-INF/

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:

Screenshot 2024-09-14 142400

I have manually tested it on windows based system. Manual Testing still needs to be done on Linux or MacOs based system as i don't have access to it.