disposaboy / gosublime-next Goto Github PK
View Code? Open in Web Editor NEWdev repo (I don't like git branching) ... it's probably broken
License: MIT License
dev repo (I don't like git branching) ... it's probably broken
License: MIT License
| GoSublime error: MarGo build failed
| > This is possibly a bug or miss-configuration of your environment.
| > For more help, please file an issue with the following build output
| > at: https://github.com/DisposaBoy/GoSublime/issues/new
| > or alternatively, you may send an email to: [email protected]
| >
| >
| > cmd: ['/usr/bin/go', 'build', '-tags', 'gosublime', '-v', '-x', '-o', '~/.config/sublime-text-3/Packages/User/GoSublime/linux-x64/2014.09.22-020125_go1.2.1/bin/margo', 'gosubli.me/margo']
| > stdout: ``
| > stderr:WORK=/tmp/go-build476131580 | > can't load package: package gosubli.me/margo: cannot find package "gosubli.me/margo" in any of: | > /usr/lib/go/src/pkg/gosubli.me/margo (from $GOROOT) | > ~/.config/sublime-text-3/Packages/GoSublime/src/gosubli.me/margo (from $GOPATH)
| > exception:`None`
| install state: busy
| sublime.version: 3065
| sublime.channel: stable
| about.ann: a14.03.28-1
| about.version: r13.12.26-3
| version: 2014.09.22-020125
| platform: linux-x64
| ~bin: ~/.config/sublime-text-3/Packages/User/GoSublime/linux-x64/2014.09.22-020125_go1.2.1/bin
| go.exe: /usr/bin/go (ok)
| margo.exe: margo (missing)
| go.version: go1.2.1
| GOROOT: /usr/lib/go
| GOPATH: ~/projects/golang
| MARGOPATH: ~/.config/sublime-text-3/Packages/GoSublime
| GOBIN: (not set)
| cfg.shell: []
| env.shell: /bin/bash
| shell.cmd: ['/bin/bash', '-l', '-c', '${CMD}']
I tried to config zsh on gosublime configs and always get the error that GOPATH not found, I exported the GOPATH on both files, bashrc and zshrc, when I put the config:
"shell": ["/bin/bash", "--login", "-c", "${CMD}"]
Works fine but with ZSH I try:
"shell": ["/bin/zsh", "--login", "sh -l -c", "${CMD}"]
and :
"shell": ["/bin/zsh", "--login", "SHELL -l -c", "${CMD}"]
and :
"shell": ["/bin/zsh", "--login", "$SHELL -l -c", "${CMD}"]
And didn't work, I don't know why?
I just started using ST3 recently and I have to say GoSublime blows away every other Go IDE I've ever used.
I've been up for a while so excuse me if I don't make much sense, however I've got this idea.
Is it possible to have a snippet (or some command) where you can for example go impl iface
and it will print out all the functions in that interface :
func (${1:this} ${2:*st}) IfaceFunc1Sig() {}
func (${1:this} ${2:*st}) IfaceFunc2Sig() {}
func (${1:this} ${2:*st}) IfaceFunc3Sig() {}
Regards,
Ahmed W.
It appears that if my GOPATH is ignored if it starts with GOROOT. Example output from 9o env:
"GOPATH": "/Users/ej/gopath",
"GOROOT": "/Users/ej/g",
When I look at the output of "browse declarations" it only includes the standard libraries. If I do: mv gopath pgopath
and change my GoSublime settings:
"GOPATH": "/Users/ej/pgopath",
"GOROOT": "/Users/ej/g",
Then "browse declarations" includes the packages that are in the pgopath
directory. Literally the only thing I am changing is the directory name. I tried this with both GoSublime-next and the stable release. Can I help figure out why this doesn't work? Thanks!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.