vscode-spell-checker
vscode-spell-checker copied to clipboard
ability to allow combined words
Very often in programming we have keys that are made from concatenating two words and I used spellcheckers that were able to recognize such combinations and to ignore them.
Having to add a huge amount of words to ignore lists is not only annoying but also decreases the performance of the spelling.
Practical examples is****
, list***
, match***
, and these come from public API of famous libraries, even stdlibs.
This is already supported. See the "camelCase" discussion. See also the "enableCompoundWords" setting to allow not just "isFound" but also "isfound".
The challenge with enableCompoundWords
is that it considers some clearly misspelled words to be considered correct. See #345
It might be nice to allow for common patterns like is*
and error*
to allow isset
or errorcode
while being able to avoid missing errors like avalible
.
Closing as stale.
Note: It is possible to add compoundable words to your dictionary:
cspell.config.yaml
words:
- *error*
- *code*
This will allow compounds like: errorcode
, codeerror
, codecode
.
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.