Good time of the day everyone,
Right now VAX can surround the selection with comments, brackets and what not.
What I would like to suggest is variable containing the text that was selected before we started typing and removed it.
Example:
// We've got this code selected:
performCleanUp();
shutDown();
Now what one would like to do is wrap this into if/else statement putting the text to the else case. We already have the snippet that does that but we need to open up the context menu and pick it from there to get it.
At the same time if we just continue typing having the above text selected, the text will be replaced with what we type and if we type
"if" the list of suggested snippets pops up.
Now I can much more quickly pick the right snippet and hit enter, VAX would recognize there was text removed in order to type the if and use it as "previous selection".
This way one could really quickly invoke snippets that surround selections:
Select the text, type snippet invocation string, accept the suggested snippet, enter - done.
Should save a lot of mouse/keyboard switching which is like a page fault in programming workflow :)