Implement inlay hint location links #11701
Labels
A-inlay-hints
inlay/inline hints
C-feature
Category: feature request
fun
A technically challenging issue with high impact
S-actionable
Someone could pick this issue up and work on it right now
The inlay hint api allows to split the hints into parts backed by links, we should make use of this.
https://github.com/rust-analyzer/rust-analyzer/blob/5e8515870674983cce5b945946045bc1e9b80200/crates/rust-analyzer/src/lsp_ext.rs#L273-L283
The main difficulty here is that we currently use
HirDisplay
to render the display representation of types which doesn't allow introspection into each part. We probably need a proper type visitor api here.The text was updated successfully, but these errors were encountered: