-
Notifications
You must be signed in to change notification settings - Fork 81
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
Tab completion #147
Comments
hey @piegamesde, I'd like to work on this task, if possible. I've already started working on an implementation here: a-moreira#1. It seems to be working fine, but I'm unsure how to deal with the nameplate completion. |
Many thanks, the code looks good so far. Please open a PR on this repository, you opened one on your fork instead (I assume by accident?). The nameplate completion is a bit more tricky, as it requires implementing some additional server API endpoint. You can give it a shot too if you want to but I'd be happy to merge the completion without the nameplates in the meantime. |
I opened there on purpose, still working on it. I will open the PR here soon :-) |
Btw before you waste effort on writing code that already exists: Have a look at Regarding the nameplate completion, I've considered it and decided that it's not worth the effort implementing because the UX improvement is really little and nobody uses the feature. Literally, I just tried using nameplate tab completion in the Python implementation for fun and straight up ran into an exception. |
@piegamesde OK! I'm not able to work on this for next month or so, but will be back to finish it. |
When asking for a code input, pressing tab should complete the word that is currently typed. At the moment, we are using the
dialoguer
crate for input. I don't know if they provide support for tab completion. Otherwise, I'd be fine with switching to a different implementation (different crate or a custom helper function).The text was updated successfully, but these errors were encountered: