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.

贡献者指南