Closed barronwei closed 4 years ago
Will this PR also include saving states for switching between AST Explorer and JSON?
No, the AST visualization is shown by default.
Will this PR also include saving states for switching between AST Explorer and JSON?
No, the AST visualization is shown by default.
As in, if I expanded the entire AST visualization then switched to JSON then switch back, it results back to default.
Will this PR also include saving states for switching between AST Explorer and JSON?
No, the AST visualization is shown by default.
As in, if I expanded the entire AST visualization then switched to JSON then switch back, it results back to default.
Yeah, the two do not share any state, so upon rendering one, the state of the other is wiped.
Will this PR also include saving states for switching between AST Explorer and JSON?
No, the AST visualization is shown by default.
As in, if I expanded the entire AST visualization then switched to JSON then switch back, it results back to default.
Yeah, the two do not share any state, so upon rendering one, the state of the other is wiped.
Should we consider saving it, so that someone can just come back to where they left off? Maybe we can save this for a future issue
Will this PR also include saving states for switching between AST Explorer and JSON?
No, the AST visualization is shown by default.
As in, if I expanded the entire AST visualization then switched to JSON then switch back, it results back to default.
Yeah, the two do not share any state, so upon rendering one, the state of the other is wiped.
Should we consider saving it, so that someone can just come back to where they left off? Maybe we can save this for a future issue
Sounds like an edge case, I say future.
This pull request adds a JSON view for the AST on the same pane as well as the option to hide the AST via the
x
and show the AST via the menu. If the AST is already being shown, the menu item is disabled.