I'm an amateur dev who likes playing around with new languages. I'm really interested in Go, and I'm looking for a way to make Sublime Text a satisfying editor/environment for Go on OSX. GoSublime just doesn't seem to do what I want.
My issues with GoSublime:
GoSublime requires one to CMD B to open GoSublime's console pane, then type "build" to compile, and doesn't even include tests. To test the executable, one has to type "run" in that same pane. Once the executable is running, one has to type "tskill" to end the task, and this frequently doesn't even work.
GoSublime makes no attempt to respect the structure of the $GOPATH directory. Binaries end up right next to the source files that are being built, not in a temp folder as if one were simply testing, nor in the bin folder as if one were installing.
What I really want in my editor/environment:
On save, build to a temp directory, run tests, output error messages to the Sublime Text Console.
On CMD B, build with tests and install to the correct bin directory, based on location of the source file(s) being built.
Leave my OSX terminal in the appropriate bin directory for running the production version when I choose to. No need for "run" from within GoSublime.
Any ideas or suggestions would be welcome.
Subreddit
Post Details
- Posted
- 9 years ago
- Reddit URL
- View post on reddit.com
- External URL
- reddit.com/r/golang/comm...