A basic spell checker that works well with camelCase code for Sublime's LSP.
Provided through Spelling Checker.
Please see Spelling Checker documentation for more info. The majority of the documentation can be applied to LSP-cspell, with the exception of VS Code specific settings.
- Install LSP and
LSP-cspell
via Package Control. - Restart Sublime.
There are some ways to configure the package and the language server.
- From
Preferences > Package Settings > LSP > Servers > LSP-cspell
- From the command palette
Preferences: LSP-cspell Settings
Steps:
- Search npm for your dictionary. For example, for the Portuguese dictionary look for
@cspell/dict-pt-pt
. - Follow the instructions in the README of the package.
- Set the
"cSpell.language"
to"pt"
(if you want Portuguese) or"en,pt"
(if you want English and Portuguese).
See the following example on how to configure specialized dictionaries.