Skip to content

Editor suggestions do not show for single matches #2674

Open
@Cloud7050

Description

@Cloud7050

While typing a name in the Ace editor, suggestions automatically show up, providing the user with a navigable dropdown of potential name matches as well as the documentation for the currently selected name, if any.

For example, if I type in list, the following is displayed:

image

However, the moment the dropdown would have only one match left, the entire suggestions UI closes as if there are no matches. For example, if I finish typing list_ref, the documentation that was previously open automatically closes.

Similarly, once the suggestions have been closed, such as by moving the cursor away, then when trying to trigger them again with the keyboard shortcut Ctrl + Space, the suggestions will refuse to open if there is only one match.

This can be an annoying experience, as the suggestions are a convenient way to view useful documentation, especially now that support for module documentation has been added (where users may be unfamiliar with new modules' usage).

A workaround would be to delete the last character of the completed name in order to be able to trigger suggestions.

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugSomething isn't workingminorLess important than important, but more than nice-to-have

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions