0
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2025-02-15 01:57:09 -05:00
denoland-deno/test_util/src
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
..
testdata fix(test_util): parse strace usecs/call in total line if present (#18241) 2023-03-17 10:39:57 +02:00
assertions.rs feat(lock): skip saving declaration files in the lockfile (#19447) 2023-06-26 15:53:17 -04:00
builders.rs chore(cli): use NPM_CONFIG_REGISTRY for all tests (#20320) 2023-08-29 13:02:54 -06:00
factory.rs chore: Ensure copyright line is the first in the file (#19608) 2023-06-26 09:38:55 -06:00
fs.rs feat(unstable/lsp): support navigating to deno_modules folder (#20030) 2023-08-02 16:57:25 -04:00
kv_remote.rs feat(ext/kv): connect to remote database (#20178) 2023-08-22 13:56:00 +08:00
lib.rs chore(cli): use NPM_CONFIG_REGISTRY for all tests (#20320) 2023-08-29 13:02:54 -06:00
lsp.rs refactor(lsp): clean up "enablePaths" handling (#20388) 2023-09-08 00:50:34 +01:00
npm.rs chore(tests): test_util - Add PathRef (#19450) 2023-06-10 11:09:45 -04:00
pty.rs chore(test_util): Increate pty timeout to 15s to avoid flakes (#20109) 2023-08-09 12:49:05 -06:00
test_server.rs chore: update copyright year to 2023 (#17247) 2023-01-02 21:00:42 +00:00