1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-12-25 08:39:09 -05:00
denoland-deno/cli/lsp
Bartek Iwańczuk 1c2db072b5 fix(npm): allow to read package.json if permissions are granted (#17209)
This commit changes signature of "deno_core::ModuleLoader::resolve" to pass
an enum indicating whether or not we're resolving a specifier for dynamic import.

Additionally "CliModuleLoader" was changes to store both "parent permissions" (or
"root permissions") as well as "dynamic permissions" that allow to check for permissions
in top-level module load an dynamic imports.

Then all code paths that have anything to do with Node/npm compat are now checking
for permissions which are passed from module loader instance associated with given
worker.
2023-01-13 11:20:14 -05:00
..
testing refactor(cli/tools): move flag and config logic to CliOptions (#17008) 2023-01-13 11:20:13 -05:00
analysis.rs refactor(cli/tools): move flag and config logic to CliOptions (#17008) 2023-01-13 11:20:13 -05:00
cache.rs chore: update copyright year to 2023 (#17247) 2023-01-05 13:05:49 +01:00
capabilities.rs chore: update copyright year to 2023 (#17247) 2023-01-05 13:05:49 +01:00
client.rs refactor(lsp): migrate from lspower back to tower-lsp (#14163) 2022-04-03 14:17:30 +10:00
code_lens.rs chore: update copyright year to 2023 (#17247) 2023-01-05 13:05:49 +01:00
completions.rs chore: update copyright year to 2023 (#17247) 2023-01-05 13:05:49 +01:00
config.rs fix(lsp): treat empty string config value as None (#17227) 2023-01-05 13:06:20 +01:00
diagnostics.rs refactor(cli/tools): move flag and config logic to CliOptions (#17008) 2023-01-13 11:20:13 -05:00
documents.rs fix(npm): allow to read package.json if permissions are granted (#17209) 2023-01-13 11:20:14 -05:00
language_server.rs refactor(cli/tools): move flag and config logic to CliOptions (#17008) 2023-01-13 11:20:13 -05:00
logging.rs chore: update copyright year to 2023 (#17247) 2023-01-05 13:05:49 +01:00
lsp_custom.rs chore: update copyright year to 2023 (#17247) 2023-01-05 13:05:49 +01:00
mod.rs chore: update copyright year to 2023 (#17247) 2023-01-05 13:05:49 +01:00
parent_process_checker.rs chore: update copyright year to 2023 (#17247) 2023-01-05 13:05:49 +01:00
path_to_regex.rs chore: update copyright year to 2023 (#17247) 2023-01-05 13:05:49 +01:00
performance.rs chore: update copyright year to 2023 (#17247) 2023-01-05 13:05:49 +01:00
README.md feat(lsp): improve registry completion suggestions (#13023) 2021-12-14 06:24:11 +11:00
refactor.rs chore: update copyright year to 2023 (#17247) 2023-01-05 13:05:49 +01:00
registries.rs refactor(permissions): add PermissionsContainer struct for internal mutability (#17134) 2023-01-13 11:20:12 -05:00
repl.rs chore: update copyright year to 2023 (#17247) 2023-01-05 13:05:49 +01:00
semantic_tokens.rs chore: update copyright year to 2023 (#17247) 2023-01-05 13:05:49 +01:00
text.rs chore: update copyright year to 2023 (#17247) 2023-01-05 13:05:49 +01:00
tsc.rs feat(core): allow specifying name and dependencies of an Extension (#17301) 2023-01-13 11:20:13 -05:00
urls.rs chore: update copyright year to 2023 (#17247) 2023-01-05 13:05:49 +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.