Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Brazilian Portuguese Config #886

Open
oliveirarafa opened this issue Mar 5, 2024 · 2 comments
Open

Brazilian Portuguese Config #886

oliveirarafa opened this issue Mar 5, 2024 · 2 comments

Comments

@oliveirarafa
Copy link

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": [],
}
@Jason3S
Copy link
Collaborator

Jason3S commented Mar 6, 2024

@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
Copy link
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants