summaryrefslogtreecommitdiff
path: root/cli/tests/testdata/lsp/code_action_response_no_disabled.json
blob: 11d2136b5e303091f7ae4c58a5a9151229dc5afd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
[
  {
    "title": "Extract to function in module scope",
    "kind": "refactor.extract.function",
    "isPreferred": false,
    "data": {
      "specifier": "file:///a/file.ts",
      "range": {
        "start": {
          "line": 0,
          "character": 0
        },
        "end": {
          "line": 14,
          "character": 0
        }
      },
      "refactorName": "Extract Symbol",
      "actionName": "function_scope_0"
    }
  },
  {
    "title": "Move to a new file",
    "kind": "refactor.move.newFile",
    "isPreferred": false,
    "data": {
      "specifier": "file:///a/file.ts",
      "range": {
        "start": {
          "line": 0,
          "character": 0
        },
        "end": {
          "line": 14,
          "character": 0
        }
      },
      "refactorName": "Move to a new file",
      "actionName": "Move to a new file"
    }
  }
]