Skip to content

"part of" declarations do not support file links #3970

@gskinner

Description

@gskinner

Is your feature request related to a problem? Please describe.
Most declarations that reference other files (ex. import, part) support command-clicking the path to jump to that file. This currently does not work for part of. This is even weirder since it's supported in part, so you can nav to the part, but not back from it.

Describe the solution you'd like
Cmd-clicking the path (ex. "file_name.dart" below) in a part of statement should jump to that file.

part of 'file_name.dart'

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