vscode-cspell-dict-extensions icon indicating copy to clipboard operation
vscode-cspell-dict-extensions copied to clipboard

Brazilian Portuguese Config

Open oliveirarafa opened this issue 11 months ago • 2 comments

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 avatar Mar 05 '24 21:03 oliveirarafa

@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": [],
}

Jason3S avatar Mar 06 '24 08:03 Jason3S

@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.

oliveirarafa avatar Mar 07 '24 23:03 oliveirarafa