-
Notifications
You must be signed in to change notification settings - Fork 0
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
[repl] Actions tab completion should work #143
Comments
What if for now I just make actions.registry not tab-completable, and make actions. give you something like actions.list(), that pretty prints them all |
It seems like anything that is in the python public-api should be tab completable if possible, whether they are methods or classes. Talon actions appear to be dynamically-registered function namespaces that are constructed separately from the python class structure and are meant to be called as talon commands, not via python scripts directly. Maybe the intended interaction from the repl is not self-evident. Under What if the registry was moved to |
I did my list() solution in the latest release. The repl is for experimentation, not really for documentation. In the future there will be a significantly better form of auto-documentation for stuff like actions that will also be easily accessible to people who aren't comfortable with Python.
The Small note, you can access e.g. |
fixed in beta v0.1.5-433 |
What happens:
Opening the repl and typing
talon.actions.<tab>
only tab-completestalon.actions.registry
.What should happen:
All of the actions should be listed, such as
talon.actions.key
andtalon.actions.insert
Motivation:
Actions are the building-blocks of talon files, and discovery is important to adoption.
The text was updated successfully, but these errors were encountered: