Skip to content

[analyzer] Missing/incorrect completion for analysis_options (in some cases) #57077

@incendial

Description

@incendial

Hi, this is probably related to yaml parser, but still.

  1. When invoking the completion suggestions manually (in my case, option + esc), top level entries are suggested even when they are already in the config:
Screenshot 2024-11-13 at 14 15 16

To reproduce:

analyzer:
  // <-- call the completion here
  exclude:
  1. Typing anything under the first entry (when there are other entries below it) does not trigger the completion at all
analyzer:
  // <-- start typing here
  exclude:
Screenshot 2024-11-13 at 14 17 03

Expected suggestions:
Screenshot 2024-11-13 at 14 17 20

Metadata

Metadata

Assignees

No one assigned

    Labels

    P3A lower priority bug or feature requestarea-devexpFor issues related to the analysis server, IDE support, linter, `dart fix`, and diagnostic messages.devexp-completionIssues with the analysis server's code completion featuretype-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