British English - Code Spell Checker
British English dictionary extension for VS Code. This dictionary includes both the -ise and -ize spelling variants
according to the Oxford English Dictionary.
Note: this is a replacement dictionary for the one that is bundled with
Code Spell Checker. Due to
licensing restrictions, the bundled dictionary is many years old.
Installation
Once this extension is installed, the updated British English dictionary will automatically be used, if the en-gb
locale is used.
Enable or Disable the Dictionary
Run these commands with F1 or View -> Command Palette...:
| Command |
What |
Value |
Scope |
| Enable British English Spell Checker Dictionary |
locale |
en-GB |
global |
| Disable British English Spell Checker Dictionary |
locale |
en-GB |
global |
| Enable British English Spell Checker Dictionary in Workspace |
locale |
en-GB |
workspace |
| Disable British English Spell Checker Dictionary in Workspace |
locale |
en-GB |
workspace |
Manual Settings
This is done with the language setting.
Preferences -> Settings
Replacing en with en-GB in the cSpell.language setting will check British English spelling instead of American
English:
"cSpell.language": "en-GB",
To accept both the American and the British English spellings:
"cSpell.language": "en,en-GB",
Dictionaries
| Dictionary |
enabled |
locale |
languageId |
glob |
en-gb |
conditional |
en-GB |
|
|
The enabled column says when a dictionary is used:
- yes: for every file.
- conditional: when all of the row's conditions match. An empty cell is no condition.
- no: only after you enable it, with its Enable command or in
cSpell.dictionaries.
The conditions:
- locale:
cSpell.language includes one of these locales.
- languageId: the file is one of these types.
- glob: the file's path matches one of these patterns.
Requirements
This extension will automatically include the
Code Spell Checker
extension.
Copyright © 2017-2026 Street Side Software
Brought to you by
Street Side Software