rspell icon indicating copy to clipboard operation
rspell copied to clipboard

Code/no code only typos

Open Lioness100 opened this issue 2 years ago • 0 comments

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

Lioness100 avatar Feb 13 '23 13:02 Lioness100