zed
zed copied to clipboard
Allow "Diagnostic" panel to only show current file
Check for existing issues
- [X] Completed
Describe the feature
At the moment, the Diagnostic panels shows you errors & warnings from all files you have open in your Zed tabs. For me, this is too much. I only want to see errors & warnings for the current file I have focused.
VSCode has a toggle for this called "Show Active File Only":
It would be great if Zed had something similar (and ideally a way to make that setting your default).
If applicable, add mockups / screenshots to help present your vision of the feature
No response
This is a neat idea @EvHaus. Just wanted to mention that we do have a couple commands to let you cycle through the errors in the current file
editor: go to diagnostic: f8
editor: go to prev diagnostic: shifft-f8
That being said, being able to filter down the diagnostics panel sounds nice too.
In a similar vein, is there a way to collapse the diagnostics view to see a summary of issues by file?
Often, I want to work through each file to fix code issues in series and seeing all the code context is a bit overwhelming.