It would be nice to have a setting which tells the dictionary to ignore (or transform) special characters (and accents).
Most programming languages support only ASCII variable naming, for example the word "actualization" is "atualiza莽茫o" in portuguese (note that 莽茫 are both special characters).
The check gives an error if I write atualizacao, but it should work.
Maybe making avaliable a tranform pattern would also be a good idea, but I don't know how this is implemented, so...
You make a really good point. I'll have to think about how this could be done.
I agree, this is cumberstone for multiple languages. I think that it would be easiest to include another plugin, e.g. french-no-accents and it could be configured as any other language.
And it is really easy to feed dictionary through transform function for most affected languages.
I am working on a way to do this.
@Jason3S did you progress on this in any way?
I'm also interested in this feature and willing to help in any way I can!
Same here @Jason3S if we can help, this is quite vital for Spanish for example.
@eturino I agree. Removing accents becomes vital.
The current version of cspell doesn't support stripping accents. The next version, cspell v5 will support it.
Most helpful comment
@eturino I agree. Removing accents becomes vital.
The current version of
cspelldoesn't support stripping accents. The next version, cspell v5 will support it.