deno/cli/lsp
David Sherret a1d823e27d
feat(compile): support discovering modules for more dynamic arguments (#21381)
This PR causes Deno to include more files in the graph based on how a
template literal looks that's provided to a dynamic import:

```ts
const file = await import(`./dir/${expr}`);
```

In this case, it will search the `dir` directory and descendant
directories for any .js/jsx/etc modules and include them in the graph.

To opt out of this behaviour, move the template literal to a separate
line:

```ts
const specifier = `./dir/${expr}`
const file = await import(specifier);
```
2023-12-01 20:12:10 +00:00
..
testing refactor(lsp): log names (#21413) 2023-12-01 03:54:59 +01:00
analysis.rs fix(node): use closest package.json to resolve package.json imports (#21075) 2023-11-04 16:41:51 +00:00
cache.rs feat(unstable): optional deno_modules directory (#19977) 2023-08-02 00:49:09 +00:00
capabilities.rs refactor(lsp): add "deno.reloadImportRegistries" as a command (#20823) 2023-10-10 05:53:41 +01:00
client.rs feat(lsp): upgrade check on init and notification (#21105) 2023-11-14 22:10:51 +00:00
code_lens.rs perf(lsp): avoid redundant getNavigationTree() calls (#21396) 2023-11-30 16:23:47 +00:00
completions.rs fix(lsp): handle byonm specifiers in jupyter notebooks (#21332) 2023-11-24 17:35:33 -05:00
config.rs perf(lsp): avoid redundant getNavigationTree() calls (#21396) 2023-11-30 16:23:47 +00:00
diagnostics.rs refactor(lsp): log names (#21413) 2023-12-01 03:54:59 +01:00
documents.rs feat(compile): support discovering modules for more dynamic arguments (#21381) 2023-12-01 20:12:10 +00:00
language_server.rs refactor(lsp): log names (#21413) 2023-12-01 03:54:59 +01:00
logging.rs feat(lsp): upgrade check on init and notification (#21105) 2023-11-14 22:10:51 +00:00
lsp_custom.rs feat(lsp): upgrade check on init and notification (#21105) 2023-11-14 22:10:51 +00:00
mod.rs fix(lsp): force shutdown after a timeout (#21251) 2023-11-22 04:08:48 +00:00
npm.rs refactor(npm): make NpmCache, CliNpmRegistryApi, and NpmResolution internal to npm::managed (#20764) 2023-10-02 17:53:55 -04:00
parent_process_checker.rs fix(ext/web): add stream tests to detect v8slice split bug (#20253) 2023-08-23 17:03:05 -06:00
path_to_regex.rs chore: fix typos (#19572) 2023-06-26 09:10:27 -04:00
performance.rs refactor(lsp): log names (#21413) 2023-12-01 03:54:59 +01:00
README.md docs: fix broken deno manual link (#20667) 2023-09-25 14:09:27 +02:00
refactor.rs refactor(lsp): fewer clones (#17551) 2023-01-26 23:24:03 +01:00
registries.rs fix(lsp): don't commit registry completions on "/" (#20902) 2023-10-13 14:38:34 +01:00
repl.rs fix(lsp): force shutdown after a timeout (#21251) 2023-11-22 04:08:48 +00:00
semantic_tokens.rs chore: use rustfmt imports_granularity option (#17421) 2023-01-14 23:18:58 -05:00
text.rs perf(lsp): optimize formatting minified files (#20829) 2023-10-09 04:39:52 +01:00
tsc.rs refactor(lsp): log names (#21413) 2023-12-01 03:54:59 +01:00
urls.rs fix(lsp): handle byonm specifiers in jupyter notebooks (#21332) 2023-11-24 17:35:33 -05:00

Deno Language Server

The Deno Language Server provides a server implementation of the Language Server Protocol which is specifically tailored to provide a Deno view of code. It is integrated into the command line and can be started via the lsp sub-command.

This documentation has been moved to the Deno manual.