From 728d205d9d2551a356a022b6b083bcdcf081f3bf Mon Sep 17 00:00:00 2001 From: Jean Pierre Date: Thu, 5 Aug 2021 20:46:32 -0500 Subject: feat(lsp): implement refactoring code actions (#11555) Closes: denoland/vscode_deno#433 --- cli/tests/lsp/code_action_params_refactor.json | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 cli/tests/lsp/code_action_params_refactor.json (limited to 'cli/tests/lsp/code_action_params_refactor.json') diff --git a/cli/tests/lsp/code_action_params_refactor.json b/cli/tests/lsp/code_action_params_refactor.json new file mode 100644 index 000000000..9fe359498 --- /dev/null +++ b/cli/tests/lsp/code_action_params_refactor.json @@ -0,0 +1,21 @@ +{ + "textDocument": { + "uri": "file:///a/file.ts" + }, + "range": { + "start": { + "line": 0, + "character": 7 + }, + "end": { + "line": 0, + "character": 33 + } + }, + "context": { + "diagnostics": [], + "only": [ + "refactor" + ] + } +} -- cgit v1.2.3