Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow "Diagnostic" panel to only show current file #4739

Open
1 task done
EvHaus opened this issue May 18, 2023 · 2 comments
Open
1 task done

Allow "Diagnostic" panel to only show current file #4739

EvHaus opened this issue May 18, 2023 · 2 comments
Labels
design [core label] diagnostics Feedback for diagnostics, error messages, logs, etc enhancement [core label]

Comments

@EvHaus
Copy link

EvHaus commented May 18, 2023

Check for existing issues

  • 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":

Screenshot 2023-05-18 at 1 08 28 PM

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

@EvHaus EvHaus added admin read Pending admin review enhancement [core label] triage Maintainer needs to classify the issue labels May 18, 2023
@JosephTLyons JosephTLyons added diagnostics Feedback for diagnostics, error messages, logs, etc design [core label] and removed triage Maintainer needs to classify the issue admin read Pending admin review labels May 19, 2023
@JosephTLyons
Copy link
Collaborator

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.

@JosephTLyons JosephTLyons transferred this issue from zed-industries/community Jan 24, 2024
@isaacd9
Copy link

isaacd9 commented Apr 29, 2024

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
design [core label] diagnostics Feedback for diagnostics, error messages, logs, etc enhancement [core label]
Projects
None yet
Development

No branches or pull requests

3 participants