In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-03-16 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/02 Report--
This article introduces the relevant knowledge of "what to do when Sublime Text3 installs the plug-in gosublime". In the operation of the actual case, many people will encounter such a dilemma, so let the editor lead you to learn how to deal with these situations. I hope you can read it carefully and be able to achieve something!
When building the golang development environment under windows (there are many specific steps online, Baidu can find it by searching the text in front of parentheses), it encountered a very awkward situation (as shown below), and Baidu did not find a similar situation.
Solution (3 steps in total): (this is also the process of manually installing plug-ins)
Step one:
From the toolbar-Preferences----, you can see the Browse Package (the first one is). After opening it, you will find the plug-in installation path, such as:
C:\ Users.AppData\ Roaming\ Sublime Text 3\ Packages
(if you have git, you can use this "simplified method" instead of steps 2 and 3-"under the path where Browse Package is open, open git bash, execute" git clone https://github.com/DisposaBoy/GoSublime.git", and then restart "- if there is no git, just press steps 2 and 3. )
Step 2:
Open the web page https://github.com/DisposaBoy/GoSublime and download the zip package of gosublime. Since github is relatively slow, the local download address is provided here and decompressed to the path in the previous step.
Step 3:
The name of the extracted file is changed to GoSublime (note that you need to download the zip of the master branch, the name of the downloaded file is GoSublime-master.zip, and the original name of the decompressed file is GoSublime-master)
Finally, restart sublime, and the problem on my own computer is solved, showing that the sublime plug-in has been successfully installed:
PS: the installation has been completed here. If you want to use it in an advanced way-run the code in the console called up by ctrl + B, you also need to configure the margo file:
1 find the GoSublime/src directory under the path where Browse Package is opened, and create a new margo directory in it
2 copy the file GoSublime/src/margo.sh/extension-example/extension/extension-example.go to the newly created directory margo. And renamed it margo.go.
If you do not do these two steps, executing commands such as go build with gosublime will report an error:
Actions: RunCmd, error: margo has not started after 0.200sPS2: after installing gosublime successfully, you can press the ctrl+ point and the ctrl+ point, and all the functions of the gosublime plug-in will be displayed. "ctrl+ point, ctrl+ point" means to press twice in a row. Many shortcut keys in gosublime need to press double keys.
This is the end of the content of "what to do if you can't find it when you install the plug-in gosublime in Sublime Text3". Thank you for reading. If you want to know more about the industry, you can follow the website, the editor will output more high-quality practical articles for you!
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: 204
*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.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.