kcl-lang / kcl

KCL Programming Language (CNCF Sandbox Project). https://kcl-lang.io
https://kcl-lang.io
Apache License 2.0
1.7k stars 119 forks source link

[bug] After updating dependencies through commands, lsp cannot be automatically updated #1623

Open He1pa opened 2 months ago

He1pa commented 2 months ago

Bug Report

Please answer these questions before submitting your issue. Thanks!

1. Minimal reproduce step (Required)

open file in ide

import k8s

IDE will emit error that k8s cannot be found. Then kcl mod init, kcl mod add k8s

lsp will not update and still emit error

2. What did you expect to see? (Required)

auto update

3. What did you see instead (Required)

4. What is your KCL components version? (Required)