summaryrefslogtreecommitdiff
path: root/cli/lsp/mod.rs
diff options
context:
space:
mode:
authorNayeem Rahman <nayeemrmn99@gmail.com>2023-10-10 05:53:41 +0100
committerGitHub <noreply@github.com>2023-10-10 05:53:41 +0100
commit6bbccb72d7153f95688b63391672f2e2b979eeed (patch)
tree39239574062107eee4f36560440ce26e560aa202 /cli/lsp/mod.rs
parent2665ca103e64ae07d7c29d3400d0c37ec691ff50 (diff)
refactor(lsp): add "deno.reloadImportRegistries" as a command (#20823)
Diffstat (limited to 'cli/lsp/mod.rs')
-rw-r--r--cli/lsp/mod.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/cli/lsp/mod.rs b/cli/lsp/mod.rs
index 3ef19173b..c2f3eda71 100644
--- a/cli/lsp/mod.rs
+++ b/cli/lsp/mod.rs
@@ -49,6 +49,9 @@ pub async fn start() -> Result<(), AnyError> {
lsp_custom::PERFORMANCE_REQUEST,
LanguageServer::performance_request,
)
+ // TODO(nayeemrmn): The extension has replaced this with the
+ // `deno.reloadImportRegistries` command as of vscode_deno
+ // 3.26.0 / 2023.10.10. Remove this eventually.
.custom_method(
lsp_custom::RELOAD_IMPORT_REGISTRIES_REQUEST,
LanguageServer::reload_import_registries_request,