zed-industries / zed

Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
https://zed.dev
Other
49.49k stars 3.02k forks source link

assistant: /diagnostic file completion prints lots of empty lines #19783

Open opsnull opened 1 week ago

opsnull commented 1 week ago

Check for existing issues

Describe the bug / provide steps to reproduce it

When open some files not in current project, /diagnostic command prints lots of empty lines:

图片

Environment

Zed: v0.160.0 (Zed Dev d7a277607b17e9875a1aba6351e3acc64db0c1d3) OS: macOS 15.0.1 Memory: 18 GiB Architecture: aarch64

If applicable, add mockups / screenshots to help explain present your vision of the feature

No response

If applicable, attach your Zed.log file to this issue.

Zed.log


notpeter commented 1 week ago

Interesting. Do you have an example of how to reproduce?

opsnull commented 1 week ago

@notpeter open a project's markdown or json file, then trigger /diagnostic file/directory completion: Oct-26-2024 22-29-52