mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
[lsp] doc ExecuteCommand.kt with links to LSP spec
GitOrigin-RevId: 5fd426cea59e55f8e68c2e166c6c3d86db69460e
This commit is contained in:
committed by
intellij-monorepo-bot
parent
2dede39bd3
commit
d49c348c01
@@ -4,6 +4,9 @@ import kotlinx.serialization.Serializable
|
||||
import kotlinx.serialization.builtins.serializer
|
||||
import kotlinx.serialization.json.JsonElement
|
||||
|
||||
/**
|
||||
* @see <a href="https://microsoft.github.io/language-server-protocol/specifications/lsp/3.17/specification/#executeCommandOptions">executeCommandOptions (LSP spec)</a>
|
||||
*/
|
||||
@Serializable
|
||||
data class ExecuteCommandOptions(
|
||||
val commands: List<String>,
|
||||
@@ -12,6 +15,8 @@ data class ExecuteCommandOptions(
|
||||
/**
|
||||
* Represents parameters for executing a command.
|
||||
* Extends WorkDoneProgressParams.
|
||||
*
|
||||
* @see <a href="https://microsoft.github.io/language-server-protocol/specifications/lsp/3.17/specification/#executeCommandParams">executeCommandParams (LSP spec)</a>
|
||||
*/
|
||||
@Serializable
|
||||
data class ExecuteCommandParams(
|
||||
|
||||
@@ -764,6 +764,9 @@ sealed interface WorkDoneProgress {
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* @see <a href="https://microsoft.github.io/language-server-protocol/specifications/lsp/3.17/specification/#workDoneProgressParams">workDoneProgressParams (LSP spec)</a>
|
||||
*/
|
||||
interface WorkDoneProgressParams {
|
||||
/**
|
||||
* An optional token that a server can use to report work done progress.
|
||||
|
||||
Reference in New Issue
Block a user