1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2025-01-21 04:52:26 -05:00
denoland-deno/cli/lsp
Nathan Whitaker 32708213d5
fix(check/lsp): correctly resolve compilerOptions.types (#27686)
Fixes https://github.com/denoland/deno/issues/27062

In the LSP we were passing `npm` specifiers to TSC as roots, but TSC
needs fully resolved specifiers (like the actual file path).

In `deno check` we were often excluding the specifiers entirely from the
roots.

In both cases, we need to resolve the specifiers fully and then pass
them to tsc
2025-01-15 18:48:10 -08:00
..
testing refactor: create deno_lib crate (#27673) 2025-01-15 09:35:46 -05:00
analysis.rs refactor: move CliNpmResolver to deno_resolver::npm::NpmResolver (#27659) 2025-01-14 10:01:05 -05:00
cache.rs refactor: create deno_lib crate (#27673) 2025-01-15 09:35:46 -05:00
capabilities.rs chore: Happy New Year 2025 (#27509) 2024-12-31 19:12:39 +00:00
client.rs chore: Happy New Year 2025 (#27509) 2024-12-31 19:12:39 +00:00
code_lens.rs chore: Happy New Year 2025 (#27509) 2024-12-31 19:12:39 +00:00
completions.rs chore: Happy New Year 2025 (#27509) 2024-12-31 19:12:39 +00:00
config.rs refactor: create deno_lib crate (#27673) 2025-01-15 09:35:46 -05:00
diagnostics.rs refactor: create deno_lib crate (#27673) 2025-01-15 09:35:46 -05:00
documents.rs refactor: deno_config 0.45 (#27660) 2025-01-14 13:00:31 +01:00
jsr.rs chore: Happy New Year 2025 (#27509) 2024-12-31 19:12:39 +00:00
language_server.rs refactor: create deno_lib crate (#27673) 2025-01-15 09:35:46 -05:00
logging.rs chore: Happy New Year 2025 (#27509) 2024-12-31 19:12:39 +00:00
lsp_custom.rs chore: Happy New Year 2025 (#27509) 2024-12-31 19:12:39 +00:00
mod.rs chore: Happy New Year 2025 (#27509) 2024-12-31 19:12:39 +00:00
npm.rs chore: Happy New Year 2025 (#27509) 2024-12-31 19:12:39 +00:00
parent_process_checker.rs chore: Happy New Year 2025 (#27509) 2024-12-31 19:12:39 +00:00
path_to_regex.rs chore: Happy New Year 2025 (#27509) 2024-12-31 19:12:39 +00:00
performance.rs chore: Happy New Year 2025 (#27509) 2024-12-31 19:12:39 +00:00
README.md docs: fix broken deno manual link (#20667) 2023-09-25 14:09:27 +02:00
refactor.rs chore: Happy New Year 2025 (#27509) 2024-12-31 19:12:39 +00:00
registries.rs chore: Happy New Year 2025 (#27509) 2024-12-31 19:12:39 +00:00
repl.rs chore: Happy New Year 2025 (#27509) 2024-12-31 19:12:39 +00:00
resolver.rs refactor: move CliNpmResolver to deno_resolver::npm::NpmResolver (#27659) 2025-01-14 10:01:05 -05:00
search.rs chore: Happy New Year 2025 (#27509) 2024-12-31 19:12:39 +00:00
semantic_tokens.rs chore: Happy New Year 2025 (#27509) 2024-12-31 19:12:39 +00:00
text.rs refactor: update deno_core for error refactor (#26867) 2025-01-08 14:52:32 -08:00
tsc.rs fix(check/lsp): correctly resolve compilerOptions.types (#27686) 2025-01-15 18:48:10 -08:00
urls.rs refactor: create deno_lib crate (#27673) 2025-01-15 09:35:46 -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.