WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content

Allow wordlists to contain suggestions #7902

@Alunderin

Description

@Alunderin

Problem

Currently, it's not possible to add suggestions for words in a word list. You can only forbid them, meaning you would have to add them to the config in order to add suggestions.

Solution

Word lists could allow the same syntax as suggestWords and flagWords, e.g.:

# Allowed words with suggestions
cancelled->canceled

# Forbidden words with suggestions
!DOTO->TODO
!retrun: return

Alternatives

No response

Additional Context

Relates to #3777.

Also, the example !retrun: return probably wouldn't work with anything other than "dictionaryDefinitions": [ { "type": "S" } ] (the default). Granted, this option isn't documented outside of the schema/API anyway.

Code of Conduct

  • I agree to follow this project's Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions