Skip to content

Commit 0dca2a7

Browse files
committed
Add doc for project-wide renaming
1 parent d00648e commit 0dca2a7

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

docs/features.md

+11
Original file line numberDiff line numberDiff line change
@@ -411,6 +411,17 @@ Known limitations:
411411

412412
- 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).
413413

414+
To eagerly load all components, you need to
415+
416+
- set `haskell.sessionLoading` to `multipleComponents`,
417+
- set `hie.yaml` to load all components (currently only cabal supports this),
418+
```yaml
419+
cradle:
420+
cabal:
421+
component: all
422+
```
423+
- and enable tests and benchmarks in `cabal.project` with `tests: True` and `benchmarks: True`.
424+
414425
## Semantic tokens
415426

416427
Provided by: `hls-semantic-tokens-plugin`

0 commit comments

Comments
 (0)