A quick post on SQL Prompt here. Someone is asking about the Prompt Actions menu. This is the menu that appears when you highlight code. I’ve got a quick animation of this working.
In the gif, I highlight code, click the Actions icon, and then I can add a BEGIN..END around my code. I also have a snippet that I use to surround code with comments.
Any snippet that has the $SELECTEDTEXT$ token in it is eligible for the Actions list.
Carly also has her own video on this on the Redgate Videos channel.
SQL Prompt is amazing, so give it a try today.