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/configuration.md
+3-1
Original file line number
Diff line number
Diff line change
@@ -50,7 +50,7 @@ Here is a list of the additional settings currently supported by `haskell-langua
50
50
Plugins have a generic config to control their behaviour. The schema of such config is:
51
51
52
52
-`haskell.plugin.${pluginName}.globalOn`: usually with default true. Whether the plugin is enabled at runtime or it is not. That is the option you might use if you want to disable completely a plugin.
- So to disable the import lens with an explicit list of module definitions you could set `haskell.plugin.importLens.globalOn: false`
55
55
-`haskell.plugin.${pluginName}.${lspCapability}On`: usually with default true. Whether a concrete plugin capability is enabled.
56
56
- Capabilities are the different ways a lsp server can interact with the editor. The current available capabilities of the server are: `callHierarchy`, `codeActions`, `codeLens`, `diagnostics`, `hover`, `symbols`, `completion`, `rename`.
@@ -66,6 +66,8 @@ Plugins have a generic config to control their behaviour. The schema of such con
66
66
-`eval`:
67
67
-`haskell.plugin.eval.config.diff`, default true: When reloading haddock test results in changes, mark it with WAS/NOW.
68
68
-`haskell.plugin.eval.config.exception`, default false: When the command results in an exception, mark it with `*** Exception:`.
69
+
-`rename`:
70
+
-`haskell.plugin.rename.config.diff`, default false: Enables renaming across modules (experimental)
69
71
-`ghcide-completions`:
70
72
-`haskell.plugin.ghcide-completions.config.snippetsOn`, default true: Inserts snippets when using code completions.
71
73
-`haskell.plugin.ghcide-completions.config.autoExtendOn`, default true: Extends the import list automatically when completing a out-of-scope identifier.
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!
24
25
Additionally, not all plugins are supported on all versions of GHC, see the [GHC version support page](supported-versions.md) for details.
@@ -305,6 +306,18 @@ support.
305
306
306
307

307
308
309
+
## Rename
310
+
311
+
Provided by: `hls-rename-plugin`
312
+
313
+
Provides renaming of symbols within a module. Experimental cross-module renaming can be enabled via the configuration.
- Cross-module renaming requires all components to be indexed, which sometimes causes [partial renames in multi-component projects](https://github.com/haskell/haskell-language-server/issues/2193).
320
+
308
321
## Missing features
309
322
310
323
The following features are supported by the LSP specification but not implemented in HLS.
@@ -315,7 +328,6 @@ Contributions welcome!
315
328
| Signature help | Unimplemented |`textDocument/signatureHelp`|
316
329
| Jump to declaration | Unclear if useful |`textDocument/declaration`|
317
330
| Jump to implementation | Unclear if useful |`textDocument/implementation`|
0 commit comments