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

/give autocomplete issues #3709

Open
sprunk opened this issue Sep 12, 2024 · 0 comments
Open

/give autocomplete issues #3709

sprunk opened this issue Sep 12, 2024 · 0 comments
Labels
UI Everything related UI, GUI, widgets, etc.

Comments

@sprunk
Copy link
Collaborator

sprunk commented Sep 12, 2024

image

Right now it autocompletes the entire first phrase (in this case a<tab> results in armaak). This is terrible because it forces you to type out enough of the name to be unambiguous, which in case of BAR's extremely abbreviated unitnames is often the entire name (like here it's completely impossible to benefit from autocomplete for armaap and armaas). Even for units with relatively unique names you have to type the entire faction name.

Ideally it would only autocomplete the unambiguous part. So if you type a<tab> it becomes just arm (everything that starts with a also starts with arm).

  1. the set of suggestions is a bit inconsistent. If you do a<tab> it produces armaak and that's it, there aren't further suggestions and pressing tab again does nothing. But if you type the entire armaak manually it starts offering armaak_dead and a bunch of other options. BUT it doesn't seem to ever offer armaak_scav, only its wrecks.

image

  1. autocompleting a full name does not append a space, which is annoying because you cannot give any other valid follow-up than space. For example /gi| currently autocompletes to /give| but should result in /give | because if I were to type anything further then I would always have to add the space anyway (the | is the cursor). Applies to units too, up to the dead/scav caveat above, and of course other /commands.
@sprunk sprunk added the UI Everything related UI, GUI, widgets, etc. label Sep 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
UI Everything related UI, GUI, widgets, etc.
Projects
None yet
Development

No branches or pull requests

1 participant