ADCode

Close tags automatically

Type the end of an opening tag and the closing one appears by itself. Type a closing bracket and it finishes the tag you still have open.

When you would want it

Forgetting to close a tag is the most common way HTML breaks, and the error it produces rarely points at the tag you forgot.

Where to find it

  • All Features → Close tags automatically
  • Settings → adcode.editing.autoCloseTags

How to use it, step by step

On by default in HTML, XML, JSX, and templates.

  1. Type >, and the closing tag is written for you with the cursor left between them.

Why this beats the usual way

Other editors give you this through a stack of extensions that each need installing, updating, and reconciling with each other - and half of them reset when a colleague opens the project. ADCode ships these behaviours in the box, on by default, identical on every machine that opens your folder, and each one is a single switch away if you disagree.

Find it in Universal Search

Close tags automatically · Editing