Open stepbro-im-stuck-in-vim opened 2 years ago
This is an unintended behavior, do you see this happening with any of the other Global Variables or just Ask?
Okay so after some research. This appears to actually be an issue on Shortcuts end. The shortcuts app no longer supports asking for the value of a variable in the set action.
There are two steps forward for this:
var x = Ask
var x = Ask
into var x = “${Ask}
Which one do you think will be best?
What action is the issue?
Global Variable Ask: Setting a variable to Ask with syntax from online documentation.
Describe the bug
From online documentation the global variable Ask is shown to work with:
var answer = Ask
However when imported to Shortcuts variable answer is set to an empty input and no user-prompt is raised.The following syntax raises a prompt for text: ’var answer = ”${Ask}”
Similarly the syntax below behaves differently than seemingly intended by the online documentation ’ ”Hello ${Ask}” ’ As user is given a prompt to edit the whole string, not just the variable asked
Steps To Reproduce
the following code compiles without raising an error and can be imported to shortcuts
Information
Additional context
I just installed the aplication, so I can’t sure if the online documentation is simply unclear or outdated, or if this behaviour is unintended.
I’d also suggest adding more through-out explanation of global variables in the documentation inside the app, that explains the behaviour of them individually