How to use the vscode-languageclient.ErrorAction.Continue function in vscode-languageclient

To help you get started, we’ve selected a few vscode-languageclient examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github tintoy / msbuild-project-tools-vscode / src / extension / extension.ts View on Github external
error: (error, message, count) => {
                if (count > 2)  // Don't be annoying
                    return ErrorAction.Shutdown;

                console.log(message);
                console.log(error);

                if (message)
                    outputChannel.appendLine(`The MSBuild language server encountered an unexpected error: ${message}\n\n${error}`);
                else
                    outputChannel.appendLine(`The MSBuild language server encountered an unexpected error.\n\n${error}`);

                return ErrorAction.Continue;
            },
            closed: () => CloseAction.DoNotRestart
github microsoft / qsharp-compiler / src / VSCodeExtension / src / languageServer.ts View on Github external
error: (error, message, count) => {
                    sendTelemetryEvent(EventNames.error, {
                        id: error.name,
                        severity: ErrorSeverities.Error,
                        reason: error.message
                    });
                    // By default, continue the server as best as possible.
                    return ErrorAction.Continue;
                }
            }
github PowerShell / vscode-powershell / src / session.ts View on Github external
error: (error: any, message: Message, count: number): ErrorAction => {
                        // TODO: Is there any error worth terminating on?
                        return ErrorAction.Continue;
                    },
                    closed: () => {
github jonnyboyC / kos-language-server / clients / vscode / src / extension.ts View on Github external
error(error: Error, message: Message, count: number): ErrorAction {
        console.log(error);
        console.log(message);
        console.log(count);

        return ErrorAction.Continue;
      },
      closed(): CloseAction {
github MaskRay / vscode-ccls / src / cclsErrorHandler.ts View on Github external
public error(error: Error, message: Message, count: number): ErrorAction {
    logChan(`ccls error (count ${count}): ${message}`);
    return ErrorAction.Continue;
  }
github editor-rs / vscode-rust / src / components / language_client / creator.ts View on Github external
public error(): ErrorAction {
        return ErrorAction.Continue;
    }