Allow dumping the project diagnostic view's state as JSON
Also, improve DebugElements action so that it shows the JSON in an editor. Co-authored-by: Nathan Sobo <nathan@zed.dev>
This commit is contained in:
parent
54d49c13d9
commit
949fbe7cd3
9 changed files with 116 additions and 42 deletions
|
@ -1008,7 +1008,7 @@ impl Editor {
|
|||
if project.read(cx).is_remote() {
|
||||
cx.propagate_action();
|
||||
} else if let Some(buffer) = project
|
||||
.update(cx, |project, cx| project.create_buffer(cx))
|
||||
.update(cx, |project, cx| project.create_buffer("", None, cx))
|
||||
.log_err()
|
||||
{
|
||||
workspace.add_item(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue