zed icon indicating copy to clipboard operation
zed copied to clipboard

show eslint rule name

Open lukeed opened this issue 1 year ago • 2 comments

Check for existing issues

  • [X] Completed

Describe the feature

The tooltip message (or status message) should say what the ESLint rule name is that's failing. That way we can know which rule(s) to disable en masse.

Should also be listed in the Errors/Problems panel

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

Screen Shot 2023-11-01 at 3 51 15 PM Screen Shot 2023-11-01 at 3 51 57 PM Screen Shot 2023-11-01 at 3 52 11 PM

lukeed avatar Nov 01 '23 22:11 lukeed

Giving this some bump love.

shellscape avatar Feb 23 '24 18:02 shellscape

agree, almost makes it worth switching to another editor when trying to add linting to previously-unlinted files

chadoh avatar May 09 '24 20:05 chadoh

Also, the displayed rule name should be a link to the rule docs. I can't figure out in the current Zed UI for ESLint rule violations how to find a link to the rule. The rule docs provide import context for why the code is problematic, and usually has examples about how to fix it.

Frustratingly, Zed (even though the cursor shows a text icon) doesn't allow selecting the text of the ESLint rule name, so you can't even manually copy past the rule name into a google search:

Screenshot 2024-05-28 at 10 39 13 AM

jaydenseric avatar May 28 '24 00:05 jaydenseric