haskell / haskell/lsp

`lsp-test`: No testing exists for `prepareRename`

Open
#636 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Haskell
Stars
423
Forks
105
PR merge metrics
No merged PRs in 30d

Description

The `Language.LSP.Test` module doesn’t export a `prepareRename` function for testing `prepareRename` requests. The test suite also doesn’t cover `prepareRename`.

A possible type signature is as follows:

```haskell
prepareRename :: TextDocumentIdentifier -> Position -> Session (PrepareRenameResult |? Null)
```

This issue was suggested as a prerequisite for [HLS PR #4867](https://github.com/haskell/haskell-language-server/pull/4867#discussion_r2973868928).

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.