Skip to content

Suggest similarly named options #6

@PhilippWendler

Description

@PhilippWendler

When a user mistypes a configuration option, we could suggest other options that are named similarly to the unknown option.

We could use a string distance such as Levenshtein's one to find the option with the most similar name and display that one.

Guava might add a function for computing string distances (google/guava#1175), we could use this when it is actually in Guava.

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