Comments
3 comments
-
Thanks for your post,
The current implementation of $SELECTEDTEXT$ only expands once per a line, I think your snippet is a good example of why we would want to expand it more than this though! I'll have a look into removing this restriction and should have a new build for you later today.
Thanks,
Aaron. -
We've just released a new build of Prompt (7.0.0.41) which should allow you to use multiple $SELECTEDTEXT$ placeholders on a single line. You can download the latest build from our website or through the check for updates dialog inside Prompt. Please let me know if this works as you'd expect.
Thanks,
Aaron. -
I've tried it and it now works as I had anticipated.
Thanks for you quick response
Add comment
Please sign in to leave a comment.
setup a new snippet
sum ( $SELECTEDTEXT$ ) as tot_$SELECTEDTEXT$
when it expands the $SELECTEDTEXT$ only expands the second time it appears
Example result
sum ( $SELECTEDTEXT$ ) as tot_Current_db