-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Closed
Labels
P2A bug or feature request we're likely to work onA 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.For 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)Incorrect behavior (everything from a crash to more subtle misbehavior)
Description
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 onA 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.For 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)Incorrect behavior (everything from a crash to more subtle misbehavior)