How to show wavy underline(Error Squiggles) when word is wrong in vs code extension development

Viewed 218

When developing an extension that has syntax checking how to show the wavy underline when word typed is wrong.

As of now, my extension shows only color change when the correct word is entered. But I want to underline the error.

Ex:- If frm is entered then it should underline as 'from' is the valid keyword.

1 Answers
Related