Method

IdeLspClientset_name

since: 44

Declaration

void
ide_lsp_client_set_name (
  IdeLspClient* self,
  const char* name
)

Description

Sets the name for the client.

This is useful in situations where you want to be able to have better logging messages which include the LSP name.

Available since: 44

Sets propertyIde.LspClient:name

Parameters

name

Type: const char*

The name of the LSP like “gopls”

The data is owned by the caller of the method.
The value is a NUL terminated UTF-8 string.