client/src/extension.ts
Function startLSClient
has 61 lines of code (exceeds 50 allowed). Consider refactoring. Open
Open
function startLSClient(serverOptions: ServerOptions, context: ExtensionContext) {
// Options to control the language client.
const clientOptions: LanguageClientOptions = {
// Register the server for C/C++ documents.
documentSelector: [{ scheme: 'file', language: 'c' }, { scheme: 'file', language: 'cpp' }],