Him188

Results 701 comments of Him188

> 或许一个解决方案是避免这个网络请求,我觉得这比上面的同时返回的方案要好

我觉得需要支持两种 desc 加载方式,一种是现在的,一种是通过一个文件,如 plugin.yml(实际上现在也是支持的) 可以为 JvmPlugin 增加一个无参数构造器,表示使用 plugin.yml 等来提供依赖信息。那么 JvmPluginLoader 可以在存在 plugin.yml 的情况下分析并在加载 class 前链接依赖。 旧方案将继续支持,IDE 新生成的模板将会使用这种新方案。

Yes, yamlkt is indeed in support. YAML is complex to implement from the beginning, and requires a lot of work. I will continue working on it, and I appreciate anyone...

Looks good but this feature requires yamlkt to recognize (the positions of) comments (for now we just ignore all tokens after `#`).

This is probably an IDE bug introduced in Kotlin 1.5.30. The compiler is still compiling fine while IDE reports such errors.

@rizsotto Yes, I missed them during migration from serialization 0.10 to 0.20. Thank you.

Thank you! I will include these tests soon.

Kindly are there any compatibility concerns? If not, you can safely 'override' dependency by adding explicitly `implementation("org.jetbrains.kotlinx:kotlinx-serialization-...")`.

Kaml wraps the SnakeYaml so its structure is limited. I can't write parsers based on that.

I think a better approach to create a well-working multiplatform Yaml parser is to help yamlkt to implement other features. Moving part of the implemented code and reimplementing them again...