Skip to content

Add support for adding words to cspell config #117

@evaccari

Description

@evaccari

Description

Currently, the plugin correctly reads CSpell configuration files. However, when a word is not recognized, there is no easy way to add it to the CSpell config. Users need to manually edit the config file, which interrupts workflow.

It would be great to have a feature similar to VS Code's CSpell extension, where you can right-click on a word and select "Add to cspell config", and the word is automatically added to the correct config file.

Expected behavior

When a word is underlined as misspelled, there should be one option per active config which add it to their CSpell config file, when it's possible. (JSON, YAML,...)

Reference

VS Code cSpell extension: https://marketplace.visualstudio.com/items?itemName=streetsidesoftware.code-spell-checker

VS Code Screenshot

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions