|
3 | 3 | This table gives a summary of the features that HLS supports.
|
4 | 4 | Many of these are standard LSP features, but a lot of special features are provided as [code actions](#code-actions) and [code lenses](#code-lenses).
|
5 | 5 |
|
6 |
| -| Feature | Status | [LSP method](./what-is-hls.md#lsp-terminology) | |
7 |
| -|-----------------------------------------------------|---------------------------------|---------------------------------------------------------------------------------------------------| |
8 |
| -| [Diagnostics](#diagnostics) | Limited on some versions of GHC | `textDocument/publishDiagnostics` | |
9 |
| -| [Hovers](#hovers) | Working | `textDocument/hover` | |
10 |
| -| [Jump to definition](#jump-to-definition) | Working | `textDocument/definition` | |
11 |
| -| [Jump to type definition](#jump-to-type-definition) | Working | `textDocument/typeDefinition` | |
12 |
| -| [Find references](#find-references) | Working | `textDocument/references` | |
13 |
| -| [Completions](#completions) | Working | `textDocument/completion` | |
14 |
| -| [Formatting](#formatting) | Limited on some versions of GHC | `textDocument/formatting`, `textDocument/rangeFormatting` | |
15 |
| -| [Document symbols](#document-symbols) | Working | `textDocument/documentSymbol` | |
16 |
| -| [Workspace symbols](#workspace-symbols) | Working | `workspace/symbol` | |
17 |
| -| [Call hierarchy](#call-hierarchy) | Working | `textDocument/prepareCallHierarchy`, `callHierarchy/incomingCalls`, `callHierarchy/outgoingCalls` | |
18 |
| -| [Highlight references](#highlight-references) | Working | `textDocument/documentHighlight` | |
19 |
| -| [Code actions](#code-actions) | Limited on some versions of GHC | `textDocument/codeAction` | |
20 |
| -| [Code lenses](#code-lenses) | Limited on some versions of GHC | `textDocument/codeLens` | |
| 6 | +| Feature | [LSP method](./what-is-hls.md#lsp-terminology) | |
| 7 | +|-----------------------------------------------------|---------------------------------------------------------------------------------------------------| |
| 8 | +| [Diagnostics](#diagnostics) | `textDocument/publishDiagnostics` | |
| 9 | +| [Hovers](#hovers) | `textDocument/hover` | |
| 10 | +| [Jump to definition](#jump-to-definition) | `textDocument/definition` | |
| 11 | +| [Jump to type definition](#jump-to-type-definition) | `textDocument/typeDefinition` | |
| 12 | +| [Find references](#find-references) | `textDocument/references` | |
| 13 | +| [Completions](#completions) | `textDocument/completion` | |
| 14 | +| [Formatting](#formatting) | `textDocument/formatting`, `textDocument/rangeFormatting` | |
| 15 | +| [Document symbols](#document-symbols) | `textDocument/documentSymbol` | |
| 16 | +| [Workspace symbols](#workspace-symbols) | `workspace/symbol` | |
| 17 | +| [Call hierarchy](#call-hierarchy) | `textDocument/prepareCallHierarchy`, `callHierarchy/incomingCalls`, `callHierarchy/outgoingCalls` | |
| 18 | +| [Highlight references](#highlight-references) | `textDocument/documentHighlight` | |
| 19 | +| [Code actions](#code-actions) | `textDocument/codeAction` | |
| 20 | +| [Code lenses](#code-lenses) | `textDocument/codeLens` | |
21 | 21 |
|
22 | 22 | The individual sections below also identify which [HLS plugin](./what-is-hls.md#hls-plugins) is responsible for providing the given functionality, which is useful if you want to raise an issue report or contribute!
|
23 | 23 | Additionally, not all plugins are supported on all versions of GHC, see the [GHC version support page](supported-versions.md) for details.
|
|
0 commit comments