Class SdkWorkspaceOptions
- Namespace
- RDCore.SDK.Server.Configuration
- Assembly
- RDCore.SDK.dll
Workspace-level configuration settings, bound from appsettings.json or overridden from command-line arguments.
public record SdkWorkspaceOptions : IEquatable<SdkWorkspaceOptions>
- Inheritance
-
SdkWorkspaceOptions
- Implements
- Inherited Members
Properties
DefaultLocation
The default location of RDCore workspaces (source files) on disk.
public string DefaultLocation { get; set; }
Property Value
Remarks
👉 This location is used as a root when the WorkspaceUri is relative.
WorkspaceUri
The location of the workspace to work with if none is supplied.
public string WorkspaceUri { get; set; }
Property Value
Remarks
This setting is for client applications. The workspace location a LSP server application should work with should be supplied by a command-line argument or as a parameter in the Initialize request.
⚠️ If a workspace Uri is not supplied, a server application should exit with an error code.