You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/features.md
+8-25Lines changed: 8 additions & 25 deletions
Original file line number
Diff line number
Diff line change
@@ -20,6 +20,7 @@ Many of these are standard LSP features, but a lot of special features are provi
20
20
|[Code lenses](#code-lenses)| Limited on some versions of GHC |`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
+
Additionally, not all plugins are supported on all versions of GHC, see the [GHC version support page](supported-versions.md) for details.
23
24
24
25
## Diagnostics
25
26
@@ -29,8 +30,6 @@ Provided by: `ghcide`
29
30
Provides errors and warnings from GHC as diagnostics.
30
31
31
32
### Hlint hints
32
-
Status: Not supported on GHC 9.2
33
-
34
33
Provided by: `hls-hlint-plugin`
35
34
36
35
Provides hlint hints as diagnostics.
@@ -75,13 +74,13 @@ Completions for language pragmas.
75
74
## Formatting
76
75
Format your code with various Haskell code formatters.
Refines imports to more specific modules when names are re-exported (same as the code lens).
151
148
152
149
### Add missing class methods
153
-
Status: Not supported on GHC 9.2
154
-
155
150
Provided by: `hls-class-plugin`
156
151
157
152
Code action kind: `quickfix`
158
153
159
154
Adds placeholders for missing class methods in a class instance definition.
160
155
161
156
### Unfold definition
162
-
Status: Not supported on GHC 9.2
163
-
164
157
Provided by: `hls-retrie-plugin`
165
158
166
159
Code action kind: `refactor.extract`
167
160
168
161
Extracts a definition from the code.
169
162
170
163
### Fold definition
171
-
Status: Not supported on GHC 9.2
172
-
173
164
Provided by: `hls-retrie-plugin`
174
165
175
166
Code action kind: `refactor.inline`
@@ -179,17 +170,13 @@ Inlines a definition from the code.
179
170

180
171
181
172
### Insert contents of Template Haskell splice
182
-
Status: Not supported on GHC 9.2
183
-
184
173
Provided by: `hls-splice-plugin`
185
174
186
175
Code action kind: `refactor.rewrite`
187
176
188
177
Evaluates a Template Haskell splice and inserts the resulting code in its place.
189
178
190
179
### Convert numbers to alternative formats
191
-
Status: Not supported on GHC 9.2
192
-
193
180
Provided by: `hls-alternate-number-format-plugin`
194
181
195
182
Code action kind: `quickfix.literals.style`
@@ -199,8 +186,6 @@ Converts numeric literals to different formats.
199
186

200
187
201
188
### Add Haddock comments
202
-
Status: Not supported on GHC 9.2
203
-
204
189
Provided by: `hls-haddock-comments-plugin`
205
190
206
191
Code action kind: `quickfix`
@@ -224,8 +209,6 @@ Provided by: `ghcide`
224
209
Shows the type signature for bindings without type signatures, and adds it with a click.
225
210
226
211
### Evaluation code snippets in comments
227
-
Status: Not supported on GHC 9.2
228
-
229
212
Provided by: `hls-eval-plugin`
230
213
231
214
Evaluates code blocks in comments with a click. [Tutorial](https://github.com/haskell/haskell-language-server/blob/master/plugins/hls-eval-plugin/README.md).
Copy file name to clipboardExpand all lines: docs/supported-versions.md
+24Lines changed: 24 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -26,6 +26,30 @@ GHC versions not in the list have never been supported by HLS, or are not planne
26
26
27
27
The policy for when we deprecate support for versions of GHC is given below. The table reflects that, but we may decide to deviate from it for good reasons.
28
28
29
+
Additionally, some plugins are not supported on some GHC versions, as shown in the following table.
Users who want to use a GHC version which is not supported by the latest HLS can still use older versions of HLS (consult the version support table above to identify the appropriate HLS version).
0 commit comments