Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to build go sublime text3 Development Environment in win10

2025-01-18 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >

Share

Shulou(Shulou.com)06/02 Report--

This article mainly introduces how to build the go sublime text3 development environment in win10, which has a certain reference value, interested friends can refer to, I hope you can learn a lot after reading this article, the following let the editor take you to understand it.

Install go

Open the golang official website https://golang.org/, click to download the installation version of the platform you need, and recommend msi. After the download is completed, click install, and the default settings will be set. The relevant environment variables of go will be automatically set after installation. If you have already installed go, just ignore this step.

Install sublime Text3

Open the sublimetext website http://www.sublimetext.com/ and click to download the installation version of the platform you need. Install it foolishly. Of course, in order to extend the plug-ins of sublime, you need to install the Packdge Control function at the same time. After opening sublime, select Tools, and then click Install Package Control.

Install and configure the GoSublime plug-in

Click Package Control, enter Install Package, select Install Package to confirm, enter GoSublime in the pop-up dialog box, find the corresponding options, and enter. Wait a while for the installation to complete. Observe the description and progress of the bottom task of sublime, and restart sublime Text after the installation is complete. After that, you need to configure the gosublime plug-in accordingly, select Preferences- > Package Setting- > GoSublime- > Settings-User, and enter the following in the window that opens.

{"env": {"GOPATH": "D:/mygo", / / personal code engineering path of go program "GOROOT": "C:/Go" / / installation path of go language}

Restart sublime and you should be ready to use it.

Install other plug-ins

Install the following common plug-ins we need for programming through Package Control. The installation process is the same as installing GoSublime. Select Package Control, enter Install Package, and then enter the corresponding plug-in enter. The plug-ins are as follows.

All Autocomplete,sublime only for the current file to find incomplete in this file, all Autocomplete is to find all the open files is incomplete, choose more and more comprehensive.

ConverttoUTF8, all files edited are encoded in UTF-8.

Bracket Highlighter, parentheses match highlight.

Thank you for reading this article carefully. I hope the article "how to build a go sublime text3 Development Environment in win10" shared by the editor will be helpful to you. At the same time, I also hope you will support us and pay attention to the industry information channel. More related knowledge is waiting for you to learn!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Internet Technology

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report