InitializeParams

case class InitializeParams(processId: Opt[Int], clientInfo: Opt[ClientInfo], locale: Opt[String], rootPath: Opt[Opt[String]], rootUri: Opt[DocumentUri], capabilities: ClientCapabilities, initializationOptions: Opt[Value], trace: Opt["off" | "messages" | "compact" | "verbose"], workspaceFolders: Opt[Opt[Vector[WorkspaceFolder]]])
Value parameters:
capabilities

The capabilities provided by the client (editor or tool)

clientInfo

Information about the client since 3.15.0

initializationOptions

User provided initialization options.

locale

The locale the client is currently showing the user interface in. This must not necessarily be the locale of the operating system. Uses IETF language tags as the value's syntax (See https://en.wikipedia.org/wiki/IETF_language_tag) since 3.16.0

processId

The process Id of the parent process that started the server. Is null if the process has not been started by another process. If the parent process is not alive then the server should exit.

rootPath

The rootPath of the workspace. Is null if no folder is open.

rootUri

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

trace

The initial trace setting. If omitted trace is disabled ('off').

workspaceFolders

The workspace folders configured in the client when the server starts. This property is only available if the client supports workspace folders. It can be null if the client supports workspace folders but none are configured. since 3.6.0

Companion:
object
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any

Value members

Inherited methods

def productElementNames: Iterator[String]
Inherited from:
Product
def productIterator: Iterator[Any]
Inherited from:
Product