mirror of
https://github.com/denoland/deno.git
synced 2025-02-15 01:57:09 -05:00
![]() 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`. |
||
---|---|---|
.. | ||
testdata | ||
assertions.rs | ||
builders.rs | ||
factory.rs | ||
fs.rs | ||
kv_remote.rs | ||
lib.rs | ||
lsp.rs | ||
npm.rs | ||
pty.rs | ||
test_server.rs |