New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
cmd/go: make error message more readable #3075
Labels
Milestone
Comments
It's worth pointing out that this is not just for vim, but for any editor that supports the standard "quickfix" error format. Unfortunately, it looks like this error is coming via the net/http package (why?), which is the source of the "http: " prefix. It might be quite tricky to cleanly remove that prefix except by using some late-stage hacking. Labels changed: added priority-go1, removed priority-triage. Owner changed to @rsc. |
Okay, that's a different angle on the same bug, then. The original report was about the error not being machine readable because of the leading "http: ". For me, at least, the current error gives me an accurate line number, and I can go see what's on that line and match it up with "package could not be found locally", so in that sense it's perfectly human-readable. I can't, however, push the error through vim and let it take me to the right line automatically, hence it is not machine-readable. I guess both birds will be killed with the same stone, whether the stone is thrown by a human or a machine. |
This issue was closed.
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
The text was updated successfully, but these errors were encountered: