koxudaxi/ruff-pycharm-plugin

Display Documentation/Link to Rules

stevin-wilson opened this issue · 1 comments

Is your feature request related to a problem? Please describe.
First of all, Thanks for the wonderful tool!

Is there a way to show the documentation (preferred) or link for the rule along with the tooltip?

For example, could the documentation for rule T201 be accessed from the tooltip in the attached screenshot?

Screenshot 2024-04-17 at 10 24 28 AM

Describe the solution you'd like

It would be very helpful if the documentation (including "use instead" information) can be displayed in the tooltip.
Screenshot 2024-04-17 at 12 17 26 PM

Another option is to include a link to webpage containing the documentation for the rule as described in astral-sh/ruff-lsp#163 (comment)

Additional context