profile
viewpoint

Ask questionsIntegration with VS Code version

I read in #48 that:

The command line version cannot pick up the settings from VS Code.

But it actually would be nice having both of them acting together. I think at least words in the local project dictionary (in .vscode/settings.json with key "cSpell.words") should be considered by the CLI version.

streetsidesoftware/cspell

Answer questions awgeorge

If you just want the single config file, add this to your package.json.

"precspell": "jq -r 'with_entries( if .key | startswith(\"cSpell\") then .key |= sub(\".*\\\\.\";\"\") else empty end)' .vscode/settings.json > cspell.json",
"cspell": "cspell --config cspell.json",
useful!

Related questions

No questions were found.
Github User Rank List