diff --git a/blog/2024-12-06-kcl-0.11.0-release/index.md b/blog/2024-12-06-kcl-0.11.0-release/index.md index a5d63a5b..5a6fe9b0 100644 --- a/blog/2024-12-06-kcl-0.11.0-release/index.md +++ b/blog/2024-12-06-kcl-0.11.0-release/index.md @@ -43,13 +43,16 @@ The KCL team is pleased to announce that **KCL v0.10.0 is now available**! This #### IDE - KCL IntelliJ plugin released 0.4.0, supporting LSP4IJ. -- IDE can complete schemas defined in the worksace but not imported , and automatically insert the import statements of the package -- IDE can watch changes in configuration files(kcl.mod) in the workspace, and automatically update the semantic information in the IDE after kpm updates dependencies +- IDE can complete schemas defined in the worksace but not imported , and automatically insert the import statements of the package. +![complete](/img/blog/2024-12-06-kcl-0.11.0-release/complete.gif) - IDE adds type hints for key in the Config block. -- IDE schema hover provides attribute default value information. +![hint](/img/blog/2024-12-06-kcl-0.11.0-release/hint.png) +- IDE hover provides schema attribute default value information. +![hover](/img/blog/2024-12-06-kcl-0.11.0-release/hover.png) +- IDE can watch changes in configuration files(kcl.mod) in the workspace, and automatically update the semantic information in the IDE after kpm updates dependencies. - IDE fixed the failure of Windows path issues. - IDE fixed the failure of compound assignment operation statements. -- IDE distinguished the highlighting of the `any` from keyword and type +- IDE distinguished the highlighting of the `any` from keyword and type. - IDE fixed the failure of formatting code in the IntelliJ plugin. - Optimized the parser part of the IDE compilation process. - IDE fixed inconsistent hints for function parameters. @@ -65,9 +68,6 @@ The KCL team is pleased to announce that **KCL v0.10.0 is now available**! This #### Standard Libraries - -``` - #### Third-Party Libraries - k8s updated to 1.31.2 @@ -82,7 +82,6 @@ The KCL team is pleased to announce that **KCL v0.10.0 is now available**! This ### ☸️ Ecosystem Integration - #### Multi-Language Plugins - KCL Plugin supports development through Rust. diff --git a/i18n/zh-CN/docusaurus-plugin-content-blog/2024-12-06-kcl-0.11.0-release/index.md b/i18n/zh-CN/docusaurus-plugin-content-blog/2024-12-06-kcl-0.11.0-release/index.md index 0bc246bf..efc926e3 100644 --- a/i18n/zh-CN/docusaurus-plugin-content-blog/2024-12-06-kcl-0.11.0-release/index.md +++ b/i18n/zh-CN/docusaurus-plugin-content-blog/2024-12-06-kcl-0.11.0-release/index.md @@ -41,11 +41,14 @@ KCL 团队很高兴地宣布 **KCL v0.10.0 新版本现在已经可用**!本 #### IDE -- KCL IntelliJ 插件发布 0.4.0 版本,支持 LSP4IJ。 +- KCL IntelliJ 插件发布 0.4.0 版本,支持 LSP4IJ - IDE 可以补全目录中未 import 的 schema,并且自动补充包的 import 语句 -- IDE 能够监控工作目录中的配置文件变化,在 kpm 更新依赖后能自动更新 IDE 中的语义信息 +![complete](/img/blog/2024-12-06-kcl-0.11.0-release/complete.gif) - IDE 新增了 Config 块中 key 的类型 hint。 +![hint](/img/blog/2024-12-06-kcl-0.11.0-release/hint.png) - IDE schema hover 中提供了 attr 默认值信息。 +![hover](/img/blog/2024-12-06-kcl-0.11.0-release/hover.png) +- IDE 能够监控工作目录中的配置文件变化,在 kpm 更新依赖后能自动更新 IDE 中的语义信息 - 修复了 IDE 在 Windows 系统中的异常。 - 修复了 IDE 在复合赋值运算语句中异常的问题。 - 区分了 `any` 关键字和类型的高亮 @@ -86,7 +89,6 @@ KCL 团队很高兴地宣布 **KCL v0.10.0 新版本现在已经可用**!本 #### 多语言插件更新 - ### 📖 文档更新 - 修复 argocd kcl plugin 配置的示例代码中的错误 diff --git a/static/img/blog/2024-12-06-kcl-0.11.0-release/complete.gif b/static/img/blog/2024-12-06-kcl-0.11.0-release/complete.gif new file mode 100644 index 00000000..e6f8c04f Binary files /dev/null and b/static/img/blog/2024-12-06-kcl-0.11.0-release/complete.gif differ diff --git a/static/img/blog/2024-12-06-kcl-0.11.0-release/hint.png b/static/img/blog/2024-12-06-kcl-0.11.0-release/hint.png new file mode 100644 index 00000000..58b017dd Binary files /dev/null and b/static/img/blog/2024-12-06-kcl-0.11.0-release/hint.png differ diff --git a/static/img/blog/2024-12-06-kcl-0.11.0-release/hover.png b/static/img/blog/2024-12-06-kcl-0.11.0-release/hover.png new file mode 100644 index 00000000..1ffaa0de Binary files /dev/null and b/static/img/blog/2024-12-06-kcl-0.11.0-release/hover.png differ