Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Editor suggestions do not show for single matches #2674

Open
Cloud7050 opened this issue Sep 10, 2023 · 0 comments
Open

Editor suggestions do not show for single matches #2674

Cloud7050 opened this issue Sep 10, 2023 · 0 comments
Labels
Bug Something isn't working minor Less important than important, but more than nice-to-have

Comments

@Cloud7050
Copy link

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.

@Cloud7050 Cloud7050 added Bug Something isn't working minor Less important than important, but more than nice-to-have labels Sep 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something isn't working minor Less important than important, but more than nice-to-have
Projects
None yet
Development

No branches or pull requests

1 participant