mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
also refromat the file GitOrigin-RevId: fc98f95db70992e9f1bb74dca560ccb09f5a8e0b
44 lines
1.2 KiB
Kotlin
44 lines
1.2 KiB
Kotlin
package com.jetbrains.lsp.protocol
|
|
|
|
import kotlinx.serialization.Serializable
|
|
|
|
/**
|
|
* @see <a href="https://microsoft.github.io/language-server-protocol/specifications/lsp/3.17/specification/#logTrace">logTraceParams (LSP spec)</a>
|
|
*/
|
|
@Serializable
|
|
data class LogTraceParams(
|
|
/**
|
|
* The message to be logged.
|
|
*/
|
|
val message: String,
|
|
/**
|
|
* Additional information that can be computed if the `trace` configuration
|
|
* is set to `"verbose"`
|
|
*/
|
|
val verbose: String?,
|
|
)
|
|
|
|
@Serializable
|
|
data class SetTraceParams(
|
|
/**
|
|
* The new value that should be assigned to the trace setting.
|
|
*/
|
|
val value: TraceValue,
|
|
)
|
|
|
|
/**
|
|
* @see <a href="https://microsoft.github.io/language-server-protocol/specifications/lsp/3.17/specification/#logTrace">$/logTrace (LSP spec)</a>
|
|
*/
|
|
val LogTraceNotificationType: NotificationType<LogTraceParams> = NotificationType(
|
|
method = "$/logTrace",
|
|
paramsSerializer = LogTraceParams.serializer(),
|
|
)
|
|
|
|
/**
|
|
* @see <a href="https://microsoft.github.io/language-server-protocol/specifications/lsp/3.17/specification/#setTrace">$/setTrace (LSP spec)</a>
|
|
*/
|
|
val SetTraceNotificationType: NotificationType<SetTraceParams> = NotificationType(
|
|
method = "$/setTrace",
|
|
paramsSerializer = SetTraceParams.serializer(),
|
|
)
|