summaryrefslogtreecommitdiff
path: root/cli/tests
diff options
context:
space:
mode:
authorNayeem Rahman <nayeemrmn99@gmail.com>2024-01-26 13:41:12 +0000
committerGitHub <noreply@github.com>2024-01-26 13:41:12 +0000
commit9a5b4b0395c5a271a2897afc1a9a167e195c3bd8 (patch)
tree4c7c4e5b03bfea4f317d9f7732cb64c44440b23e /cli/tests
parent9951506506ded805ff5eb09b52fb0235c0c3df79 (diff)
feat(lsp): complete parameters as tab stops and placeholders (#22126)
Diffstat (limited to 'cli/tests')
-rw-r--r--cli/tests/integration/lsp_tests.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/cli/tests/integration/lsp_tests.rs b/cli/tests/integration/lsp_tests.rs
index 79ca35fc7..7a48dcda6 100644
--- a/cli/tests/integration/lsp_tests.rs
+++ b/cli/tests/integration/lsp_tests.rs
@@ -9037,8 +9037,8 @@ fn lsp_completions_complete_function_calls() {
"value": "Calls a defined callback function on each element of an array, and returns an array that contains the results.\n\n*@param* - callbackfn A function that accepts up to three arguments. The map method calls the callbackfn function one time for each element in the array.*@param* - thisArg An object to which the this keyword can refer in the callbackfn function. If thisArg is omitted, undefined is used as the this value."
},
"sortText": "1",
- "insertText": "map(callbackfn)",
- "insertTextFormat": 1
+ "insertText": "map(${1:callbackfn})",
+ "insertTextFormat": 2,
})
);
client.shutdown();
@@ -11130,7 +11130,7 @@ function a() {
};
};
}
-
+
class C {
@a()
static test() {