vscode-cspell-dict-extensions
vscode-cspell-dict-extensions copied to clipboard
Brazilian Portuguese Config
Hi. I'm trying to config cspell in my project, but i'm having some problems to make if find the same problems that the vscode extension does. I used the extension to create a cspell.json
and made it like bellow but when i run using the cli many false positive problems are found. With the vscode extension this does not happen.
cspell.json
{
"version": "0.2",
"language": "en,pt,pt_BR",
"ignorePaths": [],
"dictionaryDefinitions": [],
"dictionaries": [],
"words": [],
"ignoreWords": [],
}
@oliveirarafa,
CSpell does not have access to the Portuguese dictionary stored in the extension.
You have to install it:
npm i @cspell/dict-pt-br
{
"version": "0.2",
"language": "en,pt,pt_BR",
"import": ["@cspell/dict-pt-br"], // <-- this line tells cspell to import from node_modules
"ignorePaths": [],
"dictionaryDefinitions": [],
"dictionaries": [],
"words": [],
"ignoreWords": [],
}
@oliveirarafa,
CSpell does not have access to the Portuguese dictionary stored in the extension.
You have to install it:
npm i @cspell/dict-pt-br
{ "version": "0.2", "language": "en,pt,pt_BR", "import": ["@cspell/dict-pt-br"], // <-- this line tells cspell to import from node_modules "ignorePaths": [], "dictionaryDefinitions": [], "dictionaries": [], "words": [], "ignoreWords": [], }
Thank you @Jason3S> It helped me, but I still get some different words from the cspell cli and vscode extension. Some words are marked as wrong by cspell but not on vscode using the extension.