From 9a5b4b0395c5a271a2897afc1a9a167e195c3bd8 Mon Sep 17 00:00:00 2001 From: Nayeem Rahman Date: Fri, 26 Jan 2024 13:41:12 +0000 Subject: feat(lsp): complete parameters as tab stops and placeholders (#22126) --- cli/tests/integration/lsp_tests.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'cli/tests/integration') 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() { -- cgit v1.2.3