Install Sublime Text
Download sublime text from home page http://www.sublimetext.com/
Install PackageControl
Flow struction in this page : https://packagecontrol.io/installation
Add plugin
Ctrl + Shift + P / Command + Shift + PP
Typing : GoSublime
Install Path
Install Go : https://golang.org/dl/
Add GoImport from command: go get -u golang.org/x/tools/cmd/goimports
Active setting : Preferences -> Package Settings -> GoSublime -> Settings - User
Paste :
Download sublime text from home page http://www.sublimetext.com/
Install PackageControl
Flow struction in this page : https://packagecontrol.io/installation
Add plugin
Ctrl + Shift + P / Command + Shift + PP
Typing : GoSublime
Install Path
Install Go : https://golang.org/dl/
Add GoImport from command: go get -u golang.org/x/tools/cmd/goimports
Active setting : Preferences -> Package Settings -> GoSublime -> Settings - User
Paste :
{ "env": { "GOPATH": "$HOME/Documents/go:$GS_GOPATH", "GOROOT": "/usr/local/go/" }, "fmt_cmd": ["goimports"]}
Nhận xét
Đăng nhận xét