---
source: crates/tinymist-query/src/code_action.rs
description: "Code Action on $a_i||j/* range "
expression: "JsonRepr::new_redacted(result, &REDACT_LOC)"
input_file: crates/tinymist-query/src/fixtures/code_action/unknown_math_subscript.typ
---
[
{
"edit": {
"changes": {
"s0.typ": [
{
"insertTextFormat": 2,
"newText": "\n\nlet ij",
"range": "0:0:0:0"
}
]
}
},
"kind": "quickfix",
"title": "Create missing variable"
},
{
"edit": {
"changes": {
"s0.typ": [
{
"insertTextFormat": 2,
"newText": "(i j)",
"range": "0:3:0:5"
}
]
}
},
"kind": "quickfix",
"title": "Add spaces between letters"
},
{
"edit": {
"changes": {
"s0.typ": [
{
"insertTextFormat": 1,
"newText": " ",
"range": "0:1:0:1"
},
{
"insertTextFormat": 1,
"newText": " ",
"range": "0:5:0:23"
}
]
}
},
"kind": "refactor.rewrite",
"title": "Convert to block equation"
},
{
"edit": {
"changes": {
"s0.typ": [
{
"insertTextFormat": 1,
"newText": "\n",
"range": "0:1:0:1"
},
{
"insertTextFormat": 1,
"newText": "\n",
"range": "0:5:0:23"
}
]
}
},
"kind": "refactor.rewrite",
"title": "Convert to multiple-line block equation"
}
]