haskell / haskell/lsp

Handle position encodings

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

Description

New versions of the spec have position encoding negotiation. We could handle this as follows:
- Allow the user to set a (list of?) preferred encodings
- Send the most preferred one which the client accepts to the client
- Store the encoding in the state
- Use the stored encoding to affect how we translate positions in the VFS, this would let us do less work in some situations

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.