-
Notifications
You must be signed in to change notification settings - Fork 125
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
[LFX] Enhancement: KCL IDE automatically updates the dependencies through kpm #998
Comments
Hi @octonawish-akcodes 😄 Let me add more details to this issue. KCL IDE is the main interface for users to write KCL, and kpm is the package management tool for KCL, used for managing KCL's third-party libraries. KCL IDE is developed based on LSP - https://microsoft.github.io/language-server-protocol/ KCL IDE uses kpm commands to manage KCL packages. The main work of this issue is to make KCL IDE automatically update the current KCL package's third-party dependencies according to the The command used by kpm to update the KCL package's third-party library is
We previously integrated a command
If any other questions, please let me know 😄 😄 😄 |
Just a small query, how can I test my code? |
/assign |
Hey @zong-zhe, i got over the explaination you've given and have doubts regarding my conclusion, please correct me if i am wrong. So the fetch_metadata() function just gives us the output that fetch_mod_metadata() function returns after it passes the command 'kcl mod metadata'... from this, we store those third-party dependencies and iterate over each and verify if they need to be upgraded or not. |
I can try to figure this out on my own but can you please save my time by mentioning how do i check this "version of a third-party dependency".Thank you. 😊 |
I believe you can see the versions of those third party dependencies in |
Hi @d4v1d03 😄 kpm is here ! - https://github.com/kcl-lang/kpm |
Hi @d4v1d03 , The |
Ok @zong-zhe , thanks for the clarification. I will work on the pretest you mentioned over here. Are there any couple more to work on so i could get a good grasp of kpm. |
Closed as 2024 LFX Phase 1 has already ended and open another one |
Enhancement
When a KCL package is loaded using KCL IDE, the IDE automatically updates the dependencies of the current KCL package through the
kcl mod
command.PreTest
The text was updated successfully, but these errors were encountered: