Skip to content

Analyzer plugins fix only responds to quick fix request on single point #61491

@jensjoha

Description

@jensjoha

I tried creating a lint and a fix.
I report the lint on the node (rule.reportAtNode(node)) (which has a huge length).
The lint shows up in the "problems view" in my IDE (VSCode), and from there I can right-click and is offered the fix.

Normally I do ctrl+. (asks for quickfix) when the cursor is inside the squiggly line - but that only appear to work when I'm at the first position (say there's a squiggly on foobar - if my cursor is at the start |foobar it works, but if I'm anywhere else it doesn't).

Am I holding something wrong or does it not work through the plugin as it does for normal lints/fixes?

/cc @srawlins

Metadata

Metadata

Assignees

Labels

P2A bug or feature request we're likely to work onarea-devexpFor issues related to the analysis server, IDE support, linter, `dart fix`, and diagnostic messages.devexp-plugintype-bugIncorrect behavior (everything from a crash to more subtle misbehavior)

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions