Skip to content
This repository has been archived by the owner on Jul 15, 2023. It is now read-only.

Click on file paths/lines/columns in Code Lens test error output to go there #1562

Closed
willfaught opened this issue Mar 7, 2018 · 2 comments

Comments

@willfaught
Copy link

If you use Code Lens to run a test, you see output like this:

Running tool: /usr/local/bin/go test -timeout 30s github.com/foo/bar -run ^TestNewBaz$

# github.com/foo/bar
./baz_test.go:31:52: cannot convert "1" (type string) to type BazInt
./baz_test.go:37:58: cannot convert "\"1\"" (type string) to type BazString
./baz_test.go:38:55: cannot convert "1" (type string) to type BazInt

It'd be great if we could click on the ./baz_test.go:31:52 parts like we can in panic traces to go straight to that file/line/column. Is that possible?

@willfaught
Copy link
Author

Awesome! Thanks!

@ramya-rao-a
Copy link
Contributor

The fix for this is now available in the latest update (0.6.78) to the Go extension

@vscodebot vscodebot bot locked and limited conversation to collaborators Apr 29, 2018
# for free to subscribe to this conversation on GitHub. Already have an account? #.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants