microsoft/vscode-languageserver-node

UTF-8 support

開放

#1,224 建立於 2023年4月5日

 (4 則留言) (13 個反應) (0 位負責人)TypeScript (397 個分叉)auto 404
feature-requesthelp wanted

倉庫指標

星標
 (1,776 顆星)
PR 合併指標
 (PR 指標待抓取)

描述

For about half a year now, UTF-8 character positioning support has been supported by the LSP protocol since 3.17.0 and multiple servers, such as clangd and rust-analyzer, have supported it either since then or before then (in fact, clangd "invented" this capability with an LSP extension).

This feature would be highly useful in this client library. For my server (and probably many others), UTF-8 is much simpler to handle, already supported by the LSP interface library (lsp-types in my case), and of course supported by many IDEs. Only the glue code client shim doesn't cooperate yet.

Reopens #748 in a new issue, since the author of that issue and the maintainers of this repo have not done so.

貢獻者指南