Hacker News new | ask | show | jobs
by Arnavion 2720 days ago
>Curiously it doesnt't seem like there's a standard for test running though?

The code lens API allows you to register commands with code spans of your choice. There's no specific built-in command for running tests, so it's ad-hoc.

https://microsoft.github.io/language-server-protocol/specifi...

Eg for the Rust LSP server: https://github.com/rust-lang/rls/blob/ea7a0c36aa5f45846b06f8... + https://github.com/rust-lang/rls/blob/ea7a0c36aa5f45846b06f8...