Skip to content

Commit ef8a03d

Browse files
committed
feat: ide docs
1 parent 818f82d commit ef8a03d

File tree

10 files changed

+231
-15
lines changed

10 files changed

+231
-15
lines changed
Loading
Loading
Loading
Loading

src/.vuepress/sidebar/en.ts

+15-8
Original file line numberDiff line numberDiff line change
@@ -24,16 +24,16 @@ export const enSidebar = sidebar({
2424
icon: "zondicons:network",
2525
prefix: "network/",
2626
collapsible: true,
27-
children: "structure"
27+
children: "structure",
2828
},
2929
{
3030
text: "Database",
3131
icon: "material-symbols:database-outline",
3232
prefix: "database/",
3333
collapsible: true,
34-
children: "structure"
35-
}
36-
]
34+
children: "structure",
35+
},
36+
],
3737
},
3838
{
3939
text: "Interview Questions",
@@ -45,10 +45,17 @@ export const enSidebar = sidebar({
4545
icon: "grommet-icons:golang",
4646
prefix: "golang/basic/",
4747
collapsible: true,
48-
children: "structure"
49-
}
50-
]
51-
},
48+
children: "structure",
49+
},
50+
],
51+
},
52+
{
53+
text: "Dev Tools",
54+
icon: "bi:tools",
55+
prefix: "devtools/",
56+
collapsible: true,
57+
children: "structure",
58+
},
5259
],
5360
},
5461
],

src/.vuepress/sidebar/zh.ts

+14-7
Original file line numberDiff line numberDiff line change
@@ -24,16 +24,16 @@ export const zhSidebar = sidebar({
2424
icon: "zondicons:network",
2525
prefix: "network/",
2626
collapsible: true,
27-
children: "structure"
27+
children: "structure",
2828
},
2929
{
3030
text: "数据库",
3131
icon: "material-symbols:database-outline",
3232
prefix: "database/",
3333
collapsible: true,
34-
children: "structure"
35-
}
36-
]
34+
children: "structure",
35+
},
36+
],
3737
},
3838
{
3939
text: "面试题",
@@ -45,9 +45,16 @@ export const zhSidebar = sidebar({
4545
icon: "grommet-icons:golang",
4646
prefix: "golang/basic/",
4747
collapsible: true,
48-
children: "structure"
49-
}
50-
]
48+
children: "structure",
49+
},
50+
],
51+
},
52+
{
53+
text: "开发工具",
54+
icon: "bi:tools",
55+
prefix: "devtools/",
56+
collapsible: true,
57+
children: "structure",
5158
},
5259
],
5360
},

src/en/guide/devtools/IDE/1-goland.md

+38
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
---
2+
order: 1
3+
title: Goland
4+
---
5+
6+
## Goland
7+
8+
Goland is a Go language IDE launched by JetBrains, offering a wealth of features and plugins that can help developers improve their efficiency.
9+
10+
For local development, Goland is the first choice. It is powerful and well-supported. You can download it here.
11+
12+
For cloud development, **VsCode** is recommended.
13+
14+
## Recommended Plugins
15+
16+
- **String Manipulation**
17+
18+
String Manipulation is a very useful string modification plugin. It can conveniently modify the selected string, converting it to uppercase, lowercase, camel case, etc.
19+
20+
![string](/assets/image/article/devtools/string-modify.png)
21+
22+
- **Makefile Language**
23+
24+
The Makefile Language plugin can help you highlight Makefile syntax and quickly execute make commands.
25+
26+
![Makefile](/assets/image/article/devtools/make-plugin.png)
27+
28+
- **Rainbow Brackets**
29+
30+
Rainbow Brackets is a very practical plugin, mainly used to add color to brackets, making it easier for developers to distinguish bracket levels.
31+
32+
![Rainbow Brackets](/assets/image/article/devtools/rainbow.png)
33+
34+
## Quick Dependency Update
35+
36+
In Goland, open the `go.mod` file, click on require and a light bulb will appear. Click on the light bulb to see `update`. Choose the package to `update` as needed.
37+
38+
![update](/assets/image/article/devtools/update-gomod.png)

src/en/guide/devtools/IDE/2-vscode.md

+63
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,63 @@
1+
---
2+
order: 2
3+
title: VsCode
4+
---
5+
6+
## VsCode
7+
8+
VsCode is an open-source code editor launched by Microsoft. It supports multiple languages and provides a wealth of plugins to help developers improve their efficiency.
9+
10+
For cloud development, **VsCode** is recommended. Click here to download
11+
12+
## Recommended Plugins
13+
14+
- **Go**
15+
16+
Go is a very useful Go language plugin that supports code hints, code formatting, code jumping, and other functions.
17+
18+
::: info
19+
- Name: Go
20+
- Id: golang.go
21+
- Description: Rich Go language support for Visual Studio Code
22+
- Version: 0.41.4
23+
- Publisher: Go Team at Google
24+
- VS Marketplace Link: [https://marketplace.visualstudio.com/items?itemName=golang.Go](https://marketplace.visualstudio.com/items?itemName=golang.Go)
25+
:::
26+
27+
- **indent-rainbow**
28+
A bracket hint plugin that makes it easier for you to see the indentation level of the code.
29+
30+
::: info
31+
- Name: indent-rainbow
32+
- Id: oderwat.indent-rainbow
33+
- Description: Makes indentation easier to read
34+
- Version: 8.3.1
35+
- Publisher: oderwat
36+
- VS Marketplace Link: [https://marketplace.visualstudio.com/items?itemName=oderwat.indent-rainbow](https://marketplace.visualstudio.com/items?itemName=oderwat.indent-rainbow)
37+
:::
38+
39+
- **GitLens**
40+
41+
GitLens is a very useful Git plugin that can help you better manage code versions.
42+
43+
::: info
44+
- Name: GitLens — Git supercharged
45+
- Id: eamodio.gitlens
46+
- Description: Supercharge Git within VS Code — Visualize code authorship at a glance via Git blame annotations and CodeLens, seamlessly navigate and explore Git repositories, gain valuable insights via rich visualizations and powerful comparison commands, and so much more
47+
- Version: 14.9.1
48+
- Publisher: GitKraken
49+
- VS Marketplace Link: [https://marketplace.visualstudio.com/items?itemName=eamodio.gitlens](https://marketplace.visualstudio.com/items?itemName=eamodio.gitlens)
50+
:::
51+
52+
- **Remote Explorer**
53+
54+
Remote Explorer is a very useful remote development plugin that can help you better manage remote code.
55+
56+
::: info
57+
- Name: Remote Explorer
58+
- Id: ms-vscode.remote-explorer
59+
- Description: View remote machines for SSH and Tunnels.
60+
- Version: 0.4.3
61+
- Publisher: Microsoft
62+
- VS Marketplace Link: [https://marketplace.visualstudio.com/items?itemName=ms-vscode.remote-explorer](https://marketplace.visualstudio.com/items?itemName=ms-vscode.remote-explorer)
63+
:::

src/guide/devtools/IDE/1-goland.md

+38
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
---
2+
order: 1
3+
title: Goland
4+
---
5+
6+
## Goland
7+
8+
Goland 是 JetBrains 推出的 Go 语言 IDE,提供了丰富的功能和插件,可以帮助开发者提高开发效率。
9+
10+
如果是本地开发首选 Goland, [下载地址](https://www.jetbrains.com/go/download/#section=windows), 功能强大,支持完善。
11+
12+
如果是云端开发则推荐使用 **VsCode**
13+
14+
## 推荐插件
15+
16+
- **String Manipulation**
17+
18+
String Manipulation 是一个非常好用的字符串修改插件,可以方便地修改所选字符串,将其转换为大写、小写、驼峰等。
19+
20+
![string](/assets/image/article/devtools/string-modify.png)
21+
22+
- **Makefile Language**
23+
24+
Makefile Language 插件可以帮助你高亮 Makefile 语法,快速执行 make 命令
25+
26+
![Makefile](/assets/image/article/devtools/make-plugin.png)
27+
28+
- **Rainbow Brackets**
29+
30+
Rainbow Brackets 是一个非常实用的插件,主要用于给括号添加颜色,方便开发者区分括号的层级。
31+
32+
![Rainbow Brackets](/assets/image/article/devtools/rainbow.png)
33+
34+
## 快速更新依赖
35+
36+
在 Goland 中打开 `go.mod` 文件, 点击 require 会出现灯泡,点击灯泡出现 `update` 根据需求选择 `update` 的包即可。
37+
38+
![update](/assets/image/article/devtools/update-gomod.png)

src/guide/devtools/IDE/2-vscode.md

+63
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,63 @@
1+
---
2+
order: 2
3+
title: VsCode
4+
---
5+
6+
## VsCode
7+
8+
VsCode 是微软推出的开源代码编辑器,支持多种语言,提供了丰富的插件,可以帮助开发者提高开发效率。
9+
10+
如果是云端开发则推荐使用 **VsCode**[点击下载](https://code.visualstudio.com/)
11+
12+
## 推荐插件
13+
14+
- **Go**
15+
16+
Go 是一个非常好用的 Go 语言插件,支持代码提示、代码格式化、代码跳转等功能。
17+
18+
::: info
19+
- Name: Go
20+
- Id: golang.go
21+
- Description: Rich Go language support for Visual Studio Code
22+
- Version: 0.41.4
23+
- Publisher: Go Team at Google
24+
- VS Marketplace Link: [https://marketplace.visualstudio.com/items?itemName=golang.Go](https://marketplace.visualstudio.com/items?itemName=golang.Go)
25+
:::
26+
27+
- **indent-rainbow**
28+
括号提示插件,可以让你更容易地看到代码的缩进层级。
29+
30+
::: info
31+
- Name: indent-rainbow
32+
- Id: oderwat.indent-rainbow
33+
- Description: Makes indentation easier to read
34+
- Version: 8.3.1
35+
- Publisher: oderwat
36+
- VS Marketplace Link: [https://marketplace.visualstudio.com/items?itemName=oderwat.indent-rainbow](https://marketplace.visualstudio.com/items?itemName=oderwat.indent-rainbow)
37+
:::
38+
39+
- **GitLens**
40+
41+
GitLens 是一个非常好用的 Git 插件,可以帮助你更好地管理代码版本。
42+
43+
::: info
44+
- Name: GitLens — Git supercharged
45+
- Id: eamodio.gitlens
46+
- Description: Supercharge Git within VS Code — Visualize code authorship at a glance via Git blame annotations and CodeLens, seamlessly navigate and explore Git repositories, gain valuable insights via rich visualizations and powerful comparison commands, and so much more
47+
- Version: 14.9.1
48+
- Publisher: GitKraken
49+
- VS Marketplace Link: [https://marketplace.visualstudio.com/items?itemName=eamodio.gitlens](https://marketplace.visualstudio.com/items?itemName=eamodio.gitlens)
50+
:::
51+
52+
- **Remote Explorer**
53+
54+
Remote Explorer 是一个非常好用的远程开发插件,可以帮助你更好地管理远程代码。
55+
56+
::: info
57+
- Name: Remote Explorer
58+
- Id: ms-vscode.remote-explorer
59+
- Description: View remote machines for SSH and Tunnels.
60+
- Version: 0.4.3
61+
- Publisher: Microsoft
62+
- VS Marketplace Link: [https://marketplace.visualstudio.com/items?itemName=ms-vscode.remote-explorer](https://marketplace.visualstudio.com/items?itemName=ms-vscode.remote-explorer)
63+
:::

0 commit comments

Comments
 (0)