IntelliJ idea安装Go语言插件

时间:2024-10-13 18:19:26

1、启动IntelliJ IDEA打开最近的工程,如图:

IntelliJ idea安装Go语言插件

2、点击菜单“File”-“Settings...”,如图:

IntelliJ idea安装Go语言插件

3、在Settings对话框的左侧选择“Plugins”,然后点击“Browse repositories...”按钮,如图:

IntelliJ idea安装Go语言插件

4、在“Browse Repositories”对话框中,点击“Manager repositories...”按钮,如图:

IntelliJ idea安装Go语言插件

5、在“Custom Plugin Repositories”对话框中,点击“+”按钮,如图:

IntelliJ idea安装Go语言插件

6、在“Add Repository”对话框中,输入go语言插件的地址,并点击OK按钮。如图:go语言插件的地址:https://plugins.jetbrains.com/plugins/alpha/5047

IntelliJ idea安装Go语言插件

7、在“Custom Plugin Repositories”对话框,点击OK按钮,如图:

IntelliJ idea安装Go语言插件

8、接着,在“Browse Repositories”对话框的左侧找到“Go“的插件,并点击”Install“按钮,如图:

IntelliJ idea安装Go语言插件

9、如果下载安装成功,就点击"Restart IntelliJ IDEA"按钮的完成安装,如图:如果下载不成功,可以设置代理来下载。

IntelliJ idea安装Go语言插件

10、再点击“Settings”对话框的“OK”按钮,就提示重启了,如图:

IntelliJ idea安装Go语言插件

11、重启后,就完成了Go语言插件的安装了。

© 手抄报圈