Skip to content

REPL: add wildcard to autocompletion #27337

Closed
@BridgeAR

Description

@BridgeAR

In most terminals it's possible to use an asterix (*) to indicate a wildcard search (as filter).

It would be great to add something like this to our REPL as well, e.g., using the current autocompletion with util.types.is*F results in the globals that start with an F. Instead, it would be great to print all is functions that start with is and that have an F somewhere in their name.

Using the asterix at the end should print everything as if it's not there (it currently prints nothing).

Metadata

Metadata

Assignees

No one assigned

    Labels

    feature requestIssues that request new features to be added to Node.js.replIssues and PRs related to the REPL subsystem.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions