Skip to content
Discussion options

You must be logged in to vote

Hey @durianwaffle,

Is it the best practice to put every validation in validator or can scatter around in different providers?

I wouldn't recommend moving validations out of the validator. The hover LSP feature is very specific to actually hovering over text, while validations (diagnostics in LSP speech) also appear in other places. For example, diagnostics will appear in the problems tab of your IDE, whereas hovers won't appear there.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by durianwaffle
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants