Ruff Rule Browser is a super simple VSCode extension that registers a Quick Fix in your editor, allowing you to open Ruff linter rule links from right inside your editor.
Simply press Ctrl + . / Cmd + . (or select the Quick Fix option when hovering over problematic code) and select the "Open docs for rule <rule-code> in browser" option.