1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-12-01 16:51:13 -05:00
denoland-deno/cli/lsp
David Sherret 2bbfef137c
feat(unstable): repurpose --unstable-detect-cjs to attempt loading more modules as cjs (#27094)
This resurrects the `--unstable-detect-cjs` flag (which became stable),
and repurposes it to attempt loading .js/.jsx/.ts/.tsx files as CJS in
the following additional scenarios:

1. There is no package.json
1. There is a package.json without a "type" field

Also cleans up the implementation of this in the LSP a lot by hanging
`resolution_mode()` off `Document` (didn't think about doing that until
now).
2024-11-27 09:50:38 -05:00
..
testing fix: improved support for cjs and cts modules (#26558) 2024-11-01 12:27:00 -04:00
analysis.rs feat(unstable): repurpose --unstable-detect-cjs to attempt loading more modules as cjs (#27094) 2024-11-27 09:50:38 -05:00
cache.rs BREAKING: rename "deps" remote cache folder to "remote" (#25969) 2024-10-01 14:05:40 -04:00
capabilities.rs Reland feat(lsp): deno/didRefreshDenoConfigurationTree notifications (#26325) 2024-10-16 22:43:26 +01:00
client.rs Reland feat(lsp): deno/didRefreshDenoConfigurationTree notifications (#26325) 2024-10-16 22:43:26 +01:00
code_lens.rs fix: improved support for cjs and cts modules (#26558) 2024-11-01 12:27:00 -04:00
completions.rs feat(unstable): repurpose --unstable-detect-cjs to attempt loading more modules as cjs (#27094) 2024-11-27 09:50:38 -05:00
config.rs feat(node): stabilize detecting if CJS via "type": "commonjs" in a package.json (#26439) 2024-11-13 15:10:09 +00:00
diagnostics.rs feat(unstable): repurpose --unstable-detect-cjs to attempt loading more modules as cjs (#27094) 2024-11-27 09:50:38 -05:00
documents.rs feat(unstable): repurpose --unstable-detect-cjs to attempt loading more modules as cjs (#27094) 2024-11-27 09:50:38 -05:00
jsr.rs refactor(permissions): split up Descriptor into Allow, Deny, and Query (#25508) 2024-09-16 21:39:37 +01:00
language_server.rs feat(unstable): repurpose --unstable-detect-cjs to attempt loading more modules as cjs (#27094) 2024-11-27 09:50:38 -05:00
logging.rs chore: update copyright to 2024 (#21753) 2024-01-01 19:58:21 +00:00
lsp_custom.rs fix(lsp): support task object notation for tasks request (#27076) 2024-11-26 05:57:51 +00:00
mod.rs fix(lsp): support task object notation for tasks request (#27076) 2024-11-26 05:57:51 +00:00
npm.rs fix: .npmrc settings not being passed to install/add command (#26473) 2024-10-24 20:03:56 +02:00
parent_process_checker.rs fix: otel resiliency (#26857) 2024-11-14 12:16:28 +00:00
path_to_regex.rs chore: upgrade to rust 1.79 (#24207) 2024-06-14 17:10:57 +05:30
performance.rs refactor(lsp): cleanup partially locking methods (#23723) 2024-05-08 06:34:42 +01: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 fix: .npmrc settings not being passed to install/add command (#26473) 2024-10-24 20:03:56 +02:00
repl.rs feat(node): stabilize detecting if CJS via "type": "commonjs" in a package.json (#26439) 2024-11-13 15:10:09 +00:00
resolver.rs feat(unstable): repurpose --unstable-detect-cjs to attempt loading more modules as cjs (#27094) 2024-11-27 09:50:38 -05:00
search.rs feat(lsp): jsr specifier completions (#22612) 2024-02-29 03:54:16 +00:00
semantic_tokens.rs perf(lsp): Cache semantic tokens for open documents (#23799) 2024-05-15 01:51:48 +00:00
text.rs fix(lsp): handle multiline semantic tokens (#23691) 2024-05-04 21:48:06 +01:00
tsc.rs feat(unstable): repurpose --unstable-detect-cjs to attempt loading more modules as cjs (#27094) 2024-11-27 09:50:38 -05:00
urls.rs fix(lsp): encode url parts before parsing as uri (#25509) 2024-09-11 11:11:39 +01: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.