Paste escaped XML or HTML into a file. It simply replaces angle brackets and ampersands with HTML entities.
There is not much to this extension. It simply makes the following replacements from the clipboard:
- & to &
- > to >
- < to <
Use the following to embed a xmlPaste shortcut in keybindings.json. Replace with your preferred key bindings.
{
"key": "ctrl+alt+p",
"command": "extension.xmlPaste",
"when": "editorFocus"
}
None
None
None yet
Released.
Initial release of XML Paste
Added note on keyboard shortcut