Vscode-spell-checker: Ignore accents when spell checking

Created on 27 Dec 2017  路  7Comments  路  Source: streetsidesoftware/vscode-spell-checker

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...

enhancement

Most helpful comment

@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.

All 7 comments

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.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

honghui-qiao picture honghui-qiao  路  3Comments

alallier picture alallier  路  3Comments

apptimise picture apptimise  路  6Comments

romines picture romines  路  3Comments

mgroves picture mgroves  路  5Comments