Typo (Typo)¶
Type | Scope | Severity | Activated by default |
Minutes to fix |
Tags |
---|---|---|---|---|---|
Code smell |
BSL OS |
Info |
Yes |
1 |
badpractice |
Parameters¶
Name | Type | Description | Default value |
---|---|---|---|
minWordLength |
Integer |
Minimum length for checked words |
3 |
userWordsToIgnore |
String |
Dictionary for excluding words (comma separated) |
`` |
Description¶
Spell checking is done with LanguageTool. The strings are split into camelCase chunks and checked against a built-in dictionary.
Sources¶
- Useful information: Russian for all
- LanguageTool page
Snippets¶
Diagnostic ignorance in code¶
// BSLLS:Typo-off
// BSLLS:Typo-on
Parameter for config¶
"Typo": {
"minWordLength": 3,
"userWordsToIgnore": ""
}