biomejs / biome-zed

Biome extension for Zed
https://biomejs.dev
MIT License
169 stars 6 forks source link

Add "Show documentation for <rule>" to code actions #58

Closed silvenon closed 1 month ago

silvenon commented 1 month ago

Many times when I run into a Biome error I run the CLI as well just to get the links to the rules as well. I think it would be really handy to add an additional code action for rule documentation, like ESLint has, so that I don't have to run the CLI or search Biome's docs.

I often like to read more about rules, why they're discouraged patterns, what are some alternatives etc.

Screenshot 2024-10-22 at 22 59 40

ESLint example:

Screenshot 2024-10-22 at 23 03 50

luckydye commented 1 month ago

This is not something we can do in this extension, you should suggest it in biome itself though: https://github.com/biomejs/biome/issues