Open dolanmiu opened 6 years ago
Is it possible to bypass string variables for this spell checker?
currently this fails, but it shouldn't. I have to do an ignore every time, which is very annoying:
var URL = 'https://github.com/Jason3S/cspell/issues/26#issuecomment-383315831'
I want to spell check variable names, function names and all that etc,
I am not too fussed about the spelling of string variables.
BUT, I would like to spell check .spec.ts
So it should still find it('should fix spelin erros')
it('should fix spelin erros')
Edit: I have found this, which disables ALL stings:
https://github.com/Jason3S/cspell/blob/master/samples/comments_only/cpp_strings_and_comments.cspell.json
"ignoreRegExpList": [ "string" ]
I am working on making cspell grammar aware. Once that is in place, this should be possible.
Is it possible to bypass string variables for this spell checker?
currently this fails, but it shouldn't. I have to do an ignore every time, which is very annoying:
I want to spell check variable names, function names and all that etc,
I am not too fussed about the spelling of string variables.
BUT, I would like to spell check .spec.ts
So it should still find
it('should fix spelin erros')
Edit: I have found this, which disables ALL stings:
https://github.com/Jason3S/cspell/blob/master/samples/comments_only/cpp_strings_and_comments.cspell.json