This is a low-level system for registering LSP code actions. Developers can register their own code actions. In future commits I am going to add features on top of this.
12 lines
328 B
Text
12 lines
328 B
Text
{"title": "hello world",
|
|
"kind": "quickfix",
|
|
"edit":
|
|
{"documentChanges": [],
|
|
"changes":
|
|
{"file://codeaction.lean":
|
|
[{"range":
|
|
{"start": {"line": 18, "character": 4},
|
|
"end": {"line": 18, "character": 4}},
|
|
"newText": "hello!!!"}]},
|
|
"changeAnnotations": {}},
|
|
"data": {"uri": "file://codeaction.lean"}}
|