Method

LspInitializeParamsset_root_uri

Declaration

void
lsp_initialize_params_set_root_uri (
  LspInitializeParams* self,
  GUri* value
)

Description

Sets the value of root_uri.

Deprecated: in favor of workspaceFolders

(Kept for backwards compatibility)

The rootUri of the workspace. Is null if no folder is open. If both rootPath and rootUri are set rootUri wins.

Parameters

value

Type: GUri

The new value of root_uri.

The argument can be NULL.
The data is owned by the caller of the method.