`lsp-test` should update document version after every editing
Open
- Dominant language
- Haskell
- Stars
- 423
- Forks
- 105
- PR merge metrics
- No merged PRs in 30d
Description
Like `changeDoc` https://github.com/haskell/lsp/blob/7c1fcaa1073dc79e6b330b06e34d30b5d0045af6/lsp-test/src/Language/LSP/Test.hs#L471-L476
The following function should also update the version.
- `executeCommand`
- `executeCodeAction`
- `rename`
- `formatDoc`
- `formatRange`
- `applyEdit`
Contributor guide
Research direction
Start in lsp-test/src/Language/LSP/Test.hs, comparing executeCommand, executeCodeAction, rename, formatDoc, formatRange, and applyEdit with changeDoc at the linked location. Trace how each editing operation handles document versions; done means every listed function updates the version after editing.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- haskell
- Domain
- devtools
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 55/100