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

Feature request: Add userIgnoreWords #3046

Open
throwaway96 opened this issue Feb 19, 2024 · 1 comment
Open

Feature request: Add userIgnoreWords #3046

throwaway96 opened this issue Feb 19, 2024 · 1 comment

Comments

@throwaway96
Copy link

This extension is helping me catch a ton of typos. But I'm not a huge fan of the way the settings work (which I realize is mostly due to VS Code).

I want to be able to have an ignore list that combines words from my User and Workspace settings.

As I understand it, a Workspace setting will always overwrite a User setting of the same name. So if I have cSpell.ignoreWords in my Workspace settings file, cSpell.ignoreWords in my User settings file is effectively ignored. Ideally, I'd like all of the lists to just be merged, but I realize that's not possible with VS Code (#2679).

Therefore, I'd like to see a userIgnoreWords setting. Its contents would be merged with those of ignoreWords. Like userWords, it would be for the User settings file only.

I did look into cspell.json, and it seems like that could potentially do what I want. This section seems to imply this list would be merged with whichever list came from the VS Code settings. Would I just put something like this in cspell.json?

{
  "ignoreWords": {
    "abc",
    "def"
  }
}

Still, I'd rather not need an extra file. I'd really appreciate it if you could consider adding cSpell.userIgnoreWords or something like it.

@memeplex
Copy link

memeplex commented Mar 3, 2024

For consistency perhaps userFlagWords could be added.

Anyway, notice that by way of extending instead of overriding lists it's possible to end up with conflicting sets of allowed, ignored and flagged words.

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

No branches or pull requests

3 participants