Table of Contents

Class HostProjectAnalyzeParams

Namespace
RDCore.SDK.Platform.Components
Assembly
RDCore.SDK.dll

Request for rdcore/host/project/analyze: the language server asks the environment host to compose a project of the workspace other than the one it runs, for analysis only (ProjectAnalysis).

[Method("rdcore/host/project/analyze", Direction.ClientToServer)]
public record HostProjectAnalyzeParams : IRequest, IRequest<Unit>, IRequest<HostProjectAnalyzeResult>, IBaseRequest, IEquatable<HostProjectAnalyzeParams>
Inheritance
HostProjectAnalyzeParams
Implements
IRequest
IRequest<Unit>
IBaseRequest
Inherited Members

Remarks

The project is composed from the project file at WorkspaceRoot, with the references it lists, as the runtime session is composed from the project the host runs: a name binds in it as it would in a run. A root the host already composed for analysis is composed again, empty of what was defined in it. The language server then defines the project's modules with DefineSymbolsParams under that root, and asks for their models with ModuleUri.

The runtime session is never changed by it. A program never runs in a project composed for analysis, and the requests that run, debug or discard address the runtime session only. The root of the project the host runs is not composed for analysis (Composed).

Part of the component protocol (RDCoreComponentProtocol), outside the SDK's compatibility promise.

Properties

WorkspaceRoot

The root of the project: the folder its project file is in, or the folder the platform makes a project of when it has none.

public Uri WorkspaceRoot { get; init; }

Property Value

Uri