Signal

IdeLspService::create-launcher

Declaration

IdeSubprocessLauncher*
create_launcher (
  IdeLspService* self,
  IdePipeline* pipeline,
  GSubprocessFlags flags,
  gpointer user_data
)

Description

Creates the launcher to be used for the LSP.

If you want to use a launcher on the host, this would be a good place to determine that.

Default handler:

The default handler is called after the handlers added via g_signal_connect().

Parameters

pipeline

Type: IdePipeline

A loaded IdePipeline

The data is owned by the caller of the function.
flags

Type: GSubprocessFlags

GSubprocessFlags to use for the launcher.

Return value

The caller of the function takes ownership of the data, and is responsible for freeing it.
The return value can be NULL.