cspell
cspell copied to clipboard
unable to use compound words
I discovered that cspell is finding java arguments like -Djenkins
as words and I attempted to make it recognize them by adding D
and jenkins
as words and adding "allowCompoundWords": true,
inside cspell.json
.
Still, this didn't work and these words are still reported.
I do not want to add each of them in the dictionary as the list would grow too fast.
What is the trick that needs to be done to bypass this case?
Update: I discovered about cade where linting fails and seems to be quite similar: pip command line arguments accepts requirements with this syntax -rFILENAME
which means that cspell reports rrequirements
as a spell mistake when you do pip install -rrequirements.txt
Shortly this issue is almost identical with the Java one, where a single character argument is followed by parameter value. cspell fails to spot that what it needs to spell is only the value and skipping the key.
So dar I am not aware of any way to workaround this problem. Any ideas?