https://bugs.kde.org/show_bug.cgi?id=509085

--- Comment #11 from wit...@czarnecki.org ---
In the version that works, all URIs are encoded like this:
"file:///C:/Users/admin/test_project/test.ts" e.g.:

TRACE RS - deno_tower_lsp::codec:141 - ->
{"jsonrpc":"2.0","method":"textDocument/publishDiagnostics","params":{"uri":"file:///C:/Users/admin/test_project/test.ts","diagnostics":[{"range":{"start":{"line":0,"character":0},"end":{"line":0,"character":3}},"severity":1,"code":2304,"source":"deno-ts","message":"Cannot
find name 'aaa'."}],"version":2}}

In the new version, which doesn't work, it changed to
"file:///c%3A/Users/admin/test_project/test.ts" e.g.:

TRACE RS - deno_tower_lsp::codec:117 - ->
{"jsonrpc":"2.0","method":"textDocument/publishDiagnostics","params":{"uri":"file:///c%3A/Users/admin/test_project/test.ts","diagnostics"
:[{"range":{"start":{"line":0,"character":0},"end":{"line":0,"character":3}},"severity":1,"code":2304,"source":"deno-ts","message":"Cannot
find name 'aaa'."}],"version":2}}

And this stopped working since Deno version 2.2.7, which had this change:
"fix(lsp): url_to_uri() encoding on windows"
(https://github.com/denoland/deno/pull/28737).

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to