Skip to content

"Add curly braces" does not appear as a Quick-fix for always_put_control_body_on_new_line #3981

@guidezpl

Description

@guidezpl

Describe the bug

Single quick fixes don't always appear. In this case, for always_put_control_body_on_new_line.

✅ Inline lightbulb
cmd.
❌ Hovercard ⇒ click "Quick fix"

quickfix.mp4

❌ lightbulb in Problems panel
Screen Shot 2022-05-22 at 16 32 14 1

  • VS Code version: Version: 1.67.2 (Universal)
  • Dart Code extension: 3.40.0
  • Flutter extension: 3.41.20220516 (activated)

There seems to be a separate issue for multi-fixes ("everywhere in this file") that also applies to Android Studio, so filed dart-lang/sdk#49079.

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 enhancement

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions