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.

Avoid registering more than 1 formatting provider at a time #2446

@ramya-rao-a

Description

@ramya-rao-a

For details on the issue see microsoft/vscode#72315

We register 2 formatting providers when the language server is enabled, but the format feature from it is disabled.

"go.useLanguageServer": true, "go.languageServerExperimentalFeatures": { "format": false } 

We should avoid doing so, and un-register the provider from the language server in such scenario

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions