He1pa

Results 43 comments of He1pa

https://github.com/golang/tools/blob/master/gopls/doc/workspace.md https://go.dev/blog/gopls-scalability

# Design ## kcl.work Reference from gopls's `go work` and rust's `workspace` in cargo.toml, use an explicit configuration file `kcl.work` to define the LSP workspace. The kcl.work file is line...

Does this problem occur in a specific project, or does it occur in any project? If just in some specific project, can you provide sample code?

Can you provide some code snippets that cause the error, or some steps to reproduce it? @gagemillerlob

@debfire thank you, I will fix it as soon as possible

I want to confirm, does the problem you mentioned only occur in the IDE, or does it occur in the IDE and during the compilation process? Regarding the module-related behaves,...

For question 2, according to the design of kcl, all files in kcl file1.k file2.k file3.k ... fileN.k render.k are regarded as the `entry` of compilation. So their variables are...

> Gotcha, I'll try to get an example out tomorrow. > > In the meantime, is there a better way to get all instances in a set of directories without...

There are a few questions that need to be confirmed. 1. Did you execute kcl mod init && kcl mod add k8s first or import k8s.api.apps.v1 as k8sapps in main.k?...

First of all, I don't think it's a good idea to give any schema a default value directly. This may lead to inconsistencies: some types have a default value (schema),...