We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8eaec15 commit 1733ed6Copy full SHA for 1733ed6
extensions.md
@@ -134,6 +134,10 @@ index). This was added to support integration with indexes outside clangd.
134
## UTF-8 offsets
135
{:.v9}
136
137
+> **WARNING**
138
+> This extension has been deprecated with `clangd-21` in favor of the `positionEncoding` introduced in LSP 3.17. It'll go away with `clangd-23`.
139
+> See [the official LSP specification](https://microsoft.github.io/language-server-protocol/specifications/lsp/3.17/specification/#textDocuments)
140
+
141
LSP specifies that offsets within lines are in UTF-16 code units (for `Position`s and also delta-encoded document updates).
142
This choice of encoding is a legacy of VSCode's JavaScript implementation.
143
0 commit comments