Skip to content

Analyzer plugin fixes and assists are not available when using LSP #3502

Closed
@dkrutskikh

Description

@dkrutskikh

Hi! I'm one of the authors of Dart Code Metrics, and we use analyzer plugin API (like sending AnalysisErrorFixes, etc.) to communicate with the analysis server. If I enable LSP preview in VSCode and have the plugin enabled, VSCode starts to display diagnostics without quick fixes. For example,

image

image

It works fine when LSP preview is disabled.

image

Could there be a problem with the analysis server?

Dart SDK version: 2.14.0-301.2.beta (beta) (Mon Jul 19 23:53:21 2021 +0200) on "macos_x64"
VSCode version: 1.58.0
Dart extension version: 3.24.2

Metadata

Metadata

Assignees

No one assigned

    Labels

    in editorRelates to code editing or language featuresin lsp/analysis serverSomething to be fixed in the Dart analysis serveris bug

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions