summaryrefslogtreecommitdiff
path: root/cli/tests/lsp/code_action_params_refactor.json
diff options
context:
space:
mode:
authorJean Pierre <jeanp413@hotmail.com>2021-08-05 20:46:32 -0500
committerGitHub <noreply@github.com>2021-08-06 11:46:32 +1000
commit728d205d9d2551a356a022b6b083bcdcf081f3bf (patch)
treec0823fef3a96ed164379c5297d521fce9b2628d8 /cli/tests/lsp/code_action_params_refactor.json
parent3f0cf9619fce71a8898c495501df4bdb0e07e735 (diff)
feat(lsp): implement refactoring code actions (#11555)
Closes: denoland/vscode_deno#433
Diffstat (limited to 'cli/tests/lsp/code_action_params_refactor.json')
-rw-r--r--cli/tests/lsp/code_action_params_refactor.json21
1 files changed, 21 insertions, 0 deletions
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"
+ ]
+ }
+}