This is a creation in Article, where the information may have evolved or changed. git's command-line git bash is handy, but sometimes not intuitive. Git also provides a git GUI tool. More powerful sourcetree tools can also be used under Windows (while supporting GIR,HG,SVN for multi-item viewing). But I always have a heart for the. NET Framework. You don't have to use it. You can also install the Sublimegit plugin inside the sublime. This allows git status to be done directly in sublime, git commit,git diff,git push, and so on. Sublime3 comes with go.sublime, supports go syntax highlighting and completion,
Also need to add sublime under the Go Compiler system, under Sublime Select the "Tools menu", select "Compile System", continue to select "New compiled System", in the popup file to write the following code:
{
" cmd " : [ "go" "$file _name" Span class= "pun" style= "Color: #93a1a1" ",
"file_regex": "^[ ]*File \"(...*?)\", line ([0-9]*)",
"working_dir": "$file_path",
"selector": "source.go",
"variants":
[
{
"name": "test",
"cmd": ["cmd", "/C", "Go","Run", "${file_name}"]
},
{
"name": "Run",
"cmd": ["cmd", "/C", "Go","Install", "${file_base_name}", "&&", "Start","cmd", "/C", "${file_path}/. /.. /bin/${file_base_name} & Pause "]
}
]
}
Save as go, and you'll find the Go compilation options in Tools----> compile system. CTRL B test run directly in Go run mode CTRL Shift B, compiled with go install, and run in command window, suitable for parameter input situations.
There are actually three ways to compile and run the Go mode: Go run runs like a shell, go build directly compiles exe in SRC directory (usually not used) go install compiles exe in Bin directory (General project mode) The comparison tends to be lighter in the IDE, so it compares to appetite.