Skip to content

Make default completer work on blank lines #923

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

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

ysthakur
Copy link
Member

The default completer currently doesn't show any suggestions if you hit tab without entering anything. This PR makes it show all suggestions when given either an empty line or a line that's all spaces. Not super important, but should help confuse new users less (#921 was opened by a user who thought completions weren't working because of this behavior).

Screenshot:

image

I also touched the surrounding code a teeny bit, but nothing major.

@ysthakur ysthakur added A-Completions Area: Tab completion and inline hint completions P-low Low Priority: Implementation would be nice to have but does not severely impact quality of life labels Jun 13, 2025
@ysthakur ysthakur linked an issue Jun 13, 2025 that may be closed by this pull request
@ysthakur ysthakur closed this Jun 13, 2025
@ysthakur ysthakur reopened this Jun 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-Completions Area: Tab completion and inline hint completions P-low Low Priority: Implementation would be nice to have but does not severely impact quality of life
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Default completer doesn't complete blank lines
1 participant