mirror of
https://github.com/denoland/deno.git
synced 2025-08-03 18:38:33 +00:00
feat(lsp): ability to configure document pre-load limit (#19097)
Adds a `deno.preloadLimit` option (ex. `"deno.preloadLimit": 2000`) which specifies how many file entries to traverse on the file system when the lsp loads or its configuration changes. Closes #18955
This commit is contained in:
parent
c926bc0deb
commit
28a72d5488
12 changed files with 239 additions and 168 deletions
|
@ -294,6 +294,7 @@ pub fn get_repl_workspace_settings() -> WorkspaceSettings {
|
|||
inlay_hints: Default::default(),
|
||||
internal_debug: false,
|
||||
lint: false,
|
||||
document_preload_limit: 0, // don't pre-load any modules as it's expensive and not useful for the repl
|
||||
tls_certificate: None,
|
||||
unsafely_ignore_certificate_errors: None,
|
||||
unstable: false,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue