Windows Go Development Environment (3) IDE

Source: Internet
Author: User
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.
Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.