deno/test_util
Nayeem Rahman 4a11603c76
refactor(lsp): clean up "enablePaths" handling (#20388)
Previously we pre-computed enabled paths into `Config::enabled_paths`,
and had to keep updating it. Now we determine enabled paths directly
from `Config::settings` on demand as a single source of truth.

Removes `Config::root_uri`. If `InitializeParams::rootUri` is given, and
it doesn't correspond to a folder in
`InitializeParams::workspaceFolders`, prepend it to
`Config::workspace_folders` as a mocked folder.

Includes groundwork for
https://github.com/denoland/vscode_deno/issues/908. In a minor version
cycle or two we can fix that in vscode_deno, and it won't break for Deno
versions post this patch due to the corrected deserialization logic for
`enablePaths`.
2023-09-08 00:50:34 +01:00
..
src refactor(lsp): clean up "enablePaths" handling (#20388) 2023-09-08 00:50:34 +01:00
std@b23a76a47a chore: update deno_std submodule to 0.178.0 (#18003) 2023-03-03 19:11:10 +00:00
wpt@c84a2ef4f2 chore: update wpt (#19422) 2023-06-08 22:56:05 +02:00
build.rs feat(ext/kv): connect to remote database (#20178) 2023-08-22 13:56:00 +08:00
Cargo.toml feat(ext/kv): connect to remote database (#20178) 2023-08-22 13:56:00 +08:00