This refactor command gives the capability to select an XML content and surround it with a given tag. To execute this command you can:
- use command palette (
Ctrl+P
) and typeSurround
- use contextual menu
If you prefer using keyboard to process Surround with Tags (Wrap)
,you need to associate this command with a keybinding. See Keyboard Shortcuts editor for more informations.
Similar to Surround with Tags (Wrap)
, you can comment out the selected XML content:
Similar to Surround with Tags (Wrap)
, you can surround the selected XML content with CDATA: