cspell-action
cspell-action copied to clipboard
Support suggestions (`--show-suggestions`) for words added via `flagWords`
Problem summary
Words added via flagWords are detected as "unknown word" and there is no suggestions despite having configured some in the settings file.
Details
As per https://streetsidesoftware.com/vscode-spell-checker/docs/configuration/#cspellflagwords, we have the following configured in the cspell.json GHA configuration file for our project:
"flagWords": [
"blacklist: denylist, deny list, deny, block, denied list, blocked list",
"blacklisted: disallowed, denied, blocked",
"blacklisting: disallowing, denying, blocking",
"master: primary, main, active, default, base",
"slave: secondary, replica, standby, fallback",
"webmaster: admin, administrator",
"whitelist: allowlist, allow list, allow, allowed list",
"whitelisted: allowed",
"whitelisting: allowing"
],
However, this is the output:
As you can see, there are no suggestions, and the words are reported as "unknown" instead of "flagged".
@klonos,
You bring up a good point. That action reporting hasn't been updated since the suggestion feature was added.