Skip to content

Handle #:project directives in the IDE #78945

@RikkiGibson

Description

@RikkiGibson

Min-bar for #:project: when the associated project has been built, we can at least behave at equivalent quality to <Reference> item in an ordinary project. e.g. go-to-def goes to a "metadata as source" view of the project, rename across projects may not work gracefully, etc. But the IDE is not completely broken.

Ideal quality bar: #:project references are handled similarly to <ProjectReference> items in ordinary projects. Editor features involving the symbols from the other project will use the appropriate source code elements from the other project, etc. This may be tricky, as the Roslyn Workspace usually only wants to resolve project references to source when the projects are in the same workspace. But our design has the projects in different workspaces. The file-based-programs that we load, are not members of any solution, and so it's not obvious how we would load them in the ordinary workspace if we wanted to. So, there are unknowns to investigate in order to budget the engineering work to reach the ideal level of quality here.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions