summaryrefslogtreecommitdiff
path: root/cli/lsp/code_lens.rs
diff options
context:
space:
mode:
authorNayeem Rahman <nayeemrmn99@gmail.com>2024-01-28 21:56:45 +0000
committerGitHub <noreply@github.com>2024-01-28 21:56:45 +0000
commitaed5e4997df26c99a186fb9a5b18da3bbc594ed3 (patch)
tree7f300dd6d4189f86b052a2a47cc18714c6e7157c /cli/lsp/code_lens.rs
parent7281775381cda79ef61df27820387dc2c74e0384 (diff)
chore(lsp): rename client-side command invocations (#22140)
Diffstat (limited to 'cli/lsp/code_lens.rs')
-rw-r--r--cli/lsp/code_lens.rs30
1 files changed, 15 insertions, 15 deletions
diff --git a/cli/lsp/code_lens.rs b/cli/lsp/code_lens.rs
index 707ff0946..adf1d5c63 100644
--- a/cli/lsp/code_lens.rs
+++ b/cli/lsp/code_lens.rs
@@ -86,7 +86,7 @@ impl DenoTestCollector {
range,
command: Some(lsp::Command {
title: title.to_string(),
- command: "deno.test".to_string(),
+ command: "deno.client.test".to_string(),
arguments: Some(vec![
json!(self.specifier),
json!(name.as_ref()),
@@ -282,7 +282,7 @@ async fn resolve_implementation_code_lens(
};
lsp::Command {
title,
- command: "deno.showReferences".to_string(),
+ command: "deno.client.showReferences".to_string(),
arguments: Some(vec![
json!(data.specifier),
json!(code_lens.range.start),
@@ -373,7 +373,7 @@ async fn resolve_references_code_lens(
} else {
lsp::Command {
title,
- command: "deno.showReferences".to_string(),
+ command: "deno.client.showReferences".to_string(),
arguments: Some(vec![
json!(data.specifier),
json!(code_lens.range.start),
@@ -587,7 +587,7 @@ mod tests {
},
command: Some(lsp::Command {
title: "▶\u{fe0e} Run Test".to_string(),
- command: "deno.test".to_string(),
+ command: "deno.client.test".to_string(),
arguments: Some(vec![
json!("https://deno.land/x/mod.ts"),
json!("test a"),
@@ -611,7 +611,7 @@ mod tests {
},
command: Some(lsp::Command {
title: "Debug".to_string(),
- command: "deno.test".to_string(),
+ command: "deno.client.test".to_string(),
arguments: Some(vec![
json!("https://deno.land/x/mod.ts"),
json!("test a"),
@@ -635,7 +635,7 @@ mod tests {
},
command: Some(lsp::Command {
title: "▶\u{fe0e} Run Test".to_string(),
- command: "deno.test".to_string(),
+ command: "deno.client.test".to_string(),
arguments: Some(vec![
json!("https://deno.land/x/mod.ts"),
json!("useFnName"),
@@ -659,7 +659,7 @@ mod tests {
},
command: Some(lsp::Command {
title: "Debug".to_string(),
- command: "deno.test".to_string(),
+ command: "deno.client.test".to_string(),
arguments: Some(vec![
json!("https://deno.land/x/mod.ts"),
json!("useFnName"),
@@ -683,7 +683,7 @@ mod tests {
},
command: Some(lsp::Command {
title: "▶\u{fe0e} Run Test".to_string(),
- command: "deno.test".to_string(),
+ command: "deno.client.test".to_string(),
arguments: Some(vec![
json!("https://deno.land/x/mod.ts"),
json!("test b"),
@@ -707,7 +707,7 @@ mod tests {
},
command: Some(lsp::Command {
title: "Debug".to_string(),
- command: "deno.test".to_string(),
+ command: "deno.client.test".to_string(),
arguments: Some(vec![
json!("https://deno.land/x/mod.ts"),
json!("test b"),
@@ -731,7 +731,7 @@ mod tests {
},
command: Some(lsp::Command {
title: "▶\u{fe0e} Run Test".to_string(),
- command: "deno.test".to_string(),
+ command: "deno.client.test".to_string(),
arguments: Some(vec![
json!("https://deno.land/x/mod.ts"),
json!("test ignore"),
@@ -755,7 +755,7 @@ mod tests {
},
command: Some(lsp::Command {
title: "Debug".to_string(),
- command: "deno.test".to_string(),
+ command: "deno.client.test".to_string(),
arguments: Some(vec![
json!("https://deno.land/x/mod.ts"),
json!("test ignore"),
@@ -779,7 +779,7 @@ mod tests {
},
command: Some(lsp::Command {
title: "▶\u{fe0e} Run Test".to_string(),
- command: "deno.test".to_string(),
+ command: "deno.client.test".to_string(),
arguments: Some(vec![
json!("https://deno.land/x/mod.ts"),
json!("test only"),
@@ -803,7 +803,7 @@ mod tests {
},
command: Some(lsp::Command {
title: "Debug".to_string(),
- command: "deno.test".to_string(),
+ command: "deno.client.test".to_string(),
arguments: Some(vec![
json!("https://deno.land/x/mod.ts"),
json!("test only"),
@@ -827,7 +827,7 @@ mod tests {
},
command: Some(lsp::Command {
title: "▶\u{fe0e} Run Test".to_string(),
- command: "deno.test".to_string(),
+ command: "deno.client.test".to_string(),
arguments: Some(vec![
json!("https://deno.land/x/mod.ts"),
json!("test template literal name"),
@@ -851,7 +851,7 @@ mod tests {
},
command: Some(lsp::Command {
title: "Debug".to_string(),
- command: "deno.test".to_string(),
+ command: "deno.client.test".to_string(),
arguments: Some(vec![
json!("https://deno.land/x/mod.ts"),
json!("test template literal name"),