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 70c822bfe2
fix(lsp/check): don't resolve unknown media types to a .js extension (#27631)
Fixes https://github.com/denoland/deno/issues/25762. Note that some of
the things in that issue are not resolved (vite/client types not working
properly which has other root causes), but the wildcard module
augmentation specifically is fixed by this.

We were telling TSC that files with unknown media types had an extension
of `.js`, so the ambient module declarations weren't applying. Instead,
just don't resolve them, so the ambient declaration applies.
2025-01-11 03:26:01 +00:00
..
testing chore: Happy New Year 2025 (#27509) 2024-12-31 19:12:39 +00:00
analysis.rs refactor: update deno_core for error refactor (#26867) 2025-01-08 14:52:32 -08:00
cache.rs chore: Happy New Year 2025 (#27509) 2024-12-31 19:12:39 +00: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(npm): move SloppyImportsCachedFs to deno_resolver (#27610) 2025-01-09 18:30:48 -05:00
diagnostics.rs refactor(npm): move SloppyImportsCachedFs to deno_resolver (#27610) 2025-01-09 18:30:48 -05:00
documents.rs refactor: update deno_core for error refactor (#26867) 2025-01-08 14:52:32 -08:00
jsr.rs chore: Happy New Year 2025 (#27509) 2024-12-31 19:12:39 +00:00
language_server.rs refactor: update deno_core for error refactor (#26867) 2025-01-08 14:52:32 -08: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: remove CliNpmReqResolver trait in deno_resolver (#27616) 2025-01-10 14:48:43 -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(lsp/check): don't resolve unknown media types to a .js extension (#27631) 2025-01-11 03:26:01 +00:00
urls.rs chore: Happy New Year 2025 (#27509) 2024-12-31 19:12:39 +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.