Skip to content

Code completion incorrectly returns results in comments at end of file #3281

@DanTup

Description

@DanTup

The fix for #3170 only works if there is a newline after the comment or the offset of completion is not exactly at EOF.

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