I consistently misspell const
(due to permanent injury and missing bones in my right hand) when I type too fast with one hand and not the other. I'd like to find how to tell VSCode that cosnt
should always be changed to const
, hopefully as a custom case added to whatever dictionary that is built-in.
I've hoped to rely on at least having the misspell highlighted as an error. It doesn't get recognized as a mistake though.
// what it looks like (again, never marked as erroneous)
cosnt foo = 'bar';
// I'm just hoping to add a simple setting to say, "When you see 'cosnt' always change it to 'const'.
const foo = 'bar';