rspell
rspell copied to clipboard
Code/no code only typos
Is there an existing issue or pull request for this?
- [X] I have searched the existing issues and pull requests
Feature description
Sometimes correcting both comments/docs typos and code typos at once is not preferred.
Desired solution
An option for "only code typos" vs "only non code typos". This can be done in the cspell configuration by creating ignore patterns for anything in comments, or the opposite. Two problems this brings up:
- How to merge these options into the user's config temporarily
- Would code comment regexes have to be added for every language?
Alternatives considered
No response
Additional context
No response