Skip to content
| Marketplace
Sign in
Visual Studio Code>Formatters>XML PasteNew to Visual Studio Code? Get it now.
XML Paste

XML Paste

Webucator

|
4,679 installs
| (0) | Free
Paste escaped XML or HTML into a file. It simply replaces angle brackets and ampersands with HTML entities.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

XML Paste

Paste escaped XML or HTML into a file. It simply replaces angle brackets and ampersands with HTML entities.

Features

There is not much to this extension. It simply makes the following replacements from the clipboard:

  • & to &
  • > to >
  • < to &lt;

Keyboard Shortcut

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"
}

Requirements

None

Extension Settings

None

Known Issues

None yet

Release Notes

Released.

0.0.1

Initial release of XML Paste

0.5.0

Added note on keyboard shortcut

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft