diff --git a/docs/index.md b/docs/index.md index 48cb46de46c..f711dd672ca 100644 --- a/docs/index.md +++ b/docs/index.md @@ -44,66 +44,74 @@ ## Поддерживаемые операции протокола - -
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 | | +| Операция | Поддержка | Комментарий | +| ------------------------------------------------------------ | ------------------------------------------------------------ | ------------------------------------------------------------ | +| [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) | yes | | +| [applyEdit](https://microsoft.github.io/language-server-protocol/specifications/specification-current/#workspace_applyEdit) | no | | +| [willCreateFiles](https://microsoft.github.io/language-server-protocol/specifications/specification-current/#workspace_willCreateFiles) | no | |
- textDocument + Text Synchronization -| Операция | Поддержка | Комментарий | Конфигурируется? | -| ------------------------------------------------------------------------------------------------------------------------------------------------ | -------------------------------------------------------------- | ------------------------------------------------------------ | ---------------- | -| [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 | | | +| Операция | Поддержка | Комментарий | +| --------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------- | ------------------------------------------------------------------------------------------ | +| [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 | 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 | | |
- прочее + textDocument -| Операция | Поддержка | -| ------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------- | -| [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 | +| Операция | Поддержка | Комментарий | Конфигурируется? | +| ------------------------------------------------------------ | ------------------------------------------------------------ | ------------------------------------------------------------ | ---------------- | +| [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 | | +| [completionItem/resolve](https://microsoft.github.io/language-server-protocol/specifications/specification-current/#completionItem_resolve) | no | | | +| [hover](https://microsoft.github.io/language-server-protocol/specifications/specification-current/#textDocument_hover) | yes | contentFormat = MarkupContent | | +| [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) | yes | linkSupport = true | | +| [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) | yes | | | +| [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 = true | да | +| [codeAction/resolve](https://microsoft.github.io/language-server-protocol/specifications/specification-current/#codeAction_resolve) | no | | | +| [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 | | | +| [codeLens/refresh](https://microsoft.github.io/language-server-protocol/specifications/specification-current/#codeLens_refresh) | no | | | +| [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 | | | +| [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 | | | +| [prepareCallHierarchy](https://microsoft.github.io/language-server-protocol/specifications/specification-current/#textDocument_prepareCallHierarchy) | yes | | | +| [callHierarchy/incomingCalls](https://microsoft.github.io/language-server-protocol/specifications/specification-current/#callHierarchy_incomingCalls) | yes | | | +| [callHierarchy/outgoingCalls](https://microsoft.github.io/language-server-protocol/specifications/specification-current/#callHierarchy_outgoingCalls) | yes | | | +| [semanticTokens](https://microsoft.github.io/language-server-protocol/specifications/specification-current/#textDocument_semanticTokens) | no | | | +| [linkedEditingRange](https://microsoft.github.io/language-server-protocol/specifications/specification-current/#textDocument_linkedEditingRange) | no | | | +| [moniker](https://microsoft.github.io/language-server-protocol/specifications/specification-current/#textDocument_moniker) | no | | |