errata-ai / vale-vscode

A Visual Studio Code extension for the Vale CLI.
https://marketplace.visualstudio.com/items?itemName=errata-ai.vale-server
MIT License
53 stars 18 forks source link

Vale throws errors when opening repositories without Vale #106

Open thernstig opened 2 years ago

thernstig commented 2 years ago

If we have the Vale extension installed and open a repository where the Vale binary does not exist, one get this:

There was an error running Vale Error: not found: vale.`

In many cases, Vale is only installed into specific repositories (alongside the binary) since only a subset of all repositories worked on uses Vale in CI etc. As such, when developing I wish to not get the above error message by default.

Maybe it should be a silent error not showing a pop-up like I received in VS Code as that is intrusive.