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

Help with live errors when using language server #2907

@GrimTheReaper

Description

@GrimTheReaper

Building up on #2707
I would reopen it and add more there, but it is locked.

I ended up disabling the language server and I never ran into the issue again, although as of late gocode is taking up more resources than it should so I either can turn it off and not have a functional IDE, or try the language server.

This time around, I noticed that yeah, it's the language server (gopls) making the live errors come back, and I noticed that I cannot turn them off with the go.liveErrors config. The next solution would be to turn go.LanguageServerExperimentalFeatures.diagnostics to false, but that disables all error checking.

I noticed that I can pass flags with go.languageServerFlags, but gopls doesn't seem to have any for live errors?

The heck am I supposed to do to turn them off with the language server, without disabling my error checking on save?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions