Multiple Choice Dialogs #20
ttscoff
started this conversation in
Show and tell
Replies: 2 comments 1 reply
-
Nice feature! I like it. I was experimenting with the query dictionary and noticed an inconsistency in the documentation. The doc says the syntax is |
Beta Was this translation helpful? Give feedback.
0 replies
-
Oh, right, I changed that after writing the docs. I like the colon
separator, too, but I got concerned about dealing with cases where there
was a colon in the key the user wanted, and didn't want to get into
making the keys/values require quoting. So the old-school ruby-esque
`=>` seemed like a safe bet. Definitely still willing to reconsider,
though.
…On 13 Feb 2021, at 8:20, Geoff Taylor wrote:
Nice feature! I like it. I was experimenting with the query dictionary
and noticed an inconsistency in the documentation. The doc says the
syntax is `key => value`, but the example shows `key : value`. (I'm
partial to `key : value`, but I'll use it either way.)
--
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub:
#20 (comment)
|
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
The b70 update includes a new feature which allows you to create multiple-choice dialogs that can load different snippets or run different commands based on your selection. The syntax is very coder-ish, with arrays and dictionaries (or objects). I'm open to suggestions on the syntax before it gets nailed down.
Check out the docs for details.
Let me know how it works for you. Maybe this is a feature nobody needs, but I already modified my Coding.bunch to consolidate 3 different Bunches into one, which I think is kinda neato.
Beta Was this translation helpful? Give feedback.
All reactions