ctrl+shift+p filters: :st2 :st3 :win :osx :linux
Browse

Complete​Xml​Tag

by neothenil ST3

A sublime text plugin for completing xml tag.

Labels xml, formatting

Details

Installs

  • Total 1K
  • Win 955
  • Mac 218
  • Linux 227
Jan 26 Jan 25 Jan 24 Jan 23 Jan 22 Jan 21 Jan 20 Jan 19 Jan 18 Jan 17 Jan 16 Jan 15 Jan 14 Jan 13 Jan 12 Jan 11 Jan 10 Jan 9 Jan 8 Jan 7 Jan 6 Jan 5 Jan 4 Jan 3 Jan 2 Jan 1 Dec 31 Dec 30 Dec 29 Dec 28 Dec 27 Dec 26 Dec 25 Dec 24 Dec 23 Dec 22 Dec 21 Dec 20 Dec 19 Dec 18 Dec 17 Dec 16 Dec 15 Dec 14 Dec 13 Dec 12
Windows 0 3 5 5 9 1 1 5 2 4 3 2 5 1 0 1 6 5 6 1 3 0 2 3 3 0 1 2 0 1 2 0 0 2 2 1 2 2 2 5 4 4 3 0 3 3
Mac 0 0 1 0 1 0 0 1 0 0 0 0 2 0 0 0 0 0 0 0 0 0 0 2 0 1 0 0 0 0 1 0 0 0 2 0 0 0 0 0 1 0 1 0 1 2
Linux 0 0 0 2 1 0 0 2 0 1 1 0 1 0 0 1 0 2 2 2 3 1 2 1 1 0 1 1 0 1 0 3 0 0 1 0 1 1 1 0 0 1 1 2 0 1

Readme

Source
raw.​githubusercontent.​com

SublimeText XML tag completion plugin

This plugin is to convert the following XML file

<html>
<head></>
<body></>
</html>

to this:

<html>
<head></head>
<body></body>
</html>

It replaces </> with the corresponding tag name.

Installation

  • Package control: Use Package Control and search for “CompleteXmlTag”.
  • Manually: Go to Sublime Text → Preferences → Browse Packages and clone the repo to this directory and rename the repo folder to CompleteXmlTag.

Usage

  • Open the command pallette and type complete close tag.
  • Click Sublime Text → Selection → Format → Complete Close Tag.

Config

Not only the xml file can be formatted by this package, it also supports other XML-based file type. Just by modifying the settings file this way:

{
    "file_selectors": ["text.xml", "text.html"]
}

and the html file can also be formatted.

License

This software is distributed under MIT license (see License for details).