Like Visual Studio does. Add `</tag>` when the user has wrote `<tag>` automatically. Thank you for your great project!