Skip to content

Unrelated code shown when pressing Command over symbol #2653

@DanTup

Description

@DanTup

When pressing Shift+Option over this Icon reference, it shows a snippet of code from the definition, but it seems to include a few lines before (which is unrelated code) that is a bit confusing.

Screenshot 2020-07-20 at 15 41 22

Happens the same in both LSP and DAS.

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