Skip to content

REPL: add wildcard to autocompletionΒ #27337

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).

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    feature requestIssues requesting new Node.js features.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