rust-analyzer is experimenting with a really clever feature: allow types to open a link to their external docs! https://github.com/rust-analyzer/rust-analyzer/blob/master/docs/dev/lsp-extensions.md#open-external-documentation
I've definitely thought about referencing external resources from an editor: in principle you could even fetch the first paragraph inline too!