Skip to content

[FEATURE]: An option to ignore comments/prose #202

@SimonBrandner

Description

@SimonBrandner

Feature Description

I would like to have an option for Codebook to ignore comments and prose in general.

Use Case

As a nonnative English speaker, I find it very useful to have some sort of a spell checker at hand. While codebook works well for code, something like Harper is nicer for prose when typesetting in LaTeX/Typst. Therefore, I would like to use them in tandem, however, having both enabled means mistakes get reported twice and false positives require twice as much time to handle.

Proposed Solution

A builtin config option would be ideal but a general regex config option could maybe suffice.

Alternative Solutions

Enable Harper and disable Codebook for e.g. Typst files sacrificing code spell checking.

Examples

No response

Additional Context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions