mirror of
https://github.com/zed-industries/zed.git
synced 2025-02-11 12:46:07 +00:00
context inspector: Log when no suggestions (#16208)
Release Notes: - N/A
This commit is contained in:
parent
55563831c5
commit
0eb96c72e3
1 changed files with 4 additions and 0 deletions
|
@ -56,6 +56,10 @@ impl ContextInspector {
|
||||||
crate::WorkflowStepStatus::Resolved(ResolvedWorkflowStep { title, suggestions }) => {
|
crate::WorkflowStepStatus::Resolved(ResolvedWorkflowStep { title, suggestions }) => {
|
||||||
writeln!(output, "Resolution:").ok()?;
|
writeln!(output, "Resolution:").ok()?;
|
||||||
writeln!(output, " {title:?}").ok()?;
|
writeln!(output, " {title:?}").ok()?;
|
||||||
|
if suggestions.is_empty() {
|
||||||
|
writeln!(output, " No suggestions").ok()?;
|
||||||
|
}
|
||||||
|
|
||||||
for (buffer, suggestion_groups) in suggestions {
|
for (buffer, suggestion_groups) in suggestions {
|
||||||
let buffer = buffer.read(cx);
|
let buffer = buffer.read(cx);
|
||||||
let buffer_path = buffer
|
let buffer_path = buffer
|
||||||
|
|
Loading…
Reference in a new issue