Will automatically add closing tags when you complete the opening tag.
This is forked from the Auto Close HTML package which is no longer being maintained.
File > Settings
apm install autoclose-html-plus
Under normal circumstances ending tags will be inserted on the same line for inline elements and with
\n\t\n in between for block elements. This is determined by attaching an element of the given type to the window and checking its calculated
You can use Force Inline and Force Block preferences to override this.
If you find a bug, please feel free to file an issue, and/or try fixing it yourself and submitting a PR.
Elements in this comma delimited list will render their closing tags on the same line, even if they are block by default. You can set this to "*" to force all closing tags to render inline.
Elements in this comma delimited list will render their closing tags after a tabbed line, even if they are inline by default. A value of "*" for Force Inline overrides all values in Force Block.
Elements in this comma delimited list should not render a closing tag
Will convert elements in Never Close list from
Enables the old style of completion detection using buffer events rather than keybindings. Atom doesn't work well currently with non-US/non-QWERTY keyboards and will not correctly fire events when '>' is pressed and/or fire events for entirely different keys. Please note that this mode is buggy (i.e. can complete after undo) and may not be compatible with new features and bug fixes in future releases, post-0.22.0 If/when the core issues behind keybindings not reporting correctly on international keyboards is solved this option will be removed.
<is present and the line is less than 10 below the zeroth line (thanks to UziTech)
Good catch. Let us know what about this package looks wrong to you, and we'll investigate right away.