Closed RO-29 closed 5 years ago
You mentioned in your tweets, that changing the coverage type to "highlight" worked. Can you try the below
type
in the coverage decorator setting and not change the coveredGutterStyle
and unCoveredGutterStyle
go.coverOnSingleTest
and go.coverOnSave
enabled. Can you disable both and try using the Go: Toggle Code Coverage in Current Package
instead?Make sure you don't have anything in your workspace settings that might be over-riding your user settings
checked, nothing
Edit only the type in the coverage decorator setting and not change the coveredGutterStyle and unCoveredGutterStyle
removed other settings
You have both go.coverOnSingleTest and go.coverOnSave enabled. Can you disable both and try using the Go: Toggle Code Coverage in Current Package instead?
done
still, after the above steps, the result is same.
that changing the coverage type to "highlight" worked
yes, it still works only type "gutter" type does not work.
I tried re-installing vs-code but no effect š¢
OKKKKK I FINALLLY GOT THIS WORKING
editor.glyphMargin
was set to false
š¤¦āāļø š¤¦āāļø š¤¦āāļø
Sorry for the trouble!
wow, I had no idea there was such a setting!
Happy Coding!
- any Go related settings you might have added/changed - go version
GOARCH="amd64" GOBIN="" GOCACHE="/Users/rohit/Library/Caches/go-build" GOEXE="" GOFLAGS="" GOHOSTARCH="amd64" GOHOSTOS="darwin" GOOS="darwin" GOPATH="/Users/rohit/go" GOPROXY="" GORACE="" GOROOT="/usr/local/go" GOTMPDIR="" GOTOOLDIR="/usr/local/go/pkg/tool/darwin_amd64" GCCGO="gccgo" CC="clang" CXX="clang++" CGO_ENABLED="1" GOMOD="" CGO_CFLAGS="-g -O2" CGO_CPPFLAGS="" CGO_CXXFLAGS="-g -O2" CGO_FFLAGS="-g -O2" CGO_LDFLAGS="-g -O2" PKG_CONFIG="pkg-config" GOGCCFLAGS="-fPIC -m64 -pthread -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -fdebug-prefix-map=/var/folders/3b/ln1zj0815y95sf0qq565wsvr0000gn/T/go-build317454192=/tmp/go-build -gno-record-gcc-switches -fno-common"```
-- vs code settings.json
vscode-go version: 0.7.0
Steps to Reproduce: