Class RDCoreInitializationOptions
What a client says of itself to a server in the initializationOptions of the LSP initialize request - the part of the
protocol that exists for exactly this: the settings of a server that no standard capability describes.
public sealed record RDCoreInitializationOptions : IEquatable<RDCoreInitializationOptions>
- Inheritance
-
RDCoreInitializationOptions
- Implements
- Inherited Members
Remarks
The language the workspace is written in is one: a server cannot tell RD-VBA from VB6 or BASIC by looking at the files, and the dialect decides what it builds (the name of the standard library, where an undeclared name declares its variable, which statements exist at all). A server started with a command line has already been told, and what the client sends here wins.
Properties
Language
The identifier of the language the workspace is written in (Id), or null when the client does not say, which leaves the server's own setting.
public string? Language { get; init; }