Skip to content

Highlighting prefixed element is offsetΒ #56981

@FMorschel

Description

@FMorschel

Repro:

other.dart:

class MyClassName {}

main.dart

import 'other.dart' as i show MyClassName;

void f1([i.MyClassName? c]) {}

Now when you place the cursor over MyClassName it does highlight every reference to it but when you have the prefix it is offset/shorter (I'm unsure if you'd like to highlight the full i.MyClassName or only MyClassName):

image


CC: @DanTup

Metadata

Metadata

Assignees

No one assigned

    Labels

    legacy-area-analyzerUse area-devexp instead.type-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