scalameta / nvim-metals

A Metals plugin for Neovim
https://scalameta.org/metals/
Apache License 2.0
466 stars 75 forks source link

refactor: include a message when Test Explorer is not set for select commands #630

Closed ckipp01 closed 10 months ago

ckipp01 commented 10 months ago

Currently even though the select test suite or case commands are always available they won't actually work with Metals unless you have the Test Explorer enabled. In order to keep discoverability of the commands I still generate them no matter what, but if they user tries to use them, they get a message about enabling the Test Explorer. In the past this would just tell them, "hey, no tests", which wasn't accurate.