Skip to content

General better support for signature files in tooling #779

@baronfel

Description

@baronfel

Right now we have some gaps in our support for signature files:

  • Tooltips don't always resolve the xml docs on signature declarations when inside the same project (Tooltip oddity with signatures/quick info #739)
  • Go-To Definition/Declaration doesn't know how to find definitions in signature files
  • Find References doesn't know how to cover signature files
  • Project Tree/results views may not show signatures correctly/may want to logically group the signature and its implementation file

All of these have a common logical operation that we need to be able to do:

  • for a 'find declaration' operation, we need to be able to say if we want to implementation or the declaration
  • some use cases will always prefer declaration (tooltips/go to declaration), while some may prefer implementation, or even both ranges
  • if the declaration is requested, but the given symbol range is in an implementation file,
  • try to find the declaration in a signature file of the same name and proceed from there

The Visual Studio integration for concepts like go-to-def can serve as a good scaffolding for how we can tackle this.

The primary motivation for this work is an increased amount of tooling support for deriving performance benefits when signature files are present, which I think will naturally lead to an increased usage of them in the ecosystem.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions