Skip to content
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

x/tools/cmd/gopls: builtin errors in Problems view in VSCode #32410

Closed
nezorflame opened this issue Jun 3, 2019 · 2 comments
Closed

x/tools/cmd/gopls: builtin errors in Problems view in VSCode #32410

nezorflame opened this issue Jun 3, 2019 · 2 comments

Comments

@nezorflame
Copy link

@nezorflame nezorflame commented Jun 3, 2019

What version of Go are you using (go version)?

$ go version
go version go1.12.5 darwin/amd64

Does this issue reproduce with the latest release?

Yes (tools commit: 2de7f9bf822ce37065c31659ae7187ea9e416dde)

What operating system and processor architecture are you using (go env)?

go env Output
$ go env
...
GOARCH="amd64"
GOOS="darwin"

Editor and extension versions

VSCode: 1.34.0
vscode-go: 0.10.3-beta.4

VSCode settings for vscode-go and gopls

settings.json
    ...
    "go.autocompleteUnimportedPackages": true,
    "go.useCodeSnippetsOnFunctionSuggestWithoutType": true,
    "go.docsTool": "godoc",
    "go.formatTool": "goimports",
    "go.lintTool": "golangci-lint",
    "go.lintFlags": [
        "--config=/my/config/folder/.golangci.yml"
    ],
    "go.buildOnSave": "off",
    "go.vetOnSave": "off",
    "go.lintOnSave": "package",
    "go.coverageDecorator": {
        "type": "gutter"
    },
    "go.coverageOptions": "showUncoveredCodeOnly",
    "go.coverOnTestPackage": true,
    "go.coverOnSingleTest": false,
    "go.testFlags": [
        "-v",
        "-cover"
    ],
    "go.addTags": {
        "tags": "json",
        "promptForTags": false,
        "transform": "snakecase"
    },
    "go.enableCodeLens": {
        "references": false,
        "runtest": true
    },
    "go.useLanguageServer": true,
    "go.languageServerExperimentalFeatures": {
        "diagnostics": true,
        "documentLink": false,
    },
    "gopls": {
        "usePlaceholders": true,
    },
    "[go]": {
        "editor.defaultFormatter": "ms-vscode.Go",
        "editor.snippetSuggestions": "top",
        "editor.formatOnSave": true,
        "editor.codeActionsOnSave": {
            "source.organizeImports": true,
        },
    },
    "files.eol": "\n",
    ...

What did you do?

Just working in any project for some time (usually 5+ minutes is enough).

What did you expect to see?

Only my project's issues.

What did you see instead?

After some time I start to get builtin issues in Problems view:

image

@gopherbot gopherbot added this to the Unreleased milestone Jun 3, 2019
@gopherbot gopherbot added the gopls label Jun 3, 2019
@stamblerre
Copy link
Contributor

@stamblerre stamblerre commented Jun 3, 2019

This should be fixed with https://golang.org/cl/179921.

@stamblerre stamblerre closed this Jun 3, 2019
@nezorflame
Copy link
Author

@nezorflame nezorflame commented Jun 4, 2019

Seems to be fixed. Thanks!

@golang golang locked and limited conversation to collaborators Jun 3, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
3 participants
You can’t perform that action at this time.