Skip to content
| Marketplace
Sign in
Visual Studio Code>Programming Languages>Auto Close Tag DGNew to Visual Studio Code? Get it now.
Auto Close Tag DG

Auto Close Tag DG

TIN

|
28 installs
| (1) | Free
Automatically add closing tags for HTML/XML. Enhanced version with smart detection for nested elements and template literals.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Auto Close Tag DG

Automatically add closing tags for HTML and XML files.

Features

  • Auto close HTML/XML tags when typing </
  • Smart detection of self-closing tags
  • Configurable excluded tags list
  • Works with JSX and TSX files
  • Lightweight and fast

Usage

  1. Open any HTML or XML file
  2. Type </ — the extension will suggest the matching closing tag
  3. Press Enter to accept

Extension Settings

Setting Description Default
autoCloseTagDG.enable Enable/disable extension true
autoCloseTagDG.excludedTags Tags to exclude [area, base, br, col, embed, hr, img, input, link, meta, source, track, wbr]
autoCloseTagDG.workspaceReady Workspace status false

Requirements

  • VS Code 1.80.0 or higher

Known Issues

None at this time.

Release Notes

2.0.0

  • Initial release
  • Auto close tags for HTML and XML
  • Configurable excluded tags
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2026 Microsoft