/// Signals the extension that the language server has been successfully initialized.
/// </summary>
/// <returns>A <see cref="Task"/> which completes when actions that need to be performed when the server is ready are done.</returns>
publicTaskOnServerInitializedAsync()
{
// We don't have any tasks that need to be triggered after the server has successfully initialized.
returnTask.CompletedTask;
}
/// <summary>
/// Signals the extension that the language server failed to initialize.
/// </summary>
/// <returns>A <see cref="Task"/> which completes when additional actions that need to be performed when the server fails to initialize are done.</returns>
// The imported files contents are added to the content of the generated C# file, so we get diagnostics
// for both the c# contents in the original razor document and for any of the content in any of the imported files when we query diagnostics for the generated C# file.
// These diagnostics will be reported with DiagnosticDataLocation.OriginalFilePath = generated C# file, and DiagnosticDataLocation.MappedFilePath = imported razor file.
// for both the c# contents in the original razor document and for any of the content in any of the imported
// files when we query diagnostics for the generated C# file.
// These diagnostics will be reported with DiagnosticDataLocation.OriginalFilePath = generated C# file and
/// Signals the extension that the language server has been successfully initialized.
/// </summary>
/// <returns>A <see cref="Task"/> which completes when actions that need to be performed when the server is ready are done.</returns>
publicTaskOnServerInitializedAsync()
{
// We don't have any tasks that need to be triggered after the server has successfully initialized.
returnTask.CompletedTask;
}
/// <summary>
/// Signals the extension that the language server failed to initialize.
/// </summary>
/// <returns>A <see cref="Task"/> which completes when additional actions that need to be performed when the server fails to initialize are done.</returns>
/// Signals the extension that the language server has been successfully initialized.
/// </summary>
/// <returns>A <see cref="Task"/> which completes when actions that need to be performed when the server is ready are done.</returns>
publicTaskOnServerInitializedAsync()
{
// We don't have any tasks that need to be triggered after the server has successfully initialized.
returnTask.CompletedTask;
}
/// <summary>
/// Signals the extension that the language server failed to initialize.
/// </summary>
/// <returns>A <see cref="Task"/> which completes when additional actions that need to be performed when the server fails to initialize are done.</returns>