Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

That's doable in LSP - the server knows about the selection, not just the cursor position. E.g. if I use rust-analyzer (in Helix, so there aren't any protocol extension in play), select an expression and request hover info, rust-analyzer shows the expression's type.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: