Skip to content

goLanguageServer.ts: ignore invalid go.languageServerFlags #2730

Open
@hyangah

Description

@hyangah

We occasionally observe corrupted settings.json or misconfiguration in "go.langaugeServerFlags" causes failed gopls start.

#2726
#2672
and more.

Sanitize the setting or ignore if the setting values are clearly bogus.
(We should also notify the user of the ignored or invalid setting value)

Metadata

Metadata

Assignees

No one assigned

    Labels

    NeedsFixThe path to resolution is known, but the work has not been done.

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions