lean4-htt/tests/lean/interactive/codeaction.lean.expected.out
Buster Copley bccbefdc1c
fix: version numbers in code actions (#2721)
Co-authored-by: Richard Copley <buster@buster.me.uk>
2023-10-24 22:55:47 +11:00

22 lines
666 B
Text

{"title": "hello world",
"kind": "quickfix",
"edit":
{"documentChanges":
[{"textDocument": {"version": 1, "uri": "file://codeaction.lean"},
"edits":
[{"range":
{"start": {"line": 30, "character": 4},
"end": {"line": 30, "character": 4}},
"newText": "hello!!!"}]}],
"changes": {},
"changeAnnotations": {}}}
{"title": "a long-running action",
"kind": "refactor",
"data":
{"providerResultIndex": 1,
"providerName": "helloProvider",
"params":
{"textDocument": {"uri": "file://codeaction.lean"},
"range":
{"start": {"line": 30, "character": 4}, "end": {"line": 30, "character": 4}},
"context": {"diagnostics": []}}}}