Open
Description
Is your feature request related to a problem? Please describe.
It would be nice to be able to forbid phrases instead of only words. Say that we are trying to disallow writing note book
in favor of notebook
.
Describe the solution you'd like
Allow some syntax for forbidding phrases. This could be something like:
In a custom word list:
!note book
In words section of cspell configuration:
"words": [
"!note book
],
In flagWords section of cspell configuration:
"flagWords": ["note book"]
(Note that this syntax proposal conflicts with the proposal here: #3777)
Describe alternatives you've considered
Could also have a separate concept of phrases if necessary:
In words section of cspell configuration:
"phrases": [
"!note book
],
New flagPhrases section of cspell configuration:
"flagPhrases": ["note book"]