Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>TaggerNew to Visual Studio Code? Get it now.
Tagger

Tagger

Daniel Knights

|
494 installs
| (0) | Free
Enclose anything in HTML tags
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Tagger

Easily enclose any selection in HTML tags.

Just type shift+alt+, and enter your tag data in the prompt.

Follows the format tag#id.class|attr="value".

Supports multiple selections.


API

You can omit any value after tag, but existing tags must be in the correct order (id > class > attributes).

id:

Only one id is allowed per tag. Any # character in id, class or attributes is allowed and won't render another id.

class:

Classes can be chained:

div.class.another-class

Yields:

<div class="class another-class"></div>

Attributes:

Anything after the pipe character will be inserted as is:

div|anything can be added here

Yields:

<div anything can be added here></div>
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft