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

How do I undo the 3 character limit before auto complete pops up? #1514

Open
Reaper176 opened this issue Dec 27, 2024 · 1 comment
Open

How do I undo the 3 character limit before auto complete pops up? #1514

Reaper176 opened this issue Dec 27, 2024 · 1 comment

Comments

@Reaper176
Copy link

Reaper176 commented Dec 27, 2024

I have several sets of autocomplete csv's that I would like to start showing suggestions on the first letter. This was not a problem until recently. Anyone know what I would need to change for this to go back to the way it was. Please and thank you.

I tried:
Changing:

if not name.startswith("<") and len(name.rstrip()) > 2:

back to

if not name.startswith("<") and len(name) > 2:

This did not look to have any effect.

@Reaper176 Reaper176 reopened this Dec 27, 2024
@Acly
Copy link
Owner

Acly commented Dec 27, 2024

It was always 3 characters. The only thing that changed was whether space is included when counting characters or not.

If you want to change it to 2 characters change the > 2 to a > 1

It introduces a noticeable delay for bigger tag collections because too many things are matched.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants