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

Exclude emotes from tab completion when using chat commands #5398

Open
4 tasks done
littlegamer87 opened this issue May 16, 2024 · 2 comments
Open
4 tasks done

Exclude emotes from tab completion when using chat commands #5398

littlegamer87 opened this issue May 16, 2024 · 2 comments
Labels
issue-report An issue reported by a user.

Comments

@littlegamer87
Copy link

Checklist

  • I'm reporting a problem with Chatterino
  • I've verified that I'm running the most recent nightly build or stable release
  • I've looked for my problem on the wiki
  • I've searched the issues and pull requests for similar looking reports

Describe your issue

As an example, the /timeout command
When using tab to complete username, it can complete to an emote. That has no valid purpose, so I would like to submit a bug report to exclude emotes from tab completion when using chat commands.

I know there are other methods for timing people out but my setup is designed for keyboard inputs. Thank you for considering, I think Chatterino is an excellent tool in my application.

Screenshots

No response

OS and Chatterino Version

2.5.1 on Windows 11

@littlegamer87 littlegamer87 added the issue-report An issue reported by a user. label May 16, 2024
@iProdigy
Copy link
Contributor

a bit more nuanced: emotes may be desired in other commands such as /announce

@dnsge
Copy link
Contributor

dnsge commented May 16, 2024

I think this ties into a larger "context-aware completion" feature that would be nice to have. I was thinking about this back when I overhauled how input completion works. For example, only completing usernames for /ban, /timeout (as the OP mentions), /usercard, etc.

It would be cool if this context-aware completion could automatically open the completion preview dialogue without the user having to type @. For example, you start typing /usercard and as soon as you type the space, it opens the completion dialogue with all recent usernames.

Having context-aware completion for commands may require a big overhaul though, because (if I remember correctly) all the command parsing happens at message send time. Providing different completion strategies based on command would require parsing the input box during typing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
issue-report An issue reported by a user.
Projects
None yet
Development

No branches or pull requests

3 participants