Surround With wraps selections with code specified in VA Snippets. The surrounding is available in several places in the UI of Visual Assist.
Surround With differs from Surround Selection, another feature of Visual Assist. Surround With provides complete control of inserted text whereas Surround Selection does not.
Access via Menu
Multiple menus provide access to the surrounding, including VAssistX in the menubar, Surround With in the VA Outline, and Surround With (VA) in the context menu of the text editor.
Create your own VA Snippets for Surround With or edit several VA Snippets required by the feature.
Access via Surrounding Character
Access is also available by selecting code in the text editor and typing a preassigned character. Your selection is wrapped instead of replaced. Assign the character in the definition of your VA Snippet for Surround With.