rust-analyzer
rust-analyzer copied to clipboard
disable double-click to insert inlay hints for standard library and 3rd party code
i often accidentally double click inlay hints, and it's difficult to tell when it happens on third party or standard library code because it's obviously not version controlled. it would be nice if the language server would omit the textEdits in the inlay hint response for these files
Duplicate of #17890 and #15535. I still think this is a client issue. And we'd also like to be able to mark library files as read-only, to prevent accidents like that.
I don't think the clients even knows the files belong to a library?
They don't, but #5847.