-
Notifications
You must be signed in to change notification settings - Fork 18.3k
Closed
Closed
Copy link
Labels
FrozenDueToAgeToolsThis label describes issues relating to any tools in the x/tools repository.This label describes issues relating to any tools in the x/tools repository.WaitingForInfoIssue is not actionable because of missing required information, which needs to be provided.Issue is not actionable because of missing required information, which needs to be provided.goplsIssues related to the Go language server, gopls.Issues related to the Go language server, gopls.
Milestone
Description
Please answer these questions before submitting your issue. Thanks!
What version of Go, VS Code & VS Code Go extension are you using?
- Run
go version
to get version of Go- go version go1.14.4 darwin/amd64
- Run
code -v
orcode-insiders -v
to get version of VS Code or VS Code Insiders
1.46.1
cd9ea6488829f560dc949a8b2fb789f3cdc05f5d
x64
- Check your installed extensions to get the version of the VS Code Go extension
- 0.14.4
- Run
go env
to get the go development environment details
GO111MODULE=""
GOARCH="amd64"
GOBIN=""
GOCACHE="/Users/myuser/Library/Caches/go-build"
GOENV="/Users/myuser/Library/Application Support/go/env"
GOEXE=""
GOFLAGS=""
GOHOSTARCH="amd64"
GOHOSTOS="darwin"
GOINSECURE=""
GONOPROXY="github.com/mycompany/*"
GONOSUMDB="github.com/mycompany/*"
GOOS="darwin"
GOPATH="/Users/myuser/.go:/Users/myuser/code/go"
GOPRIVATE="github.com/mycompany/*"
GOPROXY="https://proxy.golang.org,direct"
GOROOT="/Users/myuser/homebrew/Cellar/go/1.14.4/libexec"
GOSUMDB="sum.golang.org"
GOTMPDIR=""
GOTOOLDIR="/Users/myuser/homebrew/Cellar/go/1.14.4/libexec/pkg/tool/darwin_amd64"
GCCGO="gccgo"
AR="ar"
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/dg/vgb4f3j95md47ltbzf2s5z_80000gp/T/go-build159192540=/tmp/go-build -gno-record-gcc-switches -fno-common"
Share the Go related settings you have added/edited
{
"breadcrumbs.enabled": false,
"editor.formatOnSave": true,
"editor.minimap.enabled": false,
"editor.renderWhitespace": "boundary",
"editor.rulers": [80],
"editor.wordWrap": "on",
"editor.wrappingIndent": "none",
"explorer.confirmDelete": false,
"explorer.confirmDragAndDrop": false,
"extensions.ignoreRecommendations": true,
"go.coverOnSingleTest": true,
"go.gopath": "/Users/myuser/.go:/Users/myuser/code/go",
"go.goroot": "/Users/myuser/homebrew/opt/go/libexec",
"go.lintFlags": [
"-D",
"dupl,funlen,gochecknoglobals,gochecknoinits,gocognit,gofumpt,gomnd,nestif,testpackage,wsl",
"--enable-all",
"--fast"
],
"go.lintTool": "golangci-lint",
"go.testFlags": ["-v", "-count=1"],
"go.useLanguageServer": true,
"telemetry.enableTelemetry": false,
"workbench.colorTheme": "Visual Studio Dark",
"workbench.settings.enableNaturalLanguageSearch": false,
"workbench.startupEditor": "newUntitledFile"
}
Describe the bug
Every keypress, a message pops up that says:
Inconsistent vendoring detected. Please re-run "go mod vendor". See https://github.com/golang/go/issues/39164 for more detail on this issue.
This is very unusual (and annoying), because there is nothing inconsistent about my vendoring, to my knowledge. I received no errors from any go command, and my builds all complete successfully.
I have an alias that runs the following (successfully):
go get -u ./... && go mod tidy && go mod vendor
If I limit it to the following, the results are the same:
go get -u ./... && go mod vendor
Additionally, the included GitHub URL is not helpful in determining why my vendoring is allegedly inconsistent. This is from a large(ish) project, so I don't have a sample repo to share at the moment to reproduce.
Steps to reproduce the behavior:
- Press a key.
- See the message pop up.
Metadata
Metadata
Assignees
Labels
FrozenDueToAgeToolsThis label describes issues relating to any tools in the x/tools repository.This label describes issues relating to any tools in the x/tools repository.WaitingForInfoIssue is not actionable because of missing required information, which needs to be provided.Issue is not actionable because of missing required information, which needs to be provided.goplsIssues related to the Go language server, gopls.Issues related to the Go language server, gopls.