Skip to content

Find references don't work when cursor is on a modifier #1898

@mjbvz

Description

@mjbvz

Try using find all references with the cursor on a modifier such as public or async

class Foo {
  public async bar() {}
}

const fooInstance = new Foo();
fooInstance.bar();

Bug

This returns no references. It seems like the the cursor has to be on bar

This is a change in behavior vs the mainline TS

Metadata

Metadata

Assignees

No one assigned

    Labels

    Domain: EditorRelated to the LSP server, editor experience

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions