diff --git a/docs/index.md b/docs/index.md index a38837dc11f..48cb46de46c 100644 --- a/docs/index.md +++ b/docs/index.md @@ -44,45 +44,68 @@ ## Поддерживаемые операции протокола -| Операция | Поддержка | Комментарий | Конфигурируется? | -| ------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------- | ------------------------------------------------------------ | ---------------- | -| [workspace/didChangeWorkspaceFolders](https://microsoft.github.io/language-server-protocol/specification-current#workspace_didChangeWorkspaceFolders) | no | | | -| [workspace/didChangeConfiguration](https://microsoft.github.io/language-server-protocol/specification#workspace_didChangeConfiguration) | yes | с ограничениями, см. [#1431](https://github.com/1c-syntax/bsl-language-server/issues/1431) | | -| [workspace/didChangeWatchedFiles](https://microsoft.github.io/language-server-protocol/specification#workspace_didChangeWatchedFiles) | no | | | -| [workspace/symbol](https://microsoft.github.io/language-server-protocol/specification#workspace_symbol) | yes | | | -| [workspace/executeCommand](https://microsoft.github.io/language-server-protocol/specification#workspace_executeCommand) | WiP | | | -| [textDocument/didOpen](https://microsoft.github.io/language-server-protocol/specifications/specification-current/#textDocument_didOpen) | yes | | | -| [textDocument/didChange](https://microsoft.github.io/language-server-protocol/specifications/specification-current/#textDocument_didChange) | yes | см. [#1432](https://github.com/1c-syntax/bsl-language-server/issues/1432)
textDocumentSyncKind = Full | | -| [textDocument/didClose](https://microsoft.github.io/language-server-protocol/specifications/specification-current/#textDocument_didClose) | yes | | | -| [textDocument/didSave](https://microsoft.github.io/language-server-protocol/specifications/specification-current/#textDocument_didSave) | yes | | | -| [textDocument/willSave](https://microsoft.github.io/language-server-protocol/specifications/specification-current/#textDocument_willSave) | no | | | -| [textDocument/willSaveWaitUntil](https://microsoft.github.io/language-server-protocol/specifications/specification-current/#textDocument_willSaveWaitUntil) | no | | | -| [textDocument/publishDiagnostics](https://microsoft.github.io/language-server-protocol/specifications/specification-current/#textDocument_publishDiagnostics) | yes | tagSupport = true
versionSupport = true
[список диагностик](./diagnostics/index.md) | да | -| [textDocument/completion](https://github.com/1c-syntax/bsl-language-server/blob/develop/docs/diagnostics/index.md) | no | resolveProvider = false | | -| [completionItem/resolve](https://microsoft.github.io/language-server-protocol/specifications/specification-current/#completionItem_resolve) | no | | | -| [textDocument/hover](https://microsoft.github.io/language-server-protocol/specifications/specification-current/#textDocument_hover) | WiP | contentFormat = MarkupContent
см [#1405](https://github.com/1c-syntax/bsl-language-server/pull/1405) | | -| [textDocument/signatureHelp](https://microsoft.github.io/language-server-protocol/specifications/specification-current/#textDocument_signatureHelp) | no | | | -| [textDocument/declaration](https://microsoft.github.io/language-server-protocol/specifications/specification-current/#textDocument_declaration) | no | не применимо в 1С:Предприятие | | -| [textDocument/definition](https://microsoft.github.io/language-server-protocol/specifications/specification-current/#textDocument_definition) | WiP | linkSupport = true
см. [#1405](https://github.com/1c-syntax/bsl-language-server/pull/1405) | | -| [textDocument/typeDefinition](https://microsoft.github.io/language-server-protocol/specifications/specification-current/#textDocument_typeDefinition) | no | не применимо в 1С:Предприятие | | -| [textDocument/implementation](https://microsoft.github.io/language-server-protocol/specifications/specification-current/#textDocument_implementation) | no | не применимо в 1С:Предприятие | | -| [textDocument/references](https://microsoft.github.io/language-server-protocol/specifications/specification-current/#textDocument_references) | WiP | см. [#1405](https://github.com/1c-syntax/bsl-language-server/pull/1405) | | -| [textDocument/documentHighlight](https://microsoft.github.io/language-server-protocol/specifications/specification-current/#textDocument_documentHighlight) | no | | | -| [textDocument/documentSymbol](https://microsoft.github.io/language-server-protocol/specifications/specification-current/#textDocument_documentSymbol) | yes | hierarchicalDocumentSymbolSupport = true | | -| [textDocument/codeAction](https://microsoft.github.io/language-server-protocol/specifications/specification-current/#textDocument_codeAction) | yes | codeActionKinds = ? (см. [#1433](https://github.com/1c-syntax/bsl-language-server/issues/1433))
isPreferredSupport = false (см. [#1434](https://github.com/1c-syntax/bsl-language-server/issues/1434)) | да | -| [textDocument/codeLens](https://microsoft.github.io/language-server-protocol/specifications/specification-current/#textDocument_codeLens) | yes | resolveProvider = false | да | -| [codeLens/resolve](https://microsoft.github.io/language-server-protocol/specifications/specification-current/#codeLens_resolve) | no | | | -| [textDocument/documentLink](https://microsoft.github.io/language-server-protocol/specifications/specification-current/#textDocument_documentLink) | yes | Показ гиперссылок на документацию по диагностикам.
tooltipSupport = true
resolveProvider = false | да | -| [documentLink/resolve](https://microsoft.github.io/language-server-protocol/specifications/specification-current/#documentLink_resolve) | no | | | -| [textDocument/documentColor](https://microsoft.github.io/language-server-protocol/specifications/specification-current/#textDocument_documentColor) | no | | | -| [textDocument/colorPresentation](https://microsoft.github.io/language-server-protocol/specifications/specification-current/#textDocument_colorPresentation) | no | | | -| [textDocument/formatting](https://microsoft.github.io/language-server-protocol/specifications/specification-current/#textDocument_formatting) | yes | | | -| [textDocument/rangeFormatting](https://microsoft.github.io/language-server-protocol/specifications/specification-current/#textDocument_rangeFormatting) | yes | | | -| [textDocument/onTypeFormatting](https://microsoft.github.io/language-server-protocol/specifications/specification-current/#textDocument_onTypeFormatting) | no | | | -| [textDocument/rename](https://microsoft.github.io/language-server-protocol/specifications/specification-current/#textDocument_rename) | no | | | -| [textDocument/prepareRename](https://microsoft.github.io/language-server-protocol/specifications/specification-current/#textDocument_prepareRename) | no | | | -| [textDocument/foldingRange](https://microsoft.github.io/language-server-protocol/specifications/specification-current/#textDocument_foldingRange) | yes | | | -| [textDocument/selectionRange](https://microsoft.github.io/language-server-protocol/specifications/specification-current/#textDocument_selectionRange) | no | | | + + +
+ workspace + +| Операция | Поддержка | Комментарий | +| --------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------- | ------------------------------------------------------------------------------------------ | +| [didChangeWorkspaceFolders](https://microsoft.github.io/language-server-protocol/specification-current#workspace_didChangeWorkspaceFolders) | no | | +| [didChangeConfiguration](https://microsoft.github.io/language-server-protocol/specification#workspace_didChangeConfiguration) | yes | с ограничениями, см. [#1431](https://github.com/1c-syntax/bsl-language-server/issues/1431) | +| [didChangeWatchedFiles](https://microsoft.github.io/language-server-protocol/specification#workspace_didChangeWatchedFiles) | no | | +| [symbol](https://microsoft.github.io/language-server-protocol/specification#workspace_symbol) | yes | | +| [executeCommand](https://microsoft.github.io/language-server-protocol/specification#workspace_executeCommand) | WiP | | + +
+ +
+ textDocument + +| Операция | Поддержка | Комментарий | Конфигурируется? | +| ------------------------------------------------------------------------------------------------------------------------------------------------ | -------------------------------------------------------------- | ------------------------------------------------------------ | ---------------- | +| [documentLink](https://microsoft.github.io/language-server-protocol/specifications/specification-current/#textDocument_documentLink) | yes | Показ гиперссылок на документацию по диагностикам.
tooltipSupport = true
resolveProvider = false | да | +| [hover](https://microsoft.github.io/language-server-protocol/specifications/specification-current/#textDocument_hover) | WiP | contentFormat = MarkupContent
см [#1405](https://github.com/1c-syntax/bsl-language-server/pull/1405) | | +| [signatureHelp](https://microsoft.github.io/language-server-protocol/specifications/specification-current/#textDocument_signatureHelp) | no | | | +| [declaration](https://microsoft.github.io/language-server-protocol/specifications/specification-current/#textDocument_declaration) | no | не применимо в 1С:Предприятие | | +| [definition](https://microsoft.github.io/language-server-protocol/specifications/specification-current/#textDocument_definition) | WiP | linkSupport = true
см. [#1405](https://github.com/1c-syntax/bsl-language-server/pull/1405) | | +| [typeDefinition](https://microsoft.github.io/language-server-protocol/specifications/specification-current/#textDocument_typeDefinition) | no | не применимо в 1С:Предприятие | | +| [implementation](https://microsoft.github.io/language-server-protocol/specifications/specification-current/#textDocument_implementation) | no | не применимо в 1С:Предприятие | | +| [references](https://microsoft.github.io/language-server-protocol/specifications/specification-current/#textDocument_references) | WiP | см. [#1405](https://github.com/1c-syntax/bsl-language-server/pull/1405) | | +| [documentHighlight](https://microsoft.github.io/language-server-protocol/specifications/specification-current/#textDocument_documentHighlight) | no | | | +| [documentSymbol](https://microsoft.github.io/language-server-protocol/specifications/specification-current/#textDocument_documentSymbol) | yes | hierarchicalDocumentSymbolSupport = true | | +| [codeAction](https://microsoft.github.io/language-server-protocol/specifications/specification-current/#textDocument_codeAction) | yes | codeActionKinds = ? (см. [#1433](https://github.com/1c-syntax/bsl-language-server/issues/1433))
isPreferredSupport = false (см. [#1434](https://github.com/1c-syntax/bsl-language-server/issues/1434)) | да | +| [codeLens](https://microsoft.github.io/language-server-protocol/specifications/specification-current/#textDocument_codeLens) | yes | resolveProvider = false | да | +| [didOpen](https://microsoft.github.io/language-server-protocol/specifications/specification-current/#textDocument_didOpen) | yes | | | +| [didChange](https://microsoft.github.io/language-server-protocol/specifications/specification-current/#textDocument_didChange) | yes | см. [#1432](https://github.com/1c-syntax/bsl-language-server/issues/1432)
textDocumentSyncKind = Full | | +| [didClose](https://microsoft.github.io/language-server-protocol/specifications/specification-current/#textDocument_didClose) | yes | | | +| [didSave](https://microsoft.github.io/language-server-protocol/specifications/specification-current/#textDocument_didSave) | yes | | | +| [willSave](https://microsoft.github.io/language-server-protocol/specifications/specification-current/#textDocument_willSave) | no | | | +| [willSaveWaitUntil](https://microsoft.github.io/language-server-protocol/specifications/specification-current/#textDocument_willSaveWaitUntil) | no | | | +| [publishDiagnostics](https://microsoft.github.io/language-server-protocol/specifications/specification-current/#textDocument_publishDiagnostics) | yes | tagSupport = true
versionSupport = true
[список диагностик](./diagnostics/index.md) | да | +| [completion](https://github.com/1c-syntax/bsl-language-server/blob/develop/docs/diagnostics/index.md) | no | resolveProvider = false | | +| [documentColor](https://microsoft.github.io/language-server-protocol/specifications/specification-current/#textDocument_documentColor) | no | | | +| [colorPresentation](https://microsoft.github.io/language-server-protocol/specifications/specification-current/#textDocument_colorPresentation) | no | | | +| [formatting](https://microsoft.github.io/language-server-protocol/specifications/specification-current/#textDocument_formatting) | yes | | | +| [rangeFormatting](https://microsoft.github.io/language-server-protocol/specifications/specification-current/#textDocument_rangeFormatting) | yes | | | +| [onTypeFormatting](https://microsoft.github.io/language-server-protocol/specifications/specification-current/#textDocument_onTypeFormatting) | no | | | +| [rename](https://microsoft.github.io/language-server-protocol/specifications/specification-current/#textDocument_rename) | no | | | +| [prepareRename](https://microsoft.github.io/language-server-protocol/specifications/specification-current/#textDocument_prepareRename) | no | | | +| [foldingRange](https://microsoft.github.io/language-server-protocol/specifications/specification-current/#textDocument_foldingRange) | yes | | | +| [selectionRange](https://microsoft.github.io/language-server-protocol/specifications/specification-current/#textDocument_selectionRange) | no | | | + +
+ +
+ прочее + +| Операция | Поддержка | +| ------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------- | +| [completionItem/resolve](https://microsoft.github.io/language-server-protocol/specifications/specification-current/#completionItem_resolve) | no | +| [codeLens/resolve](https://microsoft.github.io/language-server-protocol/specifications/specification-current/#codeLens_resolve) | no | +| [documentLink/resolve](https://microsoft.github.io/language-server-protocol/specifications/specification-current/#documentLink_resolve) | no | + +