Skip to content

Missing documentation about Language Server Extension #2183

@Shaadjir

Description

@Shaadjir

Hello,

I work on language client/server implementation in VS code.
I base my work on Language Server Extension Guide. Thanks for this good tutorial.

Unfortunately, I cannot find any documentation about some available settings. Please can you help me to find possible client and server options that we can define in pieces of code in Explaining the 'Language Client'

Here are the 2 code extracts where I need to find possible options:

  let serverOptions: ServerOptions = {
    run: { module: serverModule, transport: TransportKind.ipc },
    debug: {
      module: serverModule,
      transport: TransportKind.ipc,
      options: debugOptions
    }
  };

  // Options to control the language client
  let clientOptions: LanguageClientOptions = {
    // Register the server for plain text documents
    documentSelector: [{ scheme: 'file', language: 'plaintext' }],
    synchronize: {
      // Notify the server about file changes to '.clientrc files contained in the workspace
      fileEvents: workspace.createFileSystemWatcher('**/.clientrc')
    }
  };

Thanks in advance for your help.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions