Enhancement
Sometimes users will edit the kcl.mod file in the IDE to update project dependencies. The integration between LSP and KPM needs to be strengthened
- When users update kcl.mod in the IDE, the required dependencies are automatically downloaded
- When users use the kpm tool to update dependencies, the IDE can be updated (recompiled). For example
import k8s # Error: Module not found
use kcl mod add k8s
kpm will download the k8s package and then the IDE errors will be eliminated
Pretest:
Research the implementation of similar features in other languages (rust's cargo watch is recommended, but any other language is fine), provide research reports and design solutions (optional).
Any form of report is acceptable, but don't submit to this repository, use Google Doc or your own public repository
Enhancement
Sometimes users will edit the kcl.mod file in the IDE to update project dependencies. The integration between LSP and KPM needs to be strengthened
use
kcl mod add k8skpm will download the
k8spackage and then the IDE errors will be eliminatedPretest:
Research the implementation of similar features in other languages (rust's cargo watch is recommended, but any other language is fine), provide research reports and design solutions (optional).
Any form of report is acceptable, but don't submit to this repository, use Google Doc or your own public repository