mirror of
https://github.com/denoland/deno
synced 2024-10-30 02:21:11 +00:00
4a11603c76
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`. |
||
---|---|---|
.. | ||
src | ||
std@b23a76a47a | ||
wpt@c84a2ef4f2 | ||
build.rs | ||
Cargo.toml |