Class RDCoreLanguageServerProcess
Represents a RDCore.SDK language server application.
public class RDCoreLanguageServerProcess : IRDCoreLanguageServerProcess, IDisposable
- Inheritance
-
RDCoreLanguageServerProcess
- Implements
- Inherited Members
Remarks
A language server application is any RDCore.SDK server platform application that can run a sidecar LSP server.
Constructors
RDCoreLanguageServerProcess(IFileSystem, IConfiguration, ILogger<RDCoreLanguageServerProcess>)
Represents a RDCore.SDK language server application.
public RDCoreLanguageServerProcess(IFileSystem FileSystem, IConfiguration Configuration, ILogger<RDCoreLanguageServerProcess> Logger)
Parameters
FileSystemIFileSystemProvides an abstraction over the file system.
ConfigurationIConfigurationThe current IConfiguration .
LoggerILogger<RDCoreLanguageServerProcess>A standard ILogger.
Remarks
A language server application is any RDCore.SDK server platform application that can run a sidecar LSP server.
Methods
Dispose()
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
public void Dispose()
Dispose(bool)
protected virtual void Dispose(bool disposing)
Parameters
disposingbool
Shutdown()
Stops awaiting LSP server process exit to restart it.
public void Shutdown()
Remarks
This method should be invoked during the Shutdown LSP server lifecycle handler.
Start()
Finds and runs the language server executable with command-line arguments mapping the specified LanguageClientSettings.
public void Start()