Skip to content

Commit

Permalink
Таблица операций
Browse files Browse the repository at this point in the history
  • Loading branch information
nixel2007 committed Mar 26, 2021
1 parent e180727 commit f8a701a
Show file tree
Hide file tree
Showing 2 changed files with 83 additions and 1 deletion.
42 changes: 42 additions & 0 deletions docs/assets/images/checkmark.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
42 changes: 41 additions & 1 deletion docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,47 @@
* Запуск движка диагностик из командной строки
* Запуск форматирования файлов в каталоге из командной строки

<a id="cli"></a>
## Поддерживаемые операции протокола

| Операция | Поддержка | Комментарий | Конфигурируется? |
| ------------------------------------------------------------ | ------------------------------------------------------------ | ------------------------------------------------------------ | ---------------- |
| workspace/didChangeWorkspaceFolders | нет | | |
| workspace/didChangeConfiguration | с ограничениями, см [#1431](https://github.com/1c-syntax/bsl-language-server/issues/1431) | | |
| workspace/didChangeWatchedFiles | нет | | |
| workspace/symbol | <img src="./assets/images/checkmark.svg" alt="yes" style="zoom: 5%;" />да | | |
| workspace/executeCommand | wip | | |
| [textDocument/didOpen](https://microsoft.github.io/language-server-protocol/specifications/specification-current/#textDocument_didOpen) | <img src="./assets/images/checkmark.svg" alt="yes" style="zoom: 5%;" />да | | |
| [textDocument/didChange](https://microsoft.github.io/language-server-protocol/specifications/specification-current/#textDocument_didChange) | <img src="./assets/images/checkmark.svg" alt="yes" style="zoom: 5%;" />да. см [#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) | <img src="./assets/images/checkmark.svg" alt="yes" style="zoom: 5%;" />да | | |
| [textDocument/didSave](https://microsoft.github.io/language-server-protocol/specifications/specification-current/#textDocument_didSave) | <img src="./assets/images/checkmark.svg" alt="yes" style="zoom: 5%;" />да | | |
| [textDocument/willSave](https://microsoft.github.io/language-server-protocol/specifications/specification-current/#textDocument_willSave) | нет | | |
| [textDocument/willSaveWaitUntil](https://microsoft.github.io/language-server-protocol/specifications/specification-current/#textDocument_willSaveWaitUntil) | нет | | |
| [textDocument/publishDiagnostics](https://microsoft.github.io/language-server-protocol/specifications/specification-current/#textDocument_publishDiagnostics) | <img src="./assets/images/checkmark.svg" alt="yes" style="zoom: 5%;" />[да](./diagnostics/index.md) | tagSupport = true<br />versionSupport = true | да |
| [textDocument/completion](https://github.com/1c-syntax/bsl-language-server/blob/develop/docs/diagnostics/index.md) | нет | resolveProvider = false | |
| [completionItem/resolve](https://microsoft.github.io/language-server-protocol/specifications/specification-current/#completionItem_resolve) | нет | | |
| [textDocument/hover](https://microsoft.github.io/language-server-protocol/specifications/specification-current/#textDocument_hover) | wip, см [#1405](https://github.com/1c-syntax/bsl-language-server/pull/1405) | contentFormat = MarkupContent | |
| [textDocument/signatureHelp](https://microsoft.github.io/language-server-protocol/specifications/specification-current/#textDocument_signatureHelp) | нет | | |
| [textDocument/declaration](https://microsoft.github.io/language-server-protocol/specifications/specification-current/#textDocument_declaration) | нет | не применимо в 1С:Предприятие | |
| [textDocument/definition](https://microsoft.github.io/language-server-protocol/specifications/specification-current/#textDocument_definition) | wip, см [#1405](https://github.com/1c-syntax/bsl-language-server/pull/1405) | linkSupport = true | |
| [textDocument/typeDefinition](https://microsoft.github.io/language-server-protocol/specifications/specification-current/#textDocument_typeDefinition) | нет | не применимо в 1С:Предприятие | |
| [textDocument/implementation](https://microsoft.github.io/language-server-protocol/specifications/specification-current/#textDocument_implementation) | нет | не применимо в 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) | нет | | |
| [textDocument/documentSymbol](https://microsoft.github.io/language-server-protocol/specifications/specification-current/#textDocument_documentSymbol) | <img src="./assets/images/checkmark.svg" alt="yes" style="zoom: 5%;" />да | hierarchicalDocumentSymbolSupport = true | |
| [textDocument/codeAction](https://microsoft.github.io/language-server-protocol/specifications/specification-current/#textDocument_codeAction) | <img src="./assets/images/checkmark.svg" alt="yes" style="zoom: 5%;" />да | codeActionKinds = ? (см [#1433](https://github.com/1c-syntax/bsl-language-server/issues/1433))<br />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) | <img src="./assets/images/checkmark.svg" alt="yes" style="zoom: 5%;" />да | resolveProvider = false | да |
| [codeLens/resolve](https://microsoft.github.io/language-server-protocol/specifications/specification-current/#codeLens_resolve) | нет | | |
| [textDocument/documentLink](https://microsoft.github.io/language-server-protocol/specifications/specification-current/#textDocument_documentLink) | <img src="./assets/images/checkmark.svg" alt="yes" style="zoom: 5%;" />да | Показ гиперссылок на документацию по диагностикам.<br />tooltipSupport = true<br />resolveProvider = false | да |
| [documentLink/resolve](https://microsoft.github.io/language-server-protocol/specifications/specification-current/#documentLink_resolve) | нет | | |
| [textDocument/documentColor](https://microsoft.github.io/language-server-protocol/specifications/specification-current/#textDocument_documentColor) | нет | | |
| [textDocument/colorPresentation](https://microsoft.github.io/language-server-protocol/specifications/specification-current/#textDocument_colorPresentation) | нет | | |
| [textDocument/formatting](https://microsoft.github.io/language-server-protocol/specifications/specification-current/#textDocument_formatting) | <img src="./assets/images/checkmark.svg" alt="yes" style="zoom: 5%;" />да | | |
| [textDocument/rangeFormatting](https://microsoft.github.io/language-server-protocol/specifications/specification-current/#textDocument_rangeFormatting) | <img src="./assets/images/checkmark.svg" alt="yes" style="zoom: 5%;" />да | | |
| [textDocument/onTypeFormatting](https://microsoft.github.io/language-server-protocol/specifications/specification-current/#textDocument_onTypeFormatting) | нет | | |
| [textDocument/rename](https://microsoft.github.io/language-server-protocol/specifications/specification-current/#textDocument_rename) | нет | | |
| [textDocument/prepareRename](https://microsoft.github.io/language-server-protocol/specifications/specification-current/#textDocument_prepareRename) | нет | | |
| [textDocument/foldingRange](https://microsoft.github.io/language-server-protocol/specifications/specification-current/#textDocument_foldingRange) | <img src="./assets/images/checkmark.svg" alt="yes" style="zoom: 5%;" />да | | |
| [textDocument/selectionRange](https://microsoft.github.io/language-server-protocol/specifications/specification-current/#textDocument_selectionRange) | нет | | |

## Запуск из командной строки

Expand Down

0 comments on commit f8a701a

Please sign in to comment.