Table of Contents

Class RDCoreLanguageServerLaunchOptions

Namespace
RDCore.SDK.Client
Assembly
RDCore.SDK.Protocol.dll

What a client passes to start the language server of a deployed platform.

public sealed record RDCoreLanguageServerLaunchOptions : IEquatable<RDCoreLanguageServerLaunchOptions>
Inheritance
RDCoreLanguageServerLaunchOptions
Implements
Inherited Members

Properties

ClientProcessId

The process of the client, which the language server ends with when it ends; null to leave that to the LSP initialize request's processId.

public int? ClientProcessId { get; init; }

Property Value

int?

PipeName

The name of the pipe the language server listens on, and the client connects to; null for a new one (NewPipeName()).

public string? PipeName { get; init; }

Property Value

string

PlatformRoot

The platform root: the folder of rdcore.json (FileName), with a subfolder for each component.

public required string PlatformRoot { get; init; }

Property Value

string

Remarks

A relative path is relative to the current directory of the process that prepares the launch.

Workspace

The workspace the language server opens, as the client names it: its folder's absolute file: URI, or its absolute path.

public required string Workspace { get; init; }

Property Value

string

Remarks

The language server is given it as a URI, escaped (AbsoluteUri), whichever way the client named it.