1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-12-22 15:24:46 -05:00
denoland-deno/cli/lsp
Nathan Whitaker 736f73b008
perf(lsp): Only evict caches on JS side when things actually change (#23293)
Currently we evict a lot of the caches on the JS side of things on every
request, namely script versions, script file names, and compiler
settings (as of #23283, it's not quite every request but it's still
unnecessarily often).

This PR reports changes to the JS side, so that it can evict exactly the
caches that it needs too. We might want to do some batching in the
future so as not to do 1 request per change.
2024-04-10 18:06:37 -07:00
..
testing perf(lsp): don't keep remote module ast's in memory (#23230) 2024-04-04 23:39:17 +01:00
analysis.rs feat(lsp): respect nested deno.json for fmt and lint config (#23159) 2024-04-02 23:02:50 +01:00
cache.rs feat(unstable): single checksum per JSR package in the lockfile (#22421) 2024-02-15 14:49:35 -05:00
capabilities.rs chore(lsp): rename client-side command invocations (#22140) 2024-01-28 21:56:45 +00:00
client.rs chore: update copyright to 2024 (#21753) 2024-01-01 19:58:21 +00:00
code_lens.rs chore: enable clippy unused_async rule (#22834) 2024-03-11 23:48:00 -04:00
completions.rs feat(lsp): respect nested deno.json for fmt and lint config (#23159) 2024-04-02 23:02:50 +01:00
config.rs fix(lsp): respect DENO_FUTURE for BYONM config (#23207) 2024-04-05 16:18:48 +01:00
diagnostics.rs perf(lsp): Only evict caches on JS side when things actually change (#23293) 2024-04-10 18:06:37 -07:00
documents.rs refactor(lsp): cleanup documents dependents calculation (#23295) 2024-04-10 19:58:49 +01:00
jsr.rs feat(unstable/pm): support npm packages in 'deno add' (#22715) 2024-03-06 13:24:15 +00:00
language_server.rs perf(lsp): Only evict caches on JS side when things actually change (#23293) 2024-04-10 18:06:37 -07:00
logging.rs chore: update copyright to 2024 (#21753) 2024-01-01 19:58:21 +00:00
lsp_custom.rs fix(lsp): don't normalize urls in cache command params (#22182) 2024-01-30 17:17:34 +00:00
mod.rs feat(unstable/pm): support version contraints in 'deno add' (#22646) 2024-03-01 21:34:13 +00:00
npm.rs feat(unstable/pm): support npm packages in 'deno add' (#22715) 2024-03-06 13:24:15 +00:00
parent_process_checker.rs fix(lsp): use a dedicated thread for the parent process checker (#21869) 2024-01-09 11:36:03 -05:00
path_to_regex.rs chore: update copyright to 2024 (#21753) 2024-01-01 19:58:21 +00:00
performance.rs chore: update copyright to 2024 (#21753) 2024-01-01 19:58:21 +00:00
README.md docs: fix broken deno manual link (#20667) 2023-09-25 14:09:27 +02:00
refactor.rs chore: update copyright to 2024 (#21753) 2024-01-01 19:58:21 +00:00
registries.rs chore: enable clippy unused_async rule (#22834) 2024-03-11 23:48:00 -04:00
repl.rs chore: update copyright to 2024 (#21753) 2024-01-01 19:58:21 +00:00
search.rs feat(lsp): jsr specifier completions (#22612) 2024-02-29 03:54:16 +00:00
semantic_tokens.rs chore: update copyright to 2024 (#21753) 2024-01-01 19:58:21 +00:00
text.rs chore: update copyright to 2024 (#21753) 2024-01-01 19:58:21 +00:00
tsc.rs perf(lsp): Only evict caches on JS side when things actually change (#23293) 2024-04-10 18:06:37 -07:00
urls.rs refactor: load bytes in deno_graph (#22212) 2024-02-01 03:15:22 +00: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.