Skip to content

Commit 72a8297

Browse files
committed
refactor: polish IDE documents.
1 parent 60629ca commit 72a8297

File tree

40 files changed

+190
-32
lines changed

40 files changed

+190
-32
lines changed

docs/tools/Ide/intellij.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
---
2+
sidebar_position: 3
3+
---
4+
15
# IntelliJ IDEA
26

3-
+ IntelliJ Plugin: https://github.com/kcl-lang/intellij-kcl
7+
+ IntelliJ KCL Extension: [https://github.com/kcl-lang/intellij-kcl](https://github.com/kcl-lang/intellij-kcl)
8+
9+
![intellij](/img/docs/tools/Ide/intellij/overview.png)

docs/tools/Ide/neovim.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
---
2+
sidebar_position: 2
3+
---
4+
5+
# NeoVim
6+
7+
+ NeoVim KCL Extension: [https://github.com/kcl-lang/kcl.nvim](https://github.com/kcl-lang/kcl.nvim)
8+
9+
![kcl.nvim](/img/docs/tools/Ide/neovim/overview.png)

docs/tools/Ide/vs-code.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,8 @@
1-
# KCL Extension for Visual Studio Code
1+
---
2+
sidebar_position: 1
3+
---
4+
5+
# Visual Studio Code
26

37
## Quick Start
48

docs/user_docs/getting-started/install.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,14 +127,22 @@ GitCommit: {git commit}
127127

128128
For all the above operating systems and installation methods, if you want to use [KCL Python Plugin](/docs/reference/plugin/overview), you need to ensure that Python 3.7+ is installed and add the python3 command to your PATH environment variable.
129129

130-
## 2. Install the KCL IDE Extension
130+
## 2. Install KCL IDE Extension
131131

132132
### VS Code
133133

134134
The KCL Extension extension provides some coding assistance, e.g., highlight, goto definition, completion, hover, outline, and diagnostics. You can go [here](/docs/tools/Ide/vs-code) for more information about the installation.
135135

136136
![Completion](/img/docs/tools/Ide/vs-code/Completion.gif)
137137

138+
### NeoVim
139+
140+
See [here](https://github.com/kcl-lang/kcl.nvim) to config the KCL language server and enable it.
141+
142+
![kcl.nvim](/img/docs/tools/Ide/neovim/overview.png)
143+
138144
### IntelliJ IDEA
139145

140146
Download the distribution from [here](https://github.com/kcl-lang/intellij-kcl/releases) and in IntelliJ IDEA, click Preference -> plugins -> install Plugin from Disk... -> select kcl-idea-plugin zip -> restart IDE. This plugin requires the IntelliJ IDEA 2020.2+
147+
148+
![intellij](/img/docs/tools/Ide/intellij/overview.png)
Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
---
2+
sidebar_position: 2
3+
---
4+
15
# IntelliJ IDEA
26

3-
+ IntelliJ Plugin: https://github.com/kcl-lang/intellij-kcl
7+
+ IntelliJ KCL 插件: [https://github.com/kcl-lang/intellij-kcl](https://github.com/kcl-lang/intellij-kcl)
8+
9+
![intellij](/img/docs/tools/Ide/intellij/overview.png)
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
---
2+
sidebar_position: 2
3+
---
4+
5+
# NeoVim
6+
7+
+ NeoVim KCL 插件: [https://github.com/kcl-lang/kcl.nvim](https://github.com/kcl-lang/kcl.nvim)
8+
9+
![kcl.nvim](/img/docs/tools/Ide/neovim/overview.png)

i18n/zh-CN/docusaurus-plugin-content-docs/current/tools/Ide/vs-code.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,8 @@
1-
# Visual Studio Code KCL 插件
1+
---
2+
sidebar_position: 1
3+
---
4+
5+
# Visual Studio Code
26

37
## 快速开始
48

i18n/zh-CN/docusaurus-plugin-content-docs/current/user_docs/getting-started/install.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -135,6 +135,12 @@ KCL 为 VS Code 本地版本提供了插件支持,并提供了高亮、自动
135135

136136
![Completion](/img/docs/tools/Ide/vs-code/Completion.gif)
137137

138+
### NeoVim
139+
140+
参见[此处](https://github.com/kcl-lang/kcl.nvim)配置 KCL 语言服务器并启用它。
141+
142+
![kcl.nvim](/img/docs/tools/Ide/neovim/overview.png)
143+
138144
### IntelliJ IDEA
139145

140146
[这里](https://github.com/kcl-lang/intellij-kcl/releases)下载发行版,在 IntelliJ IDEA 中,点击 Preference -> plugins -> install Plugin from Disk... -> 选择 kcl-idea-plugin zip -> 重启 IDE。此插件需要 IntelliJ IDEA 2020.2+
Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
---
2+
sidebar_position: 2
3+
---
4+
15
# IntelliJ IDEA
26

3-
+ IntelliJ Plugin: https://github.com/kcl-lang/intellij-kcl
7+
+ IntelliJ KCL 插件: [https://github.com/kcl-lang/intellij-kcl](https://github.com/kcl-lang/intellij-kcl)
8+
9+
![intellij](/img/docs/tools/Ide/intellij/overview.png)
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
---
2+
sidebar_position: 2
3+
---
4+
5+
# NeoVim
6+
7+
+ NeoVim KCL 插件: [https://github.com/kcl-lang/kcl.nvim](https://github.com/kcl-lang/kcl.nvim)
8+
9+
![kcl.nvim](/img/docs/tools/Ide/neovim/overview.png)

0 commit comments

Comments
 (0)