aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorbors[bot] <bors[bot]@users.noreply.github.com>2019-01-23 17:24:15 +0000
committerbors[bot] <bors[bot]@users.noreply.github.com>2019-01-23 17:24:15 +0000
commit5ced113e1cf79ce6aa1edd574dde4b845e78d562 (patch)
tree775719720ef35e08e28e10f915aea2f52b05ea96 /README.md
parent335d64b1c25fc789c556abd51a72455d9f9ac5ad (diff)
parent33b8d25d52ccc23abecefc838b539627e1bccbd8 (diff)
Merge #614
614: Add supported LSP features to README.md r=matklad a=h-michael Co-authored-by: Hirokazu Hata <[email protected]>
Diffstat (limited to 'README.md')
-rw-r--r--README.md73
1 files changed, 73 insertions, 0 deletions
diff --git a/README.md b/README.md
index b183d7d11..8d4e32704 100644
--- a/README.md
+++ b/README.md
@@ -71,6 +71,79 @@ the HIR boundary? That is, use rust analyzer for parsing, macro expansion and
71related bits of name resolution, but leave the rest (including type inference 71related bits of name resolution, but leave the rest (including type inference
72and trait selection) to the existing rustc. 72and trait selection) to the existing rustc.
73 73
74## Supported LSP features
75
76### General
77- [x] [initialize](https://microsoft.github.io/language-server-protocol/specification#initialize)
78- [x] [initialized](https://microsoft.github.io/language-server-protocol/specification#initialized)
79- [x] [shutdown](https://microsoft.github.io/language-server-protocol/specification#shutdown)
80- [ ] [exit](https://microsoft.github.io/language-server-protocol/specification#exit)
81- [x] [$/cancelRequest](https://microsoft.github.io/language-server-protocol/specification#cancelRequest)
82
83### Workspace
84- [ ] [workspace/workspaceFolders](https://microsoft.github.io/language-server-protocol/specification#workspace_workspaceFolders)
85- [ ] [workspace/didChangeWorkspaceFolders](https://microsoft.github.io/language-server-protocol/specification#workspace_didChangeWorkspaceFolders)
86- [x] [workspace/didChangeConfiguration](https://microsoft.github.io/language-server-protocol/specification#workspace_didChangeConfiguration)
87- [ ] [workspace/configuration](https://microsoft.github.io/language-server-protocol/specification#workspace_configuration)
88- [x] [workspace/didChangeWatchedFiles](https://microsoft.github.io/language-server-protocol/specification#workspace_didChangeWatchedFiles)
89- [x] [workspace/symbol](https://microsoft.github.io/language-server-protocol/specification#workspace_symbol)
90- [x] [workspace/executeCommand](https://microsoft.github.io/language-server-protocol/specification#workspace_executeCommand)
91 - `apply_code_action`
92- [ ] [workspace/applyEdit](https://microsoft.github.io/language-server-protocol/specification#workspace_applyEdit)
93
94### Text Synchronization
95- [x] [textDocument/didOpen](https://microsoft.github.io/language-server-protocol/specification#textDocument_didOpen)
96- [x] [textDocument/didChange](https://microsoft.github.io/language-server-protocol/specification#textDocument_didChange)
97- [ ] [textDocument/willSave](https://microsoft.github.io/language-server-protocol/specification#textDocument_willSave)
98- [ ] [textDocument/willSaveWaitUntil](https://microsoft.github.io/language-server-protocol/specification#textDocument_willSaveWaitUntil)
99- [x] [textDocument/didSave](https://microsoft.github.io/language-server-protocol/specification#textDocument_didSave)
100- [x] [textDocument/didClose](https://microsoft.github.io/language-server-protocol/specification#textDocument_didClose)
101
102### Diagnostics
103- [x] [textDocument/publishDiagnostics](https://microsoft.github.io/language-server-protocol/specification#textDocument_publishDiagnostics)
104
105### Lanuguage Features
106- [x] [textDocument/completion](https://microsoft.github.io/language-server-protocol/specification#textDocument_completion)
107 - open close: false
108 - change: Full
109 - will save: false
110 - will save wait until: false
111 - save: false
112- [x] [completionItem/resolve](https://microsoft.github.io/language-server-protocol/specification#completionItem_resolve)
113 - resolve provider: none
114 - trigger characters: `:`, `.`
115- [x] [textDocument/hover](https://microsoft.github.io/language-server-protocol/specification#textDocument_hover)
116- [x] [textDocument/signatureHelp](https://microsoft.github.io/language-server-protocol/specification#textDocument_signatureHelp)
117 - trigger characters: `(`, `,`, `)`
118- [ ] [textDocument/declaration](https://microsoft.github.io/language-server-protocol/specification#textDocument_declaration)
119- [x] [textDocument/definition](https://microsoft.github.io/language-server-protocol/specification#textDocument_definition)
120- [ ] [textDocument/typeDefinition](https://microsoft.github.io/language-server-protocol/specification#textDocument_typeDefinition)
121- [ ] [textDocument/implementation](https://microsoft.github.io/language-server-protocol/specification#textDocument_implementation)
122- [x] [textDocument/references](https://microsoft.github.io/language-server-protocol/specification#textDocument_references)
123- [x] [textDocument/documentHighlight](https://microsoft.github.io/language-server-protocol/specification#textDocument_documentHighlight)
124- [x] [textDocument/documentSymbol](https://microsoft.github.io/language-server-protocol/specification#textDocument_documentSymbol)
125- [x] [textDocument/codeAction](https://microsoft.github.io/language-server-protocol/specification#textDocument_codeAction)
126 - ra_lsp.syntaxTree
127 - ra_lsp.extendSelection
128 - ra_lsp.matchingBrace
129 - ra_lsp.parentModule
130 - ra_lsp.joinLines
131 - ra_lsp.run
132 - ra_lsp.analyzerStatus
133- [x] [textDocument/codeLens](https://microsoft.github.io/language-server-protocol/specification#textDocument_codeLens)
134- [ ] [textDocument/documentLink](https://microsoft.github.io/language-server-protocol/specification#codeLens_resolve)
135- [ ] [documentLink/resolve](https://microsoft.github.io/language-server-protocol/specification#documentLink_resolve)
136- [ ] [textDocument/documentColor](https://microsoft.github.io/language-server-protocol/specification#textDocument_documentColor)
137- [ ] [textDocument/colorPresentation](https://microsoft.github.io/language-server-protocol/specification#textDocument_colorPresentation)
138- [x] [textDocument/formatting](https://microsoft.github.io/language-server-protocol/specification#textDocument_formatting)
139- [ ] [textDocument/rangeFormatting](https://microsoft.github.io/language-server-protocol/specification#textDocument_rangeFormatting)
140- [x] [textDocument/onTypeFormatting](https://microsoft.github.io/language-server-protocol/specification#textDocument_onTypeFormatting)
141 - first trigger character: `=`
142 - more trigger character `.`
143- [x] [textDocument/rename](https://microsoft.github.io/language-server-protocol/specification#textDocument_rename)
144- [x] [textDocument/prepareRename](https://microsoft.github.io/language-server-protocol/specification#textDocument_prepareRename)
145- [x] [textDocument/foldingRange](https://microsoft.github.io/language-server-protocol/specification#textDocument_foldingRange)
146
74## Getting in touch 147## Getting in touch
75 148
76We have a Discord server dedicated to compilers and language servers 149We have a Discord server dedicated to compilers and language servers